Get All Customers
This method is called to retrieve a list of all customers created by the fintech partner.
HTTP Method : GET
API Endpoint : {{baseurl}}/api/v1/customer
Sample cURL Request
curl --location --globoff '{{base_url}}/api/v1/customer' \
--header 'Authorization: Bearer eyJidXNpbmVzc0lEIjoiODJhNzgxMGEtZmJjZS00MzgwLTg5NjgtMmYxNmEzNWNjYWRlIiwidXNlcklEIjoiNWIwY2NlMDAtZGQzMy00MTQwLThiMTQtOTM0NDQwZjM3NjY4Iiwia2V5IjoiZm93b3NlcmUifQ=='
Response
{
"status": 200,
"data": [
{
"id": "9d83e3fc-0c8f-4d4d-b465-e505cd0fa19a",
"customer_name": "lala lala",
"mobile_number": "09090909011",
"email": "[email protected]",
"created_at": "2022-08-01T10:57:46.699043Z",
"updated_at": {
"Time": "0001-01-01T00:00:00Z",
"Valid": false
},
"channel": "api",
"reference": "ref12345",
"api_yield_offering_id": "42ee80d8-2a95-419c-aad1-5643d306948e"
},
{
"id": "9f40fb69-64e3-4d23-853a-0243af155427",
"customer_name": "LALA",
"mobile_number": "09090909099",
"email": "[email protected]",
"created_at": "2022-06-20T23:29:11.832245Z",
"updated_at": {
"Time": "0001-01-01T00:00:00Z",
"Valid": false
},
"channel": "api",
"reference": "ref12459",
"api_yield_offering_id": "42ee80d8-2a95-419c-aad1-5643d306948e"
},
{
"id": "62fa5415-d7c0-4648-8e08-600a90bc95c9",
"customer_name": "LALA",
"mobile_number": "09090909090",
"email": "[email protected]",
"created_at": "2022-06-16T08:59:29.088953Z",
"updated_at": {
"Time": "0001-01-01T00:00:00Z",
"Valid": false
},
"channel": "api",
"reference": "asd",
"api_yield_offering_id": "42ee80d8-2a95-419c-aad1-5643d306948e"
}
],
"message": "Fetched customer successfully!",
"error": null
}
Updated over 1 year ago