Check payment
check_paymentThe payment state of the order (unpaid, pending, paid), its last attempt and the next step. After a failed or cancelled payment the cart is open again and place_order starts a new attempt. Needs the order reference from start_order (Authorization: Bearer mo1_… or the ref argument).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "check_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Order reference (mo1_…) from start_order, only when the client cannot send it as Authorization: Bearer |