58 lines
2.0 KiB
Markdown
58 lines
2.0 KiB
Markdown
Hi Kwesi,
|
|
|
|
This is what we agreed on the mse works:
|
|
|
|
You will work on disbursement confirmation endpoint
|
|
1. To sit on the mobile money server
|
|
2. Db is on .201 and called malawi_stock_exchange
|
|
3. The endpoint to accept our transid,their unique reference id, mobile number, amount, among others in the payload
|
|
4. The endpoint to respond back with status of the transaction
|
|
5. You should have another endpoint for transaction enquiry
|
|
6. This will just refer to the transaction enquiry service for disbursements
|
|
7. To accept the transID and unique reference in the payload
|
|
8. To return TS of TF to mean transaction successful or transaction failed respectively
|
|
9. All MSE projects are found on the mobile money server in this path:
|
|
10. Airtel Money: /var/www/payments.click-mobile.com/html/mse/airtelmoney
|
|
11. Mpamba: /var/www/payments.click-mobile.com/html/mse/mpamba
|
|
|
|
13. API - /var/www/payments.click-mobile.com/html/mse/api
|
|
14. http://216.55.185.131/
|
|
15. www.payments.click-mobile.com/api
|
|
|
|
|
|
Would you like to see how to define a global constant for this base URL so you can easily link to images and CSS from your templates?
|
|
|
|
|
|
AIRTEL MONEY DISBURSEMENT
|
|
REQUEST:
|
|
|
|
{"country":"MW",
|
|
"currency":"MWK",
|
|
"msisdn":"996139030",
|
|
"amount":50,
|
|
"transactionID":"mse-6a4e490eec25e"}
|
|
|
|
RESPONSE:
|
|
|
|
{"data":{"transaction":{"reference_id":"BD260708.1456.651361","airtel_money_id":"disburse-8SE3NN3VM8-mse-6a4e490eec25e","id":"mse-6a4e490eec25e","status":"TS"}},
|
|
"status":{"response_code":"DP00900001001","code":"200","success":true,"result_code":"ESB000010","message":"Business Disbursement Partner transaction of MK 50 has been successfully completed between the sender: 999904070 and receiver: 996139030. Txn ID: BD260708.1456.651361"}}
|
|
|
|
|
|
MPAMBA DISBURSEMENT
|
|
REQUEST:
|
|
|
|
{
|
|
"transactionId": "TXN202607101022jy3",
|
|
"amount": 50,
|
|
"msisdn": "265881161942",
|
|
"description": "CEDAR PAY"
|
|
}
|
|
|
|
RESPONSE:
|
|
|
|
{"message":"Completed
|
|
successfully","errors":[],"trace":[],"data":{"transaction_id":"TXN202607101022jy3","receipt_number":"DGA3321MW1H"}}
|
|
|
|
|
|
|