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.
| Rwanda | |
|---|---|
| Currency | RWF (country_code RW) |
| Phone format | 250788123456. Also accepted: 0788123456, +250788123456. |
| Networks | MTN or Airtel |
| Collect | MTN and Airtel mobile money |
| Pay out | MTN and Airtel mobile money, Bank account. A bank payout needs a bank_code from GET /payout-banks?country_code=RW. |
| Amounts | Whole francs: amount_minor a multiple of 100. 5,000 RWF is 500000. |
| Test numbers | Yes, for payouts: +250788000001 to +250788000005 force an outcome. |
Get started
Quickstart
Your first test charge, in about ten minutes.
Authentication
API keys, scopes, and test and live mode.
Testing
Test keys, and amounts and numbers that fail on purpose.
Accept payments
Checkout
Send your customer to a hosted payment page, then confirm from your server.
Mobile money collections
Collect from MTN and Airtel wallets in Rwanda and Uganda.
Payment links
Share a link that takes a payment, with no integration to build.
Send money
Payouts
Pay a mobile money wallet or a bank account.
Account lookups
The bank list, and whose wallet or account a number is.
Developer tools
Webhooks
Get notified when a payment or payout changes.
API reference
Every endpoint, with request and response examples.
Base URL and keys
Every request goes to one base URL, in test mode and live:
https://api.inversepay.app/api/b/v1Send 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.