Send money at scale to all bank accounts & eWallets in Indonesia using Xendit’s Disbursements. We currently support disbursements to 140+ local banks, virtual accounts of the biggest banks (BRI, BNI, Mandiri, CIMB Niaga, Permata, BTN, and NOBU Bank) and eWallets (e.g. Gopay, OVO, DANA, LinkAja & Shopee Pay). View all supported destination here .
POST
https://us-central1-appgregator.cloudfunctions.net/xendit/disbursement/
Query Parameters
201: Created Success
Copy {
"status": "PENDING",
"user_id": "6279ce4495d10c9afc3171b8",
"external_id": "INV002-DISB",
"amount": 10090000,
"bank_code": "BNI",
"account_holder_name": "MUHAMMAD RIZAL ASSHIDIEQY",
"disbursement_description": "Reimbursement for shoes",
"id": "62f4c8878dbbf6cb3d9b22c6",
"project_name": "ft-4",
"connection_name": "xendit-sanbox-1"
}
Body JSON
Copy {
"external_id": "INV002-DISB",
"amount": "90000",
"bank_code": "BCA",
"account_holder_name": "MUHAMMAD RIZAL ASSHIDIEQY",
"account_number": "6041013521",
"description": "Reimbursement for shoes"
}
cURL NodeJs - Axios
Copy curl --location --request POST 'https://us-central1-appgregator.cloudfunctions.net/xendit/disbursement?name=ft-4&connection_name=xendit-sanbox-1' \
--header 'x-api-key: U2Fsd...' \
--header 'Content-Type: application/json' \
--data-raw '{
"external_id": "INV002-DISB",
"amount": "90000",
"bank_code": "BCA",
"account_holder_name": "MUHAMMAD RIZAL ASSHIDIEQY",
"account_number": "6041013521",
"description": "Reimbursement for shoes"
}'
Copy var axios = require('axios');
var data = JSON.stringify({
"external_id": "INV002-DISB",
"amount": "90000",
"bank_code": "BCA",
"account_holder_name": "MUHAMMAD RIZAL ASSHIDIEQY",
"account_number": "6041013521",
"description": "Reimbursement for shoes"
});
var config = {
method: 'post',
url: 'https://us-central1-appgregator.cloudfunctions.net/xendit/disbursement?name=ft-4&connection_name=xendit-sanbox-1',
headers: {
'x-api-key': 'U2Fsd...',
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
vas