curl --location --request POST 'https://api.xente.co/api/transactions/collections/mobilemoney' \--header 'Content-Type: application/json' \--header 'Authorization: Token <token>' \--data-raw '{ "requestId": "92399933543589", //Id from your system to uniquely identify the transaction "batchId": "batch5678", //Identifier og the batch from your system. "amount": 1000.0, "type": "CREDIT", "message": "some message or note", "metadata": "json string", "provider": { "providerItemId": "AIRTELMONEYUG_AIRTELMONEYUG" }, "beneficiary": { "id": "CUST_1", "name": "test001", "emailAddress": "test001@gmail.com", "phoneNumber": "+256702000000", "data": { "phoneNumber": "+256702000000" //The mobile money number where funds are to be collected from } }}'
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 collection
This endpoint posts a new mobile money collection transaction
POST
/
api
/
transactions
/
collections
/
mobilemoney
Copy
curl --location --request POST 'https://api.xente.co/api/transactions/collections/mobilemoney' \--header 'Content-Type: application/json' \--header 'Authorization: Token <token>' \--data-raw '{ "requestId": "92399933543589", //Id from your system to uniquely identify the transaction "batchId": "batch5678", //Identifier og the batch from your system. "amount": 1000.0, "type": "CREDIT", "message": "some message or note", "metadata": "json string", "provider": { "providerItemId": "AIRTELMONEYUG_AIRTELMONEYUG" }, "beneficiary": { "id": "CUST_1", "name": "test001", "emailAddress": "test001@gmail.com", "phoneNumber": "+256702000000", "data": { "phoneNumber": "+256702000000" //The mobile money number where funds are to be collected from } }}'
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/collections/mobilemoney' \--header 'Content-Type: application/json' \--header 'Authorization: Token <token>' \--data-raw '{ "requestId": "92399933543589", //Id from your system to uniquely identify the transaction "batchId": "batch5678", //Identifier og the batch from your system. "amount": 1000.0, "type": "CREDIT", "message": "some message or note", "metadata": "json string", "provider": { "providerItemId": "AIRTELMONEYUG_AIRTELMONEYUG" }, "beneficiary": { "id": "CUST_1", "name": "test001", "emailAddress": "test001@gmail.com", "phoneNumber": "+256702000000", "data": { "phoneNumber": "+256702000000" //The mobile money number where funds are to be collected from } }}'
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" }}