Check purchase status
check_purchaseCheck a purchase status with purchase_id and status_token: check if ready, pending, or requires retry. Use recovery data to resolve mismatches and avoid duplicate payment.
Instructions
Free, even after payment expiry; submits no payment. Pending: poll after retry_after_seconds (not a deadline). Ready: use fulfillment; orders need completion. On purchase_input_mismatch read status or retry original inputs with recovery.original_door and recovery.original_path. Keep status_token private; do not pay again.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"purchase_id": "0000000000000000000000000000000000000000000000000000000000000000",
"status_token": "0000000000000000000000000000000000000000000000000000000000000000"
},
"name": "check_purchase"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purchase_id | Yes | The recovery.purchase_id from your purchase response. | |
| status_token | Yes | The private recovery.status_token from the purchase response. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | No | ||
| charged | No | ||
| request | No | The full original request. | |
| fulfillment | No | Recovered purchase response, when available. | |
| next_action | No | ||
| purchase_id | No | The original purchase identifier. | |
| payment_state | No | The recorded payment outcome. | |
| delivery_state | No | Whether the good is delivered, a human order exists, or delivery is not yet established. | |
| recovery_state | No | Recovery readiness, separate from payment and human-work completion. | |
| retry_after_seconds | No | Suggested delay before another free status read while recovery is pending; not a delivery deadline. Null when no recovery poll is advised. | |
| settlement_attempted | No | This status read never submits payment. |