Validate Disbursement

Changed on

The following endpoint can be used to fetch the bank account and account number validation.

post/disbursements/validate

Request

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

Headers

X-Idempotency-Keystring required

The idempotency key used to submit a disbursement validate request. It will be used to prevent accidentally creating the same disbursement validate request more than once.

Request body

account_numberstring required

The account number associated with the bank

bank_codestring required

The bank code. Please refer here to fetch bank details

Response

200

Example response

{
  "data": {
    "account_number": "123737383830",
    "bank_code": "bca",
    "status": "processing"
  }
}

Changes