Uverus Banking

Environments

How Live and Sandbox work, what Sandbox simulates, and how to test with it

Every organisation has two environments: Live (real customers, real money) and Sandbox (test data, nothing real moves). They are not separate hosts — you use the same base URL for both:

https://api.uverusbanking.com/api/v1

Your API key picks the environment

The key you send in x-api-key decides everything. A sk_sandbox_… key reads and writes sandbox data; a sk_live_… key reads and writes live data. There is nothing else to configure, and no header or query parameter to switch with.

# Sandbox
curl https://api.uverusbanking.com/api/v1/customers \
  -H "x-api-key: sk_sandbox_..."

# Live — same URL, different key
curl https://api.uverusbanking.com/api/v1/customers \
  -H "x-api-key: sk_live_..."

Create keys in the dashboard under Settings → API keys; the Environment dropdown in the create dialog decides which kind you get. The full key is shown once, when it is created. See Authentication for the key format and error responses.

The two environments never see each other's data. A customer, wallet or transaction created with a sandbox key does not exist for a live key, and the other way round.

The Live / Sandbox switch in the dashboard header only changes what your staff see on screen. It does not change which environment an API key talks to.

What Sandbox simulates

Sandbox never contacts a real bank or identity provider, so it works for any organisation without provider credentials.

AreaIn Sandbox
BVN checksAny BVN is accepted and returns a made-up identity.
NIN checksAny NIN is accepted on a Tier 2 upgrade and is never sent to the identity provider.
Virtual accountsA fake account is created for the customer's wallet.
Bank listA short fixed list: GTBank (058), Access (044), First Bank (011), Zenith (057) and UBA (033).
TransfersSucceed immediately as long as the wallet has enough balance. No money leaves anywhere, and a transfer never fails for a provider reason.
WebhooksDelivered to your sandbox webhook URL only. See Webhooks.

Because transfers always succeed in Sandbox, you cannot reproduce a failed or delayed payout there. Build your handling of transfer.failed and transfer.pending from the event payloads and test it by sending yourself those payloads.

Put money in a sandbox wallet

A new sandbox wallet starts empty and there is no real bank to fund it from, so credit it directly:

curl -X POST https://api.uverusbanking.com/api/v1/customers/c6b6b7b0-1a2b-4c3d-9e4f-5a6b7c8d9e0f/sandbox/simulate-deposit \
  -H "x-api-key: sk_sandbox_..." \
  -H "Content-Type: application/json" \
  -d '{ "amount": 50000 }'
{
  "status": "success",
  "message": "Simulated deposit credited",
  "data": {
    "reference": "SIM-1759312800000-ab12cd34",
    "amount": 50000,
    "wallet_id": "9f8e7d6c-5b4a-3928-1716-0f0e0d0c0b0a"
  }
}

This fires the same wallet credit webhook a real deposit would. It needs the permission to create customers. It returns 403 with a live key and 400 if the customer has no active sandbox wallet.

Going live

  1. Swap sk_sandbox_… for a sk_live_… key in your production configuration. No code changes — the flow that worked in Sandbox is the same against Live.
  2. Set a live webhook URL under Settings → Webhooks. It is separate from your sandbox URL, and so is its signing secret.
  3. Keep the live key out of client-side code, logs and version control.

Endpoints

MethodPathPermission needed
POST/customers/:id/sandbox/simulate-depositcreate customer (sandbox key only)

On this page