Skip to content

Customers

The people paying your orders and invoices. Find a customer by its token.

List customers

Request

Returns your customers, newest first. Cursor-paginated.

Security
ClientKey and SecretKey
Query
limitinteger, [ 1 .. 100 ]

How many records to return, 1–100.

Default:10
starting_afterstring

Return records after this one. Pass the token of the last record on the previous page to walk forward.

ending_beforestring

Return records before this one, to walk backward. Pass the token of the first record on the page you have.

emailstring, (email)

Filter to the customer with this email.

is_activeboolean
curl -i -X GET \
  'https://docs.dimepay.net/_mock/apis/v2/dime-v2/customers?limit=10&starting_after=string&ending_before=string&email=user%40example.com&is_active=true' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'X-Dime-Client: YOUR_API_KEY_HERE'

Responses

A page of customers.

Bodyapplication/json
objectstringrequired
Example:"list"
Value:"list"
dataArray of objects(Customer)required
has_morebooleanrequired
Example:true
Response
{ "object": "list", "data": [ { … } ], "has_more": false }