List customers
Changed onGet a paginated list of customers with optional filtering
Request
- Base URLhttps://public-api.alternativepayments.io
- URLhttps://public-api.alternativepayments.io/customers
- AuthOAuth 2Client credentialsToken URL: /oauth/token scopes: customers:read
Query parameters
Number of items to return
Specifies the cursor after which to start returning results. For the first page, this should be left empty. For subsequent pages, use the value of the end_cursor field from the previous response.
Specifies the cursor before which to return results. Use this to paginate backwards. For example, to load the previous page, provide the value of the start_cursor field from the last response.
Filter by creation date start (RFC3339 format)
Filter by creation date end (RFC3339 format)
Filter by customer name
Comma-separated tag IDs (repeated tag_ids keys are also accepted), at most 100 distinct; returns customers that have any of these tags
Response
OK
Example response
{
"data": [
{
"tag_ids": [
"0b8f3c5e-6d2a-4f1b-9a7e-3c4d5e6f7a8b"
]
}
],
"end_cursor": "gaFpxBACEaXBVABEYbHG+X9LyLnH",
"has_next_page": true,
"start_cursor": "gaFpxBACEaXBVABEYbHG+X9LyLnH"
}Changes
- info
added the new optional
queryrequest parametertag_ids - info
added the non-success response with the status
- info
added the optional property
//to the response with the status
- info