Fetch Disbursement Status API

Changed on

This endpoint retrieves the details of a disbursement using either the batch ID or the reference ID.

post/disbursements/status

Request

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

Request body

disbursement_batch_idstring

Unique identifier of the disbursement batch.

idempotency_keystring

Unique identifier for the request to prevent duplicate submissions.

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