curl https://api.playto.so/v1/customers/ \
-H "X-API-KEY: sk_live_your_api_key_here"
curl "https://api.playto.so/v1/customers/?email=jane@acme.com" \
-H "X-API-KEY: sk_live_your_api_key_here"
{
"data": [
{
"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
"name": "Jane Smith",
"email": "jane@acme.com",
"phone": "+1 555 000 1234",
"created_at": "2024-05-01T10:00:00Z"
},
{
"id": "f6a7b8c9-d0e1-2345-fabc-456789012345",
"name": "Tom Lee",
"email": "tom@startup.io",
"phone": "",
"created_at": "2024-04-20T09:00:00Z"
}
],
"pagination": {
"limit": 50,
"offset": 0,
"total": 2,
"has_more": false
}
}
Customers
List Customers
Retrieve all customers associated with your merchant account.
GET
/
customers
/
curl https://api.playto.so/v1/customers/ \
-H "X-API-KEY: sk_live_your_api_key_here"
curl "https://api.playto.so/v1/customers/?email=jane@acme.com" \
-H "X-API-KEY: sk_live_your_api_key_here"
{
"data": [
{
"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
"name": "Jane Smith",
"email": "jane@acme.com",
"phone": "+1 555 000 1234",
"created_at": "2024-05-01T10:00:00Z"
},
{
"id": "f6a7b8c9-d0e1-2345-fabc-456789012345",
"name": "Tom Lee",
"email": "tom@startup.io",
"phone": "",
"created_at": "2024-04-20T09:00:00Z"
}
],
"pagination": {
"limit": 50,
"offset": 0,
"total": 2,
"has_more": false
}
}
Authentication
RequiresX-API-KEY header.
Query Parameters
Response
Returns a paginated envelope containing a list of customers.Pagination (List View)
Customer Object
curl https://api.playto.so/v1/customers/ \
-H "X-API-KEY: sk_live_your_api_key_here"
curl "https://api.playto.so/v1/customers/?email=jane@acme.com" \
-H "X-API-KEY: sk_live_your_api_key_here"
{
"data": [
{
"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
"name": "Jane Smith",
"email": "jane@acme.com",
"phone": "+1 555 000 1234",
"created_at": "2024-05-01T10:00:00Z"
},
{
"id": "f6a7b8c9-d0e1-2345-fabc-456789012345",
"name": "Tom Lee",
"email": "tom@startup.io",
"phone": "",
"created_at": "2024-04-20T09:00:00Z"
}
],
"pagination": {
"limit": 50,
"offset": 0,
"total": 2,
"has_more": false
}
}
