Direct Mobile Money Payment
Mobile Money Collection API
POST
https://sandbox.dusupay.com/v1/collections
Headers
Request Body
{
"code": 202,
"status": "accepted",
"message": "Transaction Initiated",
"data": {
"id": 615615,
"request_amount": 7,
"request_currency": "USD",
"account_amount": 26632.8249,
"account_currency": "UGX",
"transaction_fee": 1038.6802,
"total_credit": 25594.1447,
"provider_id": "mtn_ug",
"merchant_reference": "xxxxxxxx7",
"internal_reference": "DUSUPAY5FNZFXBL9WKQMTI",
"payment_url": "",
"transaction_status": "PENDING",
"transaction_type": "collection",
"message": "Transaction Initiated",
"instructions": [
{
"step_no": "1",
"description": "Ensure that you have sufficient balance on your MTN Mobile Money account"
},
{
"step_no": "2",
"description": "Approve the payment request sent to your phone"
}
],
"customer_charged": false
}
}
{
"code": 422,
"status": "error",
"message": "Transaction with merchant reference 'xxxxxxxxx1' already exists. Provide a unique reference for every request",
"data": {}
}
Last updated