API Reference
A customer is a person or a company that is registered with HitPay. This endpoint allows you to retrieve a customer’s details.
cURL
curl --request GET \ --url https://api.sandbox.hit-pay.com/v1/customers/{customer_id} \ --header 'X-BUSINESS-API-KEY: <x-business-api-key>'
{ "id": "<string>", "name": "<string>", "birth_date": "<string>", "email": "<string>", "phone_number": "<string>", "address": { "city": "<string>", "state": "<string>", "street": "<string>", "postal_code": "<string>", "country": "<string>" }, "gender": "<string>", "remark": "<string>", "phone_number_country_code": "<string>", "created_at": "<string>", "updated_at": "<string>" }
"b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d"
The Customer id
201
Show child attributes
Was this page helpful?