v1

latestOpenAPI 3.0.02026-08-06363576.8 KB
Customer

Get a list of customers

Lists all customers. Requires a secret key.

get/customers/

Query parameters

page_sizeinteger

The number of items to return in the response. Default is 10, maximum is 1000. This parameter is optional, and if it is not present in the query string, no pagination is applied.

Response

Successful operation

OR

Example response

[
  {
    "first_name": "Jón",
    "last_name": "Jónsson",
    "email": "email@example.com",
    "phone": "+3545551234",
    "customer_reference": "1234",
    "id": 1,
    "payment_method": [
      {
        "verified": true,
        "valid_until": "2022-11-01T00:00:00Z",
        "display_info": "XXXX-XXXX-XXXX-2887 (MasterCard)"
      }
    ]
  }
]