Overview
Mavapay allows you to send Nigerian Naira (NGN) to Ghanaian Cedi (GHS) beneficiaries through MTN Mobile Money. This guide walks you through creating a quote, funding it, and tracking payout completion.GHS payouts currently support
MTN beneficiaries only.Integration Flow
Step 1: Create a Quote
Create a quote to lock in the rate and generate a virtual NGN account to fund the transfer.Understanding Payment Currency
ThepaymentCurrency parameter determines what your amount means:
paymentCurrency: "NGNKOBO"-> amount is in NGN Kobo (you specify how much Naira to send)paymentCurrency: "GHSPESEWA"-> amount is in GHS Pesewa (you specify how much recipient should receive)
Option A: Send a Specific NGN Amount
When you want to send exactly NGN 10,000:Option B: Recipient Gets a Specific GHS Amount
When the recipient should receive exactly GHS 10.00:Step 2: Review Quote Response
A successful response returns the quote details and a virtual NGN account to fund:Step 3: Fund the Virtual NGN Account
Transfer the exacttotalAmountInSourceCurrency (in Kobo) to the ngnBankAccountNumber before quote expiry.
Step 4: Track Payout Status
You’ll receive webhook updates as the payment progresses:payment.received- NGN funding is confirmedpayment.sent- GHS payout is sent to the MTN beneficiary
Beneficiary Format (GHS MTN)
Use the following beneficiary structure for NGN to GHS:| Field | Type | Required | Description |
|---|---|---|---|
identifierType | string | Yes | Must be MTN |
identifiers.phoneNumber | string | Yes | Beneficiary MTN number in international format (+233...) |
identifiers.accountName | string | Yes | Beneficiary account name |
Important Considerations
Currency Denominations
All amounts are in the lowest denomination:- NGNKOBO: 100 Kobo = NGN 1
- GHSPESEWA: 100 Pesewa = GHS 1
Quote Expiration
Quotes expire quickly. Always display expiry time and prompt users to fund immediately.Autopayout
Setautopayout: true to process payout automatically after funding confirmation.
