curl --location --request POST 'https://api.xente.co/api/transactions/payouts/mobilemoney' \--header 'Content-Type: application/json' \--header 'Authorization: Token <token>' \--data-raw '{ "requestId": "92399933543589", "batchId": "batch5678", "amount": 500, "type": "DEBIT", "message": "Testing", "product": { "productItemId": "MTNMOBILEMONEYPAYOUTUG_MTNMOBILEMONEYPAYOUTUG" }, "beneficiary": { "name": "Tester", "emailAddress": "sampleemail@email.com", "phoneNumber": "0779705600", "data": { "phoneNumber": "0779705600" //The mobile money number where funds are to be deposited } }}'
Copy
{ "code": 0, "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "32399933543589", "batchId": "batch5678", "transactionId": "ef2ebc1e-1c2e-4fb1-23eb-08dc379d52c7", "status": "PROCESSING", "message": "Processing Debit Transaction. Instant Payment Notification will be sent shortly", "createdOn": "2/27/2024 2:06:41 PM" }}
Mobile Money
Post mobile money
This endpoint posts a new mobile money transaction
POST
/
api
/
transactions
/
payouts
/
mobilemoney
Copy
curl --location --request POST 'https://api.xente.co/api/transactions/payouts/mobilemoney' \--header 'Content-Type: application/json' \--header 'Authorization: Token <token>' \--data-raw '{ "requestId": "92399933543589", "batchId": "batch5678", "amount": 500, "type": "DEBIT", "message": "Testing", "product": { "productItemId": "MTNMOBILEMONEYPAYOUTUG_MTNMOBILEMONEYPAYOUTUG" }, "beneficiary": { "name": "Tester", "emailAddress": "sampleemail@email.com", "phoneNumber": "0779705600", "data": { "phoneNumber": "0779705600" //The mobile money number where funds are to be deposited } }}'
Copy
{ "code": 0, "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "32399933543589", "batchId": "batch5678", "transactionId": "ef2ebc1e-1c2e-4fb1-23eb-08dc379d52c7", "status": "PROCESSING", "message": "Processing Debit Transaction. Instant Payment Notification will be sent shortly", "createdOn": "2/27/2024 2:06:41 PM" }}
Timestamp indicating when the transaction was created.
Copy
curl --location --request POST 'https://api.xente.co/api/transactions/payouts/mobilemoney' \--header 'Content-Type: application/json' \--header 'Authorization: Token <token>' \--data-raw '{ "requestId": "92399933543589", "batchId": "batch5678", "amount": 500, "type": "DEBIT", "message": "Testing", "product": { "productItemId": "MTNMOBILEMONEYPAYOUTUG_MTNMOBILEMONEYPAYOUTUG" }, "beneficiary": { "name": "Tester", "emailAddress": "sampleemail@email.com", "phoneNumber": "0779705600", "data": { "phoneNumber": "0779705600" //The mobile money number where funds are to be deposited } }}'
Copy
{ "code": 0, "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "32399933543589", "batchId": "batch5678", "transactionId": "ef2ebc1e-1c2e-4fb1-23eb-08dc379d52c7", "status": "PROCESSING", "message": "Processing Debit Transaction. Instant Payment Notification will be sent shortly", "createdOn": "2/27/2024 2:06:41 PM" }}