All calls use a Bearer token from
/generate-token. On a 401, re-generate and retry once.Flow
1
Look up by phone (dedup)
Avoid creating duplicates — check if the customer already exists.If no customer matches, this returns
200 with an empty (null) body — treat that as new and continue to create. A populated 200 body is an existing record — reuse its customerId.2
Create (upsert) the customer
Response
customerId (read customerId || id — both appear in the wild).3
Submit KYC documents
identifiers carry structured IDs (national ID, TIN, etc.).4
Activate
Response
Next
Open a wallet
Now give your active customer stored value.
Originate a loan
Lend to your active customer.