Uverus Banking

Treasury

Collect money from customer wallets into your own settlement wallet

Some money only exists in your own books — for example rent your platform collected outside Uverus. To pay it out through Uverus, it first has to become a balance Uverus holds. Collect moves it from a customer's wallet into a settlement wallet that your organisation owns.

This is a pure ledger move. No bank, no provider and no real transfer is involved, so it takes effect immediately.

Collect from a customer

curl -X POST https://api.uverusbanking.com/api/v1/treasury/collect \
  -H "x-api-key: sk_sandbox_..." \
  -H "Content-Type: application/json" \
  -d '{
    "customerId": "c6b6b7b0-1a2b-4c3d-9e4f-5a6b7c8d9e0f",
    "amount": 5000,
    "narration": "October rent"
  }'
{
  "status": "success",
  "message": "Collected into settlement wallet",
  "data": {
    "reference": "COLLECT-1759312800000-ab12cd34e",
    "amount": 5000,
    "settlement_wallet_id": "9f8e7d6c-5b4a-3928-1716-0f0e0d0c0b0a"
  }
}
FieldRequiredNotes
customerIdyesThe customer to debit. Must belong to your organisation.
amountyesAt least 1.
narrationnoShown on both sides of the move. Defaults to "Settlement collection".

The customer's wallet is debited and the settlement wallet credited in the same call. Customers must have an active wallet in the key's environment.

Your settlement wallet

You do not create it. The first collect creates a settlement wallet for your organisation, and there is one per environment — sandbox collections go into your sandbox settlement wallet and never touch the live one.

To see its balance and history, open Wallets in the dashboard: the settlement wallet is labelled Settlement, and View activity lists every collection with the customer it came from.

Failure modes

StatusMeaning
400The customer has no active wallet, or their balance is too low.
404No customer with that customerId in your organisation.

What it does not do yet

  • Money only goes in. There is no API yet to move money out of the settlement wallet — to an external bank account or back to a customer wallet.
  • No idempotency key. Each call creates a new collection with its own reference. If a request times out, look the wallet's activity up in the dashboard before retrying, or you may collect twice.

Endpoints

MethodPathPermission needed
POST/treasury/collectmake transfer

Full request/response schema: API Reference.

On this page