Complete approved credit purchase
complete_billing_orderSensitive write: pay only this exact quoted order after explicit approval of its complete terms. Requires a compatible wallet supplying a scoped credential through secure request metadata. Never ask the user to paste payment credentials or put them in arguments. Reuse the original order, revision and idempotency key after an uncertain outcome. A paid result is separate from fulfilled credits. No recurring subscriptions.
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>",
"revision": "<revision>",
"idempotencyKey": "<idempotencyKey>"
},
"name": "complete_billing_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| orderId | Yes | ||
| revision | Yes | ||
| idempotencyKey | 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. |