Invoice credits on a contract
admin_invoice_creditsInternal staff only. Sends an organization a Stripe invoice for credits at its Enterprise contract's prices, due in the contract's days to pay; the credits are added once it is paid and last the contract's months from then. A price in place of the contract's needs approvedBy: who approved it, in writing, and when. Call it without confirm first, put the sentence it answers with to the person, and call again with confirm: true only when they agree. Calling twice with confirm sends two invoices.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"organization": "<organization>",
"credits": "<credits>",
"confirm": "<confirm>"
},
"name": "admin_invoice_credits"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | true only once the person has agreed to the sentence the unconfirmed call answered with. | |
| credits | Yes | How many credits, a whole number of thousands. | |
| approvedBy | No | Who approved that price, in writing, and when. Required with it. | |
| organization | Yes | The organization's id or slug, as admin_find_organization returned it. | |
| approvedPricePerThousand | No | A price per 1,000 credits, in the currency's units, approved in place of the steps. Leave out to price on the steps. |