Fetch Durianpay Balance API
As per Bank of Indonesia's regulation, starting from July 2024, we'll be stop supporting this version of the API. Please use the SNAP version instead.
The following endpoint retrieves the balance in the durianpay account.
Example
curl -u [Base64({Your_Server_Key}:)] \
-X GET https://api.durianpay.id/v1/disbursements/topup/balance \
-H "content-type: application/json"'
Response Code
200 - Success
1 2 3 4 5
{ "data": { "balance": 949859471313 } }
401 - Unauthorized Access
500 - Internal Server Error
504 - Gateway Timeout