Dark Mode

Fetch Disbursement by ID API


The following endpoint retrieves the details of the disbursement created

/disbursements/:id

Run in Postman

Path Attributes

id

String
Mandatory

Unique identifier of the disbursement to be retrieved.

Example
curl -u [Base64({Your_Server_Key}:)] \
-X GET https://api.durianpay.id/v1/disbursements/dis_XXXXXXX \
-H "content-type: application/json"'

Response Code

200 - Success

1
2
3
4
5
6
7
8
9
10
11
12
13
{
    "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"
    }
}

401 - Unauthorized Access

500 - Internal Server Error