curl --request GET \
--url https://api.paygentic.io/v0/customers \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"id": "<string>",
"object": "customer",
"consumerId": "<string>",
"merchantId": "<string>",
"paymentAuthorizationEnabled": true,
"authorizationToken": "<string>",
"authorizationExpiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organization": {
"id": "<string>",
"name": "<string>",
"billingEmail": "jsmith@example.com",
"phone": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>"
}
}
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
curl --request GET \
--url https://api.paygentic.io/v0/customers \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"id": "<string>",
"object": "customer",
"consumerId": "<string>",
"merchantId": "<string>",
"paymentAuthorizationEnabled": true,
"authorizationToken": "<string>",
"authorizationExpiresAt": "2023-11-07T05:31:56Z",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"organization": {
"id": "<string>",
"name": "<string>",
"billingEmail": "jsmith@example.com",
"phone": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zipCode": "<string>"
}
}
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the merchant organization to filter customers by
Number of customers to return
1 <= x <= 100
Number of customers to skip
x >= 0
List of customers retrieved successfully
The response is of type object
.