Skip to content

MojoPay Payments API

v1.0

Accept mobile money and bank transfers, issue virtual accounts, send payouts, and run direct debits and subscriptions through one stable /v1 surface.

Base URL https://omni.mojo-pay.com/v1
Open API tester Get API credentials

Introduction

The MojoPay Payments API lets you collect and disburse money over live mobile money and bank rails with one integration. Authenticate with OAuth client credentials, call the endpoints in the API reference, and treat signed webhooks as the source of truth for every payment outcome.

Base URL

All paths are relative to https://omni.mojo-pay.com/v1. There is no separate sandbox host — new merchants start in Testing mode on live rails until Go Live.

API credentials

Create API clients under Portal → Developers. The client_secret is shown once — store it in an environment variable, then exchange it for a 20-minute Bearer token with POST /v1/oauth/token.

Integration paths

Pick the flow that matches your product; each card jumps to its endpoints.

Bank virtual accounts — Static vs Dynamic
  • Dynamic — one order, temporary account with expires_at. Issue via Get paid: POST /v1/collections (or a pay link) with payment_rail=bank_transfer. Requires bank transfer enabled. Fees follow your merchant fee_mode (in on_top, the VA is opened for amount_payable).
  • Static — reusable standing account (merchant or per customer). Issue via Bank accounts: POST /v1/virtual-accounts/merchant or POST /v1/customers/{id}/virtual-account. Requires Static VA enabled. Inflows always absorb the Bank Transfer collection fee from the amount received (wallet credit = received − fee), even when your fee mode is on_top. Each credit posts collection.succeeded with a platform merchant_reference like VAIN-CL_… — upsert by Omni collection id and return 2xx; do not 404 unknown references (see Static VA webhook handling).

They are separate products but share the Bank Transfer fee channel. Show payers account_number, account_name, bank_name, and transfer_note together. Transfers must use GhIPSS Instant Pay (GIP) only (Instant Pay, Instant transfer, or GIP in the bank app — not ACH or RTGS).