Skip to main content
Every wallet and loan attaches to an active customer. This is the first flow you build. It mirrors the production sequence: dedup by phone, create if new, submit documents, activate.
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
Store customerId (read customerId || id — both appear in the wild).
3

Submit KYC documents

Upload documents to your own storage and pass URLs. identifiers carry structured IDs (national ID, TIN, etc.).
4

Activate

Response
Activation can require manual review. If it doesn’t return ACTIVE immediately, treat the customer as submitted and re-check before opening wallets or loans — don’t block your flow on it.

Next

Open a wallet

Now give your active customer stored value.

Originate a loan

Lend to your active customer.