curl --location --request POST 'https://api.xente.co/api/transactions/payouts/internet' \ --header 'Content-Type: application/json' \ --header 'Authorization: Token <token>' \ --data-raw '{ "requestId": "72399933543589",//Id from your system to uniquely identify the transaction "batchId": "batch5678", "amount": 1000, "type": "DEBIT", "message": "Your custom message", "metadata": "InvoicePayment", "product": { "id": "AIRTELDATABUNDLESUG", "productItemId": "AIRTELDATABUNDLESUG_24510766" }, "beneficiary": { "name": "John Doe", "emailAddress": "johndoe@example.com", "phoneNumber": "+1234567890", "data": { "phoneNumber": "+1234567890" //The phone number to be topped up } } }'
{ "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "e482caf1-18c4-4312-a708-8032969541d4", "batchId": "123123123123", "transactionId": "0f9182ad-bf5e-4854-799e-08dc2bc9741e", "status": "PROCESSING", "message": "Processing Debit Transaction. Instant Payment Notification will be sent shortly", "createdOn": "2/12/2024 12:52:21 PM" }, "code": 0, "status": "success" }
This endpoint posts a new mobile internet transaction
Show Toggle object