Fetch Disbursement Items by ID

Changed on

The following endpoint retrieves the details of the disbursement items based on disbursement id

get/disbursements/{id}/items

Request

  • Base URL
    https://api.durianpay.id/v1
  • URL
    https://api.durianpay.id/v1/disbursements/{id}/items
  • Auth
    HTTP basic

Path parameters

idstring required

Unique identifier of the disbursement to be retrieved.

Response

200

Example response

{
  "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"
          }
        ],
        "status": "invalid",
        "notes": "salary",
        "created_at": "2024-05-28T09:58:15.081353Z",
        "updated_at": "2024-05-28T09:58:15.845086Z"
      }
    ],
    "count": 3,
    "submission_status": "completed"
  }
}

Changes