Submit Disbursement
Changed onThe following endpoint submit a disbursement:
post/disbursements/submit
Request
- Base URLhttps://api.durianpay.id/v1
- URLhttps://api.durianpay.id/v1/disbursements/submit
- AuthHTTP basic
Query parameters
force_disburseboolean
If this parameter is true then the batch will be validated and disbursed. In this case, approve API doesn't need to be called. Default value: true
Headers
idempotency_keystring required
The idempotency key used to submit the disbursement batch. It will be used to prevent accidentally creating the same disbursement more than once.
X-Idempotency-Keystring required
The idempotency key used to submit the disbursement request. It will be used to prevent accidentally creating the same disbursement more than once.
Request body
Response
200
Example response
{
"data": {
"id": "dis_123",
"name": "sample disbursement",
"idempotency_key": "123xxx",
"total_amount": "20000",
"total_disbursements": 2,
"description": "this is a sample disbursement"
}
}Changes
- info
endpoint added
- info