customers

Retrieves a list of customers associated with the merchant account. Use this endpoint to view customer details relevant to your integration.

Results can be filtered by either the externalId or customerId properties in order to retrieve the details of a single customer using the unique externalId that was provided during customer creation. Other filtering and paging capabilities are not supported at this time.

get/customers

Request

  • Base URL
    https://sandbox.trustly.one/api/v1
  • URL
    https://sandbox.trustly.one/api/v1/customers
  • Auth
    HTTP basic

Query parameters

externalIdstring

The externalId that was passed when the Customer record was created.

customerIdstring

The identifier of the Customer to be retrieved.

Response

OK

Changes

    • warning

      deleted the header request parameter Authorization

    • info

      the endpoint scheme security HTTPBasic was added to the API

    • info

      api operation id get-customers removed and replaced with customers_get-customers