Once you receive the user access token, Brick API will allow you to make fund disbursement to the designated bank accounts.
1curl --include \2--request POST \3--header "Content-Type: application/json" \4--header "Authorization: Bearer public-access-token" \5--data-binary "{6\"amount\": 10000,7\"referenceId\": \"123456\",8\"description\": \"Your delivery payout.\",9\"disbursementMethod\": {10\"type\": \"bank_transfer\",11\"bankShortCode\": \"BRI\",12\"bankAccountNo\": \"123123123\",13\"bankAccountHolderName\": \"John Doe\"14}15}" \16'https://private-anon-0d6586dce8-onebrick.apiary-mock.com/v1/payments/disbursements'
Benefit of using Payment API
Verifies account number before making payments to eliminate error in the process.
No deposit needed to make bulk transfers.
Connected to top Indonesian local bank accounts.