payment_intent_cancel
Cancel a payment intent by ID to prevent further processing; optionally provide a cancellation reason or act on a sub-account.
Instructions
Cancel a payment intent.
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": {
"id": "<id>"
},
"name": "payment_intent_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Payment intent ID | |
| on_behalf_of | No | Sub-account ID to act on behalf of. Pass the short account ID (e.g. "CB4488338944") to operate on a sub-account; omit to operate on the master account. | |
| cancellation_reason | No | Reason for cancellation |