curl --location --request POST 'https://api.xente.co/api/transactions/payouts/banktransfers' \--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": 500, "type": "DEBIT", "message": "Testing", "product": { "productItemId": "producItemId" //These can be fetched from the products endpoint }, "beneficiary": { "name": "recipient name", "emailAddress": "recipient email address", "phoneNumber": "recipient phone number", "data": { "bankAccount": "Bank account number where funds are to be deposited", "bankName": "bank name" //The Code of the bank where account is held } }}'
Copy
{ "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "req1234", "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"}
Bank Transfers
Post bank transfer
This endpoint posts a new mobile money transaction
POST
/
api
/
transactions
/
payouts
/
banktransfers
Copy
curl --location --request POST 'https://api.xente.co/api/transactions/payouts/banktransfers' \--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": 500, "type": "DEBIT", "message": "Testing", "product": { "productItemId": "producItemId" //These can be fetched from the products endpoint }, "beneficiary": { "name": "recipient name", "emailAddress": "recipient email address", "phoneNumber": "recipient phone number", "data": { "bankAccount": "Bank account number where funds are to be deposited", "bankName": "bank name" //The Code of the bank where account is held } }}'
Copy
{ "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "req1234", "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"}
Timestamp indicating when the transaction was created.
Copy
curl --location --request POST 'https://api.xente.co/api/transactions/payouts/banktransfers' \--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": 500, "type": "DEBIT", "message": "Testing", "product": { "productItemId": "producItemId" //These can be fetched from the products endpoint }, "beneficiary": { "name": "recipient name", "emailAddress": "recipient email address", "phoneNumber": "recipient phone number", "data": { "bankAccount": "Bank account number where funds are to be deposited", "bankName": "bank name" //The Code of the bank where account is held } }}'
Copy
{ "message": "Transaction Has Been Successfully Received. Notification Will Be Sent Shortly", "data": { "requestId": "req1234", "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"}