Skip to main content

Send Payment

This api endpoint sends payment to a mobile money subscriber.

HTTP Request

POST
https://payments.relworx.com/api/mobile-money/send-payment

Arguments

ParameterTypeRequiredDescription
account_nostringRequiredBusiness account number. This is generated for you when you create a business account.
referencestringRequiredA unique generated string to identify your request. A minimum of 8 and maximum of 36 characters is allowed.
msisdnstringRequiredThe recipient’s mobile money account number to which the money will be sent. Should be internationally formatted for-example +256701345672.
currencystringRequired3 letter ISO currency code for example UGX. No currency conversion is done, so the currency must be valid for the given phone number (msisdn). Currently we support UGX, KES and TZS.
amountdecimalRequiredAmount to be sent to recipient’s mobile money account.
descriptionstringOptionalA description for the request

Sample send payment request

curl "https://payments.relworx.com/api/mobile-money/send-payment" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/vnd.relworx.v2" \
-H "Authorization: Bearer <--Your API Key-->" \
-d '{
"account_no": "RELJH012BV45P",
"reference": "52750b30ffbc7de3b36",
"msisdn": "+256701345672",
"currency": "UGX",
"amount": 500.00,
"description": "Send Payment to John Doe."
}'

Sample response.

{
"success": true,
"message": "Send payment in progress.",
"internal_reference": "d3ae5e14f05fcc58427331d38cb11d42"
}