Create Payout Session
Method and URL
POST
[BASE_URL]/xb/payouts
Request Params
Request body
{
"referenceId": "{{randomRequestId}}",
"sourceCurrency": "IDR",
"destinationCurrency": "USD",
"destinationAmount": "0.01", // Destination Amount
"beneficiaryId": "62b39dd6-85dc-4c33-b9d9-edc992251bf3",
"senderId": "ab2bee5f-770d-4fd8-9788-b9a0c5cf3fdf",
"remark": "Test normal flow", // Description
"purposeCode": "IR001", // Purpose Code
"routingValue": "USBKUS44IMT"
}
Response
Response Body
{
"code": "00",
"message": "Success",
"data": {
"uuid": "019232ab-5af7-7bd5-9de2-05ae615b3ed6",
"merchantId": "922e39ab-7565-49f6-b84f-fb56122821ae",
"referenceId": "12344321",
"sourceCurrency": "IDR",
"destinationCurrency": "USD",
"destinationAmount": "100",
"fxRate": "0.000066142872",
"destinationFxRate": "15118.7871007476058796",
"fee": "0",
"totalAmount": "1511878.7100747605879587",
“remark”: “sample”,
"createdAt": "2024-09-27T08:49:03Z",
"expiredAt": "2024-09-27T09:04:03Z",
"status": "WAITING",
"beneficiaryData": {
"name": "Zulkifli",
"address": "Jl Sweethome",
"city": "Chickasaw",
"postcode": "123124",
"state": "Alabama",
"country": "US",
"accountNumber": "612312312312",
"bankName": "Bank of America",
"bankCode": "4431",
"transferMethod": "SWIFT",
"transferMethodCode": "CMFGUS33"
},
"senderData": {
"name": "Reyga Virgiawan",
"country": "ID",
"state": "Lampung",
"city": "Bandar Lampung",
"address": "Jl Jalan Aja",
"postcode": "35144",
"accountType": "Individual",
"identificationType": "Kartu Tanda Penduduk",
"identificationNumber": "123456789"
}
“routingCode”: “xxx”,
“routingValue”: “xxx”
}
}
Last updated