Delete a payment
delete_paymentDelete an unpaid payment to disable its payment link; paid payments cannot be deleted. Confirm first because this cannot be undone.
Instructions
Delete a payment that is not paid, so its link can no longer be paid. A paid (SUCCEEDED) payment cannot be deleted. This cannot be undone: confirm with the user first.
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": "delete_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The payment id, as create_payment_link or list_payments returned it. |