Search customers
GEThttps://apis.<domain>/customers/search
Authorization: http
name: bearerTokentype: httpscheme: bearerin: headerdescription: Authorization Header: `Authorization: Bearer <user_token>`
Search customers.
Authorization Action:
pay:customers:list
Request
Query Parameters
query stringrequired
expand string[]
limit number
Possible values: >= 1
and <= 100
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
page string
A cursor for pagination across multiple pages of results.
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/search' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'