Dark Mode

Fetch Disbursement Items by ID API


The following endpoint retrieves the details of disbursement items created

/disbursements/:id/items

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.

skip

Integer
Optional

The number of disbursement item to be skipped. The default value is 0. This can be used for pagination, in combination with count

limit

Integer
Optional

Number of disbursement item to be fetched. Default value is 25. This can be used for pagination, in combination with the skip parameter

Example
curl -u [Base64({Your_Server_Key}:)] \
-X GET https://api.durianpay.id/v1/disbursements/dis_XXXXXXX/items?skip=0&limit=50 \
-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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
    "data": {
        "disbursement_batch_items": [
            {
                "id": "dis_item_123",
                "disbursement_batch_id": "dis_123",
                "account_owner_name": "Jack",
                "real_name": "Jack",
                "bank_code": "bcaa",
                "amount": "10000.00",
                "account_number": "235464",
                "email_recipient": "jack@nomail.com",
                "phone_number": "85609873209",
                "invalid_fields": [
                    {
                        "key": "bank_code",
                        "message": "Invalid BankCode/AccountNumber",
                        "metadata": {}
                    }
                ],
                "status": "invalid",
                "notes": "salary",
                "approver_notes": "",
                "is_deleted": false,
                "created_by": null,
                "updated_by": null,
                "created_at": "2024-05-28T09:58:15.081353Z",
                "updated_at": "2024-05-28T09:58:15.845086Z",
                "allow_retrigger": false,
                "split_id": "",
                "receipt": "",
                "fee": "",
                "disbursement_status_set_at": null,
                "last_sync_status_at": null,
                "failure_reason": ""
            },
            {
                "id": "dis_item_123",
                "disbursement_batch_id": "dis_123",
                "account_owner_name": "Jane Doe",
                "real_name": "Jane Doe",
                "bank_code": "bca",
                "amount": "10000.00",
                "account_number": "8422647",
                "email_recipient": "jane_doe@nomail.com",
                "phone_number": "85722173217",
                "invalid_fields": [
                    {
                        "key": "account_number",
                        "message": "Invalid BankCode/AccountNumber",
                        "metadata": {}
                    }
                ],
                "status": "invalid",
                "notes": "salary",
                "approver_notes": "",
                "is_deleted": false,
                "created_by": null,
                "updated_by": null,
                "created_at": "2024-05-28T09:58:15.081353Z",
                "updated_at": "2024-05-28T09:58:15.91321Z",
                "allow_retrigger": false,
                "split_id": "",
                "receipt": "",
                "fee": "",
                "disbursement_status_set_at": null,
                "last_sync_status_at": null,
                "failure_reason": ""
            },
            {
                "id": "dis_item_123",
                "disbursement_batch_id": "dis_123",
                "account_owner_name": "Jack",
                "real_name": "Jack",
                "bank_code": "bca",
                "amount": "10000.00",
                "account_number": "235464",
                "email_recipient": "jack@nomail.com",
                "phone_number": "85609873209",
                "invalid_fields": [],
                "status": "valid",
                "notes": "salary",
                "approver_notes": "",
                "is_deleted": false,
                "created_by": null,
                "updated_by": null,
                "created_at": "2024-05-28T09:58:15.081353Z",
                "updated_at": "2024-05-28T09:58:16.064882Z",
                "allow_retrigger": false,
                "split_id": "",
                "receipt": "",
                "fee": "3000.00",
                "disbursement_status_set_at": null,
                "last_sync_status_at": null,
                "failure_reason": ""
            }
        ],
        "count": 3,
        "submission_status": "completed"
    }
}

401 - Unauthorized Access

500 - Internal Server Error

504 - Gateway Timeout