deletePaymentMethod
deletePaymentMethodPermanently removes a customer's saved payment method, preventing future auto-charges. Use only when the customer explicitly requests deletion.
Instructions
Permanently delete a payment method from a customer. DESTRUCTIVE — saved card/bank details will be removed; recurring auto-charges using this method will fail. Only call when the user explicitly says 'delete' for THIS payment method. Host enforces user confirmation via the approval gate; do NOT ask the user to re-confirm before calling.
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": {
"customerId": "<customerId>",
"paymentMethodId": "<paymentMethodId>"
},
"name": "deletePaymentMethod"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | The unique identifier (UUID) of the customer. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow | |
| paymentMethodId | Yes | The unique identifier (UUID) of the payment method to delete. |