Get started

Welcome

Collect payments and send payouts in Rwanda and Uganda with one API. Build in test mode, then go live.

InversePay takes payments from mobile money wallets and sends money to wallets and bank accounts. A payment in RWF and one in UGX are the same request: only the currency and the phone number change. Start with the Quickstart, or pick what you are building below.

Your country

Choose Rwanda or Uganda in the header (in the menu on a phone) and every sample on the site follows.

Facts for Rwanda
Rwanda
CurrencyRWF (country_code RW)
Phone format250788123456. Also accepted: 0788123456, +250788123456.
NetworksMTN or Airtel
CollectMTN and Airtel mobile money
Pay outMTN and Airtel mobile money, Bank account. A bank payout needs a bank_code from GET /payout-banks?country_code=RW.
AmountsWhole francs: amount_minor a multiple of 100. 5,000 RWF is 500000.
Test numbersYes, for payouts: +250788000001 to +250788000005 force an outcome.

Get started

Accept payments

Send money

Developer tools

Base URL and keys

Every request goes to one base URL, in test mode and live:

https://api.inversepay.app/api/b/v1

Send your secret key as a bearer token:

Authorization: Bearer sk_test_...

The key decides the mode. A sk_test_ key is test mode and moves no real money; a sk_live_ key is live. See Authentication.

Three rules

Amounts are in minor units. 5,000 RWF is 500000, and 50,000 UGX is 5000000. No field takes a decimal amount.

Writes take an idempotency key. Send an Idempotency-Key header. Retrying with the same key returns the original object instead of creating a second one, so a retry after a timeout is always safe.

Test and live are kept apart. A test key cannot see live data, and a live key cannot see test data. That includes idempotency keys, so references you used while building never collide with real ones.

On this page