API Reference
Get Customer [GET]

Get Customer

https://sandboxapi.bitnob.co/api/v1/customers/{customer_id} (opens in a new tab)

Getting a customer data.


Path Parameters

ParametertypeRequired
customer_idstring

Request

Customers/Get Customer [GET]
curl --request GET \
     --url https://sandboxapi.bitnob.co/api/v1/customers/customer_id \
     --header 'Authorization: Bearer  API_KEY' \
     --header 'accept: application/json'

Responses

🟢 200 - Result example
{
"status": true,
"message": "successfully fetched customer",
"data": {
  "id": "4bf15cb3-97a6-4072-9683-aa3c6d7233df",
  "createdAt": "2023-08-15T14:20:45.746Z",
  "updatedAt": "2023-08-15T14:20:45.746Z",
  "firstName": null,
  "lastName": null,
  "email": "customerEmail@mail.com",
  "phone": null,
  "countryCode": null,
  "blacklist": false
  }
}