payment_method_id with list_payment_methods; to add a replacement later, use setup_payment_method.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
payment_method_id | string | Yes | The payment method ID to remove, like pm_xxx. |
Returns
A confirmation that the payment method was removed, echoing thepaymentMethodId with status: "removed". Removal is permanent, so the card would need to be saved again with setup_payment_method if the user wants it back.