Quote credit purchase
create_billing_orderPrepare a one-time credit quote for an eligible active USD subscriber, without paying or generating. Use a fresh UUID for a new quote and reuse it for quote retries. Show seller, beneficiary team, credits, total, currency, taxes, fees, expiry and refund terms before asking approval. Existing accounts and credentials have billing access off until explicitly enabled in VideoGen.
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": {
"orderId": "<orderId>",
"credits": "<credits>"
},
"name": "create_billing_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credits | Yes | ||
| orderId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | Payment and credit fulfillment state. | |
| seller | No | Seller of record. | |
| teamId | No | Beneficiary team id. | |
| credits | No | Credits purchased by this order. | |
| orderId | Yes | Client-generated order UUID. | |
| currency | No | Order currency. | |
| revision | Yes | Quote revision to approve when completing. | |
| taxMinor | No | Tax in minor units. | |
| teamName | No | Beneficiary team name. | |
| expiresAt | No | Quote expiry in Unix seconds. | |
| feesMinor | No | Fees in minor units. | |
| receiptUrl | No | Receipt URL once paid. | |
| totalMinor | No | Total to approve, in minor units. | |
| refundTerms | No | Refund terms to show before approval. | |
| refundStatus | No | Refund request status, separate from the payment state. | |
| discountMinor | No | Discount in minor units. | |
| retryGuidance | No | How to safely resolve or retry this order. | |
| subtotalMinor | No | Subtotal in minor units. | |
| verificationUrl | No | Secure verification continuation for the purchaser, when required. |