Customers
Onboard, look up, and manage customer tiers
A customer is a person your organisation banks. Creating one BVN-verifies them and provisions a dedicated virtual account in the same request — see Accounts for everything that account can do.
Validate a BVN first
curl -X POST https://api.uverusbanking.com/api/v1/customers/validate-bvn \
-H "x-api-key: sk_sandbox_..." \
-H "Content-Type: application/json" \
-d '{ "bvn": "22222222222", "date_of_birth": "1990-01-01" }'{
"message": "BVN validated successfully",
"data": {
"firstName": "Lex",
"lastName": "Luthor",
"middleName": null,
"phoneNumber": "+2348012234678",
"dateOfBirth": "1990-01-01"
}
}A 409 here means the BVN is already registered to another customer —
check this before POST /customers, not after, so a bad BVN fails in one
cheap call instead of on customer creation.
Create a customer
curl -X POST https://api.uverusbanking.com/api/v1/customers \
-H "x-api-key: sk_sandbox_..." \
-H "Content-Type: application/json" \
-d '{
"email": "[email protected]",
"phone_number": "+2348012234678",
"date_of_birth": "1990-01-01",
"bvn": "22222222222",
"kyc_level": 1
}'{
"id": "c6b6b7b0-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
"email": "[email protected]",
"first_name": "Lex",
"last_name": "Luthor",
"kyc_level": 1,
"status": "ACTIVE",
"wallet": {
"account_number": "9012345678",
"account_name": "Lex Luthor",
"bank_name": "Budpay MFB",
"balance": "0.0000",
"currency": "NGN"
}
}When the wallet is null
If virtual account provisioning fails after the customer record is
created, the customer is still returned — wallet comes back null
instead. Check for that rather than assuming it is always present, and do
not create the customer again. Retry the wallet:
curl -X POST https://api.uverusbanking.com/api/v1/customers/c6b6b7b0-1a2b-4c3d-9e4f-5a6b7c8d9e0f/retry-wallet \
-H "x-api-key: sk_sandbox_..."Either way, a customer.wallet_created webhook
fires once the wallet exists, so you can wait for it instead of polling.
Duplicate customers
Creating a customer whose BVN, email or phone number is already registered
returns 409. The body tells you which customer it is, so you can use it
instead of failing:
{
"message": "Customer with this email or phone number already exists",
"existing_customer_id": "c6b6b7b0-1a2b-4c3d-9e4f-5a6b7c8d9e0f"
}existing_customer_id is left out when the matching BVN belongs to
something other than a customer.
Pass idempotencyKey to make retries of this specific call safe — a
repeated key returns the original result instead of erroring or creating
a duplicate.
Tiers and KYC levels
kyc_level (1, 2, or 3) determines a customer's transaction limits — see
GET /customers/:id/tier. A new customer starts wherever you set
kyc_level at creation (usually 1); raising it requires an upgrade
request with supporting documents:
- Tier 2 (
POST /customers/:id/upgrade-tier-2) — employment details, income, and a passport photograph. - Tier 3 (
POST /customers/:id/upgrade-tier-3) — a government ID and proof of address.
Both return immediately with the request accepted; check
GET /customers/:customerId/tier-upgrade-status for whether it was
approved.
With a sandbox API key, the Tier 2 upgrade accepts any NIN: it is not sent to the identity provider, so you can use a made-up one. With a live key the NIN is verified for real. See Environments.
Endpoints
| Method | Path | Permission needed |
|---|---|---|
POST | /customers | create |
POST | /customers/:id/retry-wallet | create |
POST | /customers/:id/sandbox/simulate-deposit | create (sandbox key only) |
GET | /customers | view |
GET | /customers/:id | view |
POST | /customers/:id/upgrade-tier-2 | update |
POST | /customers/:id/upgrade-tier-3 | update |
POST | /customers/validate-bvn | verify |
GET | /customers/:customerId/tier | view |
GET | /customers/:customerId/tier-upgrade-requests | view |
GET | /customers/:customerId/tier-upgrade-status | view |
Full request/response schemas, including every field on each body: API Reference.