Mobile money
How to on-ramp and off-ramp XAF with mobile money in Republic of the Congo: fields, limits and API examples.
CG
XAF
mobile_money
—
On-ramp, Mobile money (cg_airtel)
676 to 337,594 XAF
stk_push
Off-ramp, Mobile money (cg_airtel)
604 to 301,338 XAF
—
Before the first call: set up the keys and the signing helpers from Countries, and verify the user as Republic of the Congo explains.
On-ramp
Sandbox has no working route for this channel yet, so this section shows only the production quote request.
ENDPOINT='/api/v2/quote'
TIMESTAMP=$(($(date +%s) * 1000))
curl -X POST "$FONBNK_BASE_URL$ENDPOINT" \
-H "x-client-id: $FONBNK_CLIENT_ID" \
-H "x-timestamp: $TIMESTAMP" \
-H "x-signature: $(fonbnk_sign "$TIMESTAMP" "$ENDPOINT")" \
-H "Content-Type: application/json" \
--data '{"deposit":{"paymentChannel":"mobile_money","currencyType":"fiat","currencyCode":"XAF","countryIsoCode":"CG","carrierCode":"cg_airtel","amount":3000},"payout":{"paymentChannel":"crypto","currencyType":"crypto","currencyCode":"CELO_USDT"}}'const response = await fonbnkRequest('POST', '/api/v2/quote', {
"deposit": {
"paymentChannel": "mobile_money",
"currencyType": "fiat",
"currencyCode": "XAF",
"countryIsoCode": "CG",
"carrierCode": "cg_airtel",
"amount": 3000
},
"payout": {
"paymentChannel": "crypto",
"currencyType": "crypto",
"currencyCode": "CELO_USDT"
}
});In production the quote asks for these fields:
phoneNumber
Phone Number
phone
Yes
242061234567
carrierCode
Carrier
enum
Yes
cg_airtel
blockchainWalletAddress
Your wallet address
string
Yes
0x5b7ae3c6c87f4a3f94b35c77233b13191ebfad20
blockchainMemo
Memo
string
No
—
Off-ramp
Sandbox has no working route for this channel yet, so this section shows only the production quote request.
In production the quote asks for these fields:
blockchainWalletAddress
Your wallet address
string
No
0x5b7ae3c6c87f4a3f94b35c77233b13191ebfad20
phoneNumber
Phone Number
phone
Yes
242061234567
carrierCode
Carrier
enum
Yes
cg_airtel

