get
https://dev.fintavapay.com/api/dev/customers/
This endpoint helps you get the details of a specific customer. The only parameter needed for this operation is the customer ID. You can get the customer ID by running the Get customer list endpoint.
Where do you find your customerId?
To find a customerId simply run the Get customer list endpoint. In that response, the ID within the userInfo object is the customerId. See an example below. Here's a sample of what you're looking for. ecca57f9-a1be-4463-a719-937ef287fb78.
{
"data": {
"userInfo": {
"firstName": "john",
"lastName": "ugochukwu",
"phoneNumber": "08030135863",
"roles": [
"USER"
],
"userType": "CUSTOMER",
"address": "lugbe,abuja",
"bvn": "21000000003",
"dateOfBirth": "1992-05-17",
"id": "ecca57f9-a1be-4463-a719-937ef287fb78",
"createdAt": "2023-10-08T15:51:30.312Z",
"updatedAt": "2023-10-08T15:51:30.312Z"
},
"wallet": {
"id": "0b134510-c981-40f9-a0a9-983ab22544e1",
"accountNumber": "1109854154",
"accountName": "john ugochukwu",
"isFrozen": false,
"status": "active",
"fundMethod": "STATIC_FUND"
}
},
"status": 200,
"message": "successful"
}