Deletes a stored payment method from a customer record. Detaching a payment method is permanent and the payment method cannot be reattached to the customer record.
Successful operation. The payment method was deleted (no active mandates associated) or retained with the usage value set to OFF_SESSION (active mandates associated).
Invalid request or payment method access validation failed.
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": {
- "firstSix": "string",
- "lastFour": "string",
- "expiry": {
- "month": "03",
- "year": "string"
}, - "brand": "VISA",
- "fingerprint": "0cb6dabd-f8f1-4f78-8cce-283e96dd3637",
- "funding": "DEBIT"
}
}