Skip to main content

Fetch top-up detail by ID API

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

/disbursements/topup/:id

Path parameters#

Fieldis required?Description
idmandatorystring Unique identifier of the topup to be retrieved.

Example#

curl -u <YOUR_SECRET_KEY> \
-X GET https://api.durianpay.id/v1/disbursements/topup/topup_XXXXXXX \
-H "content-type: application/json"'

Response#

{
"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"
}
}