cURL
curl --request GET \ --url https://api.sandbox.busha.so/v1/customers \ --header 'Authorization: Bearer <token>'
200
example
{ "status": "success", "message": "message for success", "pagination": { "next_cursor": "MjAyNC0xMC0xNVQxMTowNTo1My45NTkxNDErMDE6MDA=", "current_entries_size": 20, "previous_cursor": "MjAyNC0xMC0xNVQxMDowNTo1My45NTIxQjE3MDE6MDA=" }, "data": [ { "first_name": "John", "middle_name": "John", "last_name": "John", "id": "bus_123456789", "business_id": "bus_123456789", "email": "bCnW7@example.com", "status": "active", "country_id": "NG", "type": "individual", "phone": "+234 8012345678", "address": { "city": "Lekki", "state": "Lagos", "county": "Mombasa", "country_id": "NG", "address_line_1": "RT Lawal", "address_line_2": "", "province": "province", "postal_code": "12345" }, "display_currency": "BTC", "deposit": true, "payout": true, "has_accepted_terms_of_service": true, "rejection_reasons": [ "<string>" ], "requirements_due": [ "<string>" ], "future_requirements_due": [ "<string>" ], "beneficial_owners": [ { "id": "<string>", "email": "bCnW7@example.com" } ], "level": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ]}
List all customers in created for the business
Bearer Authentication
User profile header
"BUS_YOK8tp5Zga01qOKEsqp07"
The cursor
The number of items to return
10
Customer List Response
General response Values
Show child attributes
success
error
"success"
"message for success"