Skip to main content

Mobile money push

POST /api/v1/payment/intasend-xb-push/ sends a payment prompt to a mobile money wallet outside Kenya. The currency decides which country's rails are used. The mobile network is detected from the phone number, or you can set it with operator_code.

Activation

Mobile money push is enabled per account. Contact support to switch it on for your live account.

curl -X POST https://api.intasend.com/api/v1/payment/intasend-xb-push/ \
-H "Authorization: Bearer $INTASEND_SECRET_KEY" \
-H "Content-Type: application/json" \
-d '{
"amount": 5000,
"currency": "UGX",
"country": "UG",
"phone_number": "256771234567",
"api_ref": "order-123",
"first_name": "Okello",
"email": "[email protected]"
}'

Request​

FieldRequiredDescription
amountYesAmount in currency. It is rounded up to a whole unit. Max 5,000,000.
currencyYesUGX, TZS, RWF
countryYesISO-2 country code: UG, TZ or RW
phone_numberYesInternational format without +, for example 256771234567
operator_codeNoForce a network. See operator codes. Recommended in Tanzania.
api_refNoYour reference
first_name, last_name, emailNoCustomer details
wallet_idNoWallet in the same currency. Defaults to your settlement wallet.
mobile_tarrifNoBUSINESS-PAYS or CUSTOMER-PAYS

The response has the same shape as M-Pesa STK Push, with provider: "INTASEND-XB-PUSH".

Supported currencies​

CurrencyCountriesNetworks
UGXUgandaMTN, Airtel
TZSTanzaniaVodacom (M-Pesa), Airtel, Tigo/Yas, Halotel
RWFRwandaMTN, Airtel

Per-country examples are on the Countries pages.