curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/customer/mobile-money \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Customers successfully retrieved.",
"data": [
{
"phone_number": "<string>",
"country_code": "GH, KE, NG (or ISO-3: GHA, KEN, NGA)",
"id": "<string>",
"network": "MPESA or MTN or AIRTEL or VODAFONE",
"customer_key": "<string>",
"account_name": "<string>",
"integrator": "<string>",
"first_name": "John",
"last_name": "Doe",
"date_of_birth": "1990-01-01",
"id_number": "123456789",
"id_type": "NATIONAL_ID",
"image": "<string>",
"email": "[email protected]"
}
]
}An integrator can use this endpoint to get all the customers who will be either receiving or sending money using mobile money.
curl --request GET \
--url https://sandbox-api.kotanipay.com/api/v3/customer/mobile-money \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Customers successfully retrieved.",
"data": [
{
"phone_number": "<string>",
"country_code": "GH, KE, NG (or ISO-3: GHA, KEN, NGA)",
"id": "<string>",
"network": "MPESA or MTN or AIRTEL or VODAFONE",
"customer_key": "<string>",
"account_name": "<string>",
"integrator": "<string>",
"first_name": "John",
"last_name": "Doe",
"date_of_birth": "1990-01-01",
"id_number": "123456789",
"id_type": "NATIONAL_ID",
"image": "<string>",
"email": "[email protected]"
}
]
}