Cancel order
cancel_orderCancel an unpaid order the person decided not to pay. Do not cancel after the payment was sent.
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_id": "<order_id>",
"order_token": "<order_token>"
},
"name": "cancel_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order_id | Yes | order_id returned by create_order | |
| order_token | Yes | order_token returned by create_order |