Quote Request & Response Examples
This guide provides complete request and response examples for all supported currency pairs on Mavapay.Supported Currency Pairs
Mavapay supports the following currency conversions:- BTCSAT => NGNKOBO (Bitcoin to Nigerian Naira)
- BTCSAT => ZARCENT (Bitcoin to South African Rand)
- BTCSAT => KESCENT (Bitcoin to Kenyan Shilling)
- BTCSAT => USDTCENT (Bitcoin to USDT — crypto swap, 60 second quote)
- NGNKOBO => BTCSAT (Nigerian Naira to Bitcoin — NGN Collections)
- NGNKOBO => USDTCENT (Nigerian Naira to USDT — NGN Collections)
- NGNKOBO => ZARCENT (Nigerian Naira to South African Rand)
- NGNKOBO => KESCENT (Nigerian Naira to Kenyan Shilling)
- USDTCENT => BTCSAT (USDT to Bitcoin — crypto swap, 60 second quote)
- USDTCENT => NGNKOBO (USDT to Nigerian Naira payout)
- KESCENT => USDTCENT (Kenyan Shilling to USDT — KES Collections)
- KESCENT => BTCSAT (Kenyan Shilling to Bitcoin — KES Collections)
- KESCENT => NGNKOBO / ZARCENT / GHSPESEWA (KES mobile money to an instant payout — KES Collections)
NGN, KES, ZAR
Bitcoin to Kenyan Shilling (BTCSAT => KESCENT)
Request
Response
Nigerian Naira to Kenyan Shilling (NGNKOBO => KESCENT)
Request
Response
When using BANKTRANSFER as payment method, the response includes bank details where you should send the NGN payment.
Bitcoin to Nigerian Naira (BTCSAT => NGNKOBO)
Request
Response
Bitcoin to South African Rand (BTCSAT => ZARCENT)
Request
Response
Nigerian Naira to South African Rand (NGNKOBO => ZARCENT)
Request
Response
Nigerian Naira to Bitcoin (NGNKOBO => BTCSAT)
Request
Response
Bitcoin to USDT (BTCSAT => USDTCENT)
Quote expires in 60 seconds. Autopayout to an external USDT address is not supported. See Crypto Swaps.Pay a Lightning invoice
OmitsourceWallet. Pay the invoice in the response within 60 seconds. USDT is credited to your internal wallet.
invoice is a Lightning invoice (lnbc...). amountInSourceCurrency is the satoshi amount to pay. amountInTargetCurrency is the USDT credited, in cents.
Debit your BTC wallet
PasssourceWallet: "BTC" and accept the quote. Do not pay the internal MAVAPAY_INTERNAL invoice.
Request
Response
"sourceWallet": "BTC". 1000 USDTCENT = 10 USDT. 12300 source = satoshis debited.
USDT to Bitcoin (USDTCENT => BTCSAT)
Internal wallet swap. Quote expires in 60 seconds. See Crypto Swaps.Request
Response
"sourceWallet": "USDT". Do not send funds to onchainAddress.
Nigerian Naira to USDT (NGNKOBO => USDTCENT)
Buy USDT with NGN. Quote is valid for 10 minutes. See NGN Collections.Request
Response
totalAmountInSourceCurrency in kobo to the virtual account. 10000 USDTCENT = 100 USDT.
USDT to Nigerian Naira (USDTCENT => NGNKOBO)
Fiat payout sourced from your USDT wallet. PasssourceWallet: "USDT" and settlementCurrency: "USDT", then accept the quote. See Prefunded Quote.
Request
Kenyan Shilling to USDT (KESCENT => USDTCENT)
M-Pesa or Airtel STK collection. The prompt expires in 20 seconds. See KES Collections.Request
Response
1000 USDTCENT = 10 USDT. 133800 KES cents = KES 1,338.00. paymentSource.phoneNumber is the paying customer. Omit beneficiary to credit the internal USDT wallet. For BTC, set targetCurrency to BTCSAT.
Understanding Quote Fields
Next Steps
- Learn about beneficiary formats for different currencies
- Explore webhook integration for payment notifications
- Test your integration in our staging environment
