cancel_payment
Cancel a pending USDC payment using its payment ID. Stop a transaction before it finalizes, preventing unintended charges on Base.
Instructions
Cancel a payment only while still cancellable.
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": {
"payment_id": "<payment_id>"
},
"name": "cancel_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_id | Yes |