GET
/
v1
/
customers
/
{customer_id}
curl --request GET \
  --url https://api.sandbox.hit-pay.com/v1/customers/{customer_id} \
  --header 'X-BUSINESS-API-KEY: <x-business-api-key>'
{
  "id": "9b2ada28-be3c-47ab-883f-ba72e5d8305d",
  "name": "John Doe",
  "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": "2024-01-24T16:05:10+08:00",
  "updated_at": "2024-01-24T16:05:10+08:00"
}

Headers

X-BUSINESS-API-KEY
string
required

Path Parameters

customer_id
string
required

The Customer id

Response

201
application/json
201
id
string
required
name
string
required
birth_date
string
required
email
string
required
phone_number
string
required
address
object
required
gender
string
required
remark
string
required
phone_number_country_code
string
required
created_at
string
required
updated_at
string
required