Remove a payment method
remove_payment_methodIRREVERSIBLE: Remove a payment method
Removes a stored card or other payment method from your account. This cannot be undone: to use it again, add the card again in the dashboard. Refused with 400 for your default method and for your only method; make another one the default with set_default_payment_method first. paymentMethodId is an id from list_payment_methods.
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": {
"paymentMethodId": "<paymentMethodId>"
},
"name": "remove_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Leave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value. | |
| paymentMethodId | Yes | `id` from `GET /billing/payment-methods`. |