Cancel checkout
cancel_checkoutUse this to invalidate an unused confirmation so pay_and_access cannot spend it. Use get_checkout_status to read the state first. Required input: confirmation from prepare_checkout. Returns the cancelled checkout. It cannot cancel a payment that has already settled.
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": {
"confirmation": "<confirmation>"
},
"name": "cancel_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirmation | Yes | Required. Unused single-use confirmation from prepare_checkout. |