2. Withdrawals (PayOut)
Use this endpoint when withdrawals are enabled for your MYR shop. Send the recipient account in account_number. You can also supply the bank code in fields.bank_code and the account holder's name in fields.holder. Create one withdrawal per request and keep your order_id for safe retries.
- Create a withdrawal.
- Get its status with the returned
transaction_id. - Receive a terminal callback at the required
callback_url.
Eligible withdrawals reserve funds while they are processed. Completion or failure applies the corresponding balance changes under the existing payment rules. Repeating an accepted request does not create another operation or reserve.
The create response confirms that the operation exists; it does not mean the withdrawal has succeeded. Consult the status catalog before finalizing an order.