Dark Mode

Fetch Disbursement by ID API


The following endpoint retrieves the details of the disbursement created

/disbursements/:id

Run in Postman

As per Bank of Indonesia's regulation, starting from July 2024, we'll be stop supporting this version of the API. Please use the SNAP version instead.

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
14
15
16
17
18
19
20
21
22
23
24
{
    "data": {
        "id": "dis_123",
        "name": "sample disbursement",
        "idempotency_key": "123xxx",
        "type": "batch",
        "status": "approved",
        "submission_id": null,
        "total_amount": "20000",
        "total_disbursements": 2,
        "description": "this is a sample disbursement",
        "approver": null,
        "maker": null,
        "fees": 6000,
        "created_from": "api",
        "created_at": "2024-05-28T12:53:50.34886Z",
        "updated_by": "",
        "updated_at": "2024-05-28T12:53:50.34886Z",
        "approved_at": "0001-01-01T00:00:00Z",
        "is_live": true,
        "last_sync_status_at": null,
        "general_notes": ""
    }
}

401 - Unauthorized Access

404 - Not Found

500 - Internal Server Error

504 - Gateway Timeout