Top-up Amount API
Changed onThe following endpoint can be used to top-up amount to durianpay account.
post/disbursements/topup
Request
- Base URLhttps://api.durianpay.id/v1
- URLhttps://api.durianpay.id/v1/disbursements/topup
- AuthHTTP basic
Headers
X-Idempotency-Keystring required
The idempotency key used to submit a topup request. It will be used to prevent accidentally creating the same topup request more than once.
Request body
Response
200
Example response
{
"data": {
"id": "topup_123",
"sender_bank": "bni",
"total_amount": "1123",
"status": "processing",
"expiry_date": "0001-01-01T00:00:00Z",
"transfer_to": {
"bank_code": "bni",
"bank_name": "Bank BNI / BNI Syariah",
"atm_bersama_code": "009",
"bank_account_number": "12345678",
"bank_holder_name": "PT DurianPay",
"unique_code": 123
}
}
}Changes
- info
endpoint added
- info