Settlements
Create Withdrawal
Request a withdrawal of available funds to your bank account
POST
Documentation Index
Fetch the complete documentation index at: https://docs-openpay.nipuntheekshana.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
This endpoint requires a Bearer token in theAuthorization header.
Body Parameters
The amount to withdraw. Must not exceed the current available balance.
The destination bank account number for the withdrawal.
The name of the bank (e.g.,
Commercial Bank, Bank of Ceylon, Sampath Bank).The branch name or code of the bank.
Response
Unique identifier for the withdrawal request.
The withdrawal amount.
The withdrawal status. Newly created withdrawals have the status
pending.The destination bank account number.
The bank name.
The bank branch.
ISO 8601 timestamp of when the withdrawal was requested.
Withdrawals are reviewed and processed by the admin team. You will receive a webhook notification when the withdrawal status changes to
approved or rejected.