Money movement

Transfer between wallets

POST/v1/transfers

Moves money between two wallets in your business, instantly. The sending wallet pays the UGX 200 transfer fee on top of the amount, plus any fee you add for yourself.

Permissiontransfers:write

Headers#

Idempotency-Keystringheader

8–80 letters, digits, - or _. Lets you retry safely: the same key and body return the first answer and never move money twice. See Idempotency.

Body#

JSON, with Content-Type: application/json.

from_wallet_idstringrequired

The wallet to take the money from.

to_wallet_idstringrequired

The wallet to put it in.

amountintegerrequired

Whole UGX, from 1 to 50,000,000.

referencestringrequired

Your own unique reference, 8–36 characters, such as your order id. Using it twice returns 409 DUPLICATE_REFERENCE.

feeinteger

Your own fee, charged to the sender on top of amount. For example, a 1% fee on a peer-to-peer transfer.

fee_wallet_idstring

Where your fee goes. Defaults to the sender’s main wallet.

descriptionstring

Up to 100 characters. Shown in your dashboard.

metadataobject

Up to 20 keys of your own, with simple values. Returned on the object and in webhooks.

Returns#

The sender’s transfer_out transaction, already success. fee is the transfer fee and merchant_fee your own fee; net is the total taken from the sender. The receiver gets a matching transfer_in, and your fee wallet a fee_in.

Errors#

StatusCodeWhen
402INSUFFICIENT_FUNDSThe sender can’t cover the amount and fees.
409DUPLICATE_REFERENCEYou already used this reference.
422MODE_MISMATCHOne wallet is test and the other live.

The common codes, such as UNAUTHENTICATED and RATE_LIMITED, can come from any endpoint. See Errors.