Skip to main content

Fetch disbursement by ID API

The following endpoint retrieves the details of the disbursement created

/disbursements/:id

Path parameters#

Fieldis required?Description
idmandatorystring Unique identifier of the disbursement to be retrieved.

Example#

curl -u <YOUR_SECRET_KEY> \
-X GET https://api.durianpay.id/v1/disbursements/dis_XXXXXXX \
-H "content-type: application/json"'

Response#

{
"data": {
"id": "dis_XXXXXXX",
"name": "sample disbursement",
"type": "batch",
"status": "approved",
"total_amount": "10000.00",
"total_disbursements": 1,
"description": "this is a sample description",
"fees": 4000,
"created_at": "2021-05-03T12:57:07.296575Z"
}
}