Detach Payment Method
detach_payment_methodRemove a payment method from a customer's account. Disassociate it to update billing and payment options.
Instructions
Detach a payment method from its customer.
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_method_id": "<payment_method_id>"
},
"name": "detach_payment_method"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_method_id | Yes | Payment method ID (pm_...) | |
| idempotency_key | No | Optional idempotency key for safe retries |