Skip to main content
GET
https://pay.chargily.net/test/api/v2
/
customers
/
{id}
Retrieve a customer
curl --request GET \
  --url https://pay.chargily.net/test/api/v2/customers/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "01hj0p5s3ygy2mx1czg2wzcc4x",
  "entity": "customer",
  "livemode": false,
  "name": "Hocine Saad",
  "email": null,
  "phone": null,
  "address": {
    "country": "Algeria",
    "state": "Tizi-Ouzou",
    "address": "123 Main Street"
  },
  "metadata": null,
  "created_at": 1702977791,
  "updated_at": 1702977791
}

Path parameters

id
string
The ID of the customer.

Returns

If a valid ID is provided, it returns a customer object.
{
  "id": "01hj0p5s3ygy2mx1czg2wzcc4x",
  "entity": "customer",
  "livemode": false,
  "name": "Hocine Saad",
  "email": null,
  "phone": null,
  "address": {
    "country": "Algeria",
    "state": "Tizi-Ouzou",
    "address": "123 Main Street"
  },
  "metadata": null,
  "created_at": 1702977791,
  "updated_at": 1702977791
}