List customers
GET
/v4/customers
const url = 'https://console.orangepill.cloud/v4/customers?kyc_status=none&sortBy=createdAt&sortOrder=asc';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://console.orangepill.cloud/v4/customers?kyc_status=none&sortBy=createdAt&sortOrder=asc' \ --header 'Authorization: Bearer <token>'List customers with optional filters and pagination.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”primary_email
string format: email
Filter by primary email
phone
string
Filter by phone
kyc_status
string
Filter by KYC status
search
string
Search by name or identifier
limit
integer
Page size
offset
integer
Pagination offset
sortBy
string
Sort field
sortOrder
string
Sort order
Responses
Section titled “Responses”Default Response
Media typeapplication/json
object
data
required
object
customers
required
Array<object>
object
key
additional properties
limit
integer
offset
integer
total
required
integer
success
required
boolean
Example
{ "success": true}Default Response
Media typeapplication/json
object
details
Array
error
required
string
message
string
success
required
boolean
key
additional properties
any
Example
{ "success": false}