Fetch Disbursement by ID

Changed on

The following endpoint retrieves the details of the disbursement created

get/disbursements/{id}

Request

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

Path parameters

idstring required

Unique identifier of the disbursement to be retrieved.

Response

200

Example response

{
  "data": {
    "id": "dis_123",
    "name": "sample disbursement",
    "idempotency_key": "123xxx",
    "type": "batch",
    "status": "approved",
    "total_amount": "20000",
    "total_disbursements": 2,
    "description": "this is a sample disbursement",
    "fees": 6000,
    "created_from": "api",
    "created_at": "2024-05-28T12:53:50.34886Z",
    "updated_at": "2024-05-28T12:53:50.34886Z",
    "approved_at": "0001-01-01T00:00:00Z",
    "is_live": true
  }
}

Changes