Dark Mode

Fetch Top-up Detail by ID API


The following endpoint retrieves the details of the top-up created by ID.

/disbursements/topup/:id

Run in Postman

Path Attributes

id

String
Mandatory

Unique identifier of the topup to be retrieved.

Example
curl -X GET \
  https://api.durianpay.id/v1/disbursements/topup/topup_WipuEEkAk83245 \
  -H 'authorization: [Base64({Your_Server_Key}:)]' \
  -H 'content-type: application/json' \

Response Code

200 - Success

1
2
3
4
5
6
7
8
9
10
11
{
    "data": {
        "total_amount": "12000.00",
        "unique_code": 10,
        "expiry_date": "2021-03-21T09:58:53Z",
        "bank_account_number": "121212",
        "bank_name": "BCA",
        "bank_holder_name": "Receiver",
        "status": "processing"
    }
}

401 - Unauthorized Access

500 - Internal Server Error