Get billing order
get_billing_orderRead the original order's current payment and credit fulfillment status. Check this before retrying an uncertain purchase. Paid pending fulfillment means payment settled but credits are not yet confirmed. This read never collects money or grants credits.
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>"
},
"name": "get_billing_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |