List customers
GEThttps://apis.<domain>/customers
Authorization: http
name: bearerTokentype: httpscheme: bearerin: headerdescription: Authorization Header: `Authorization: Bearer <user_token>`
List customers.
Authorization Action:
pay:customers:list
Request
Query Parameters
created number
email string
ending_before string
limit number
Possible values: >= 1
and <= 100
starting_after string
expand string[]
Specifies which fields in the response should be expanded.
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
data object[]required
has_more booleanrequired
{
"data": [
{
"address": {
"city": "string",
"country": "string",
"line1": "string",
"line2": "string",
"postal_code": "string",
"state": "string"
},
"delinquent": true,
"email": "string",
"name": "string",
"phone": "string",
"subscriptions": {},
"id": "string",
"created": 0
}
],
"has_more": true
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://apis.<domain>/customers' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'