Requests the deletion of a stored payment method from a customer record.
If the payment method has no active mandates, the payment method is permanently deleted and cannot be reattached.
If the payment method has active mandates, the payment method is not deleted. The usage is set to
OFF_SESSION, so the payment method can only be used for merchant-initiated transactions.
Request processed. The payment method was either deleted (no active mandates associated) or retained with the usage value set to OFF_SESSION (active mandates associated).
Your Toast API client does not have permission to detach the saved payment method.
The specified saved payment method was not found.
Internal server error.
{- "customerId": "string"
}{- "id": "string",
- "type": "string",
- "card": {
- "lastFour": "string",
- "expiry": {
- "month": "string",
- "year": "string"
}, - "type": "VISA"
}
}