findOne-customer
Fetch single customer
Path Parameters
- clientId uuid required
client's Id, customer belongs from
- releaseId uuid required
release's Id
- customerId uuid required
customer's Id
Header Parameters
- x-api-key required
Responses
- 200
- 400
- 500
- application/json
- Example
{
"customer": {
"ipAddress": null,
"location": "lorem",
"createdAt": "19 Jul 2022 9:44:6",
"email": "example@test.com",
"verified": true,
"name": "lorem",
"clientId": "3ceccb95-0cd9-46c6-84db-571a55ba46e4",
"token": "ey...",
"role": "USER",
"accountType": "CRYPTO WALLET",
"accountAddress": "0xxx",
"pin": 1111,
"vip": false,
"customerId": "d036c54e-58b6-49e0-a19f-30df5d597d5c"
}
}
- application/json
- Example
{
"message": "customer not found"
}
- application/json
- Example
{
"message": "Error finding customer"
}