Customers
Get All Customers
Guides
API References
- Payment Request
- Recurring Billing
- Charges
- Payout
- Account
- Orders
- Products
- Product Category
- Customers
- Staffs
- Invoice
- Webhook Events
- Notifications
- Terminal
Customers
Get All Customers
This endpoint allows you to retrieve all customers
GET
/
v1
/
customers
Copy
curl --request GET \
--url https://api.sandbox.hit-pay.com/v1/customers \
--header 'X-BUSINESS-API-KEY: <x-business-api-key>'
Copy
{
"data": [
{
"id": "<string>",
"name": "<string>",
"birth_date": "<string>",
"gender": "<string>",
"email": "<string>",
"phone_number": "<string>",
"address": {
"city": "<string>",
"state": "<string>",
"street": "<string>",
"postal_code": "<string>",
"country": "<string>"
},
"remark": "<string>",
"phone_number_country_code": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"links": {
"first": "<any>",
"last": "<any>",
"prev": "<any>",
"next": "<string>"
},
"meta": {
"path": "<string>",
"per_page": 123,
"next_cursor": "<string>",
"prev_cursor": "<any>"
}
}
Headers
Response
200 - application/json
Was this page helpful?
Copy
curl --request GET \
--url https://api.sandbox.hit-pay.com/v1/customers \
--header 'X-BUSINESS-API-KEY: <x-business-api-key>'
Copy
{
"data": [
{
"id": "<string>",
"name": "<string>",
"birth_date": "<string>",
"gender": "<string>",
"email": "<string>",
"phone_number": "<string>",
"address": {
"city": "<string>",
"state": "<string>",
"street": "<string>",
"postal_code": "<string>",
"country": "<string>"
},
"remark": "<string>",
"phone_number_country_code": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
],
"links": {
"first": "<any>",
"last": "<any>",
"prev": "<any>",
"next": "<string>"
},
"meta": {
"path": "<string>",
"per_page": 123,
"next_cursor": "<string>",
"prev_cursor": "<any>"
}
}