Check whether an order was paid
check_orderCheck the state of an order from the link returned by create_business_card, update_business_card or print_design. Use it after the user says they have paid, or when they ask whether their order went through. The result's state is one of: none (the user has not started checkout), started (checkout was opened but nothing is paid yet), paid (paid and in production), refunded (paid and later refunded), canceled (canceled before it was paid), failed (the payment did not go through), or unknown (the link does not match any proof). The order is complete only when the state is paid. Once an order exists the result also gives statusUrl, the user's own page for following that order, which you can pass on to them.
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": {
"order": "<order>"
},
"name": "check_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | The order link returned by create_business_card, update_business_card or print_design, or the id inside it. |