Developer guide
API reference
  • API reference
    • Nothing Found
    Prerelease - hosted checkout API reference
    Authentication
    Customers
    Payment intents
    Payment methods
      Data definitions
        schema
        Card
        schema
        CardResponse
        schema
        PaymentMethodRequest
        schema
        PaymentMethodResponse
        schema
        ErrorMessage
        schema
        DetachPaymentMethodRequest
        schema
        DetachPaymentMethodResponse
        schema
        Mandate
        schema
        StandingInstructionType
        schema
        MandateStatus
      post
      Create a payment method
      post
      Detach a payment method
      get
      Get mandates for a payment method
      get
      Get mandate by ID
      delete
      Revoke a mandate
    Setup intents

DetachPaymentMethodRequest

Request to detach a payment method from a customer record.

customerId
string

The unique identifier for the customer record that identifies the customer in the Toast platform. The identifier is used to retrieve the payment cards saved to a customer’s profile.

{
  • "customerId": "string"
}