@sumup/sdk
    Preparing search index...

    Class Customers

    API resource for the Customers endpoints.

    Customers represent payers in your integration. Create a customer with your own customer_id to associate their personal details and saved payment instruments with your business records.

    To save a card, create a checkout for that customer with purpose = SETUP_RECURRING_PAYMENT, then process it with the payer's consent and mandate details. See the tokenization guide.

    Use the Customers endpoints to create, retrieve, or update customer details and to list or deactivate saved payment instruments. For subsequent payments, process a new checkout with the saved instrument's token and its associated customer_id.

    Hierarchy

    • APIResource
      • Customers
    Index
    _client: SumUp
    • Parameters

      • query: QueryParams | undefined
      • names: Record<string, string>

      Returns QueryParams | undefined

    • Deactivates an identified card payment instrument resource for a customer.

      Parameters

      Returns Promise<void>