Balance
See how much is pending settlement, available to withdraw, and on its way to your bank.
GET/v1/balancescope balance:read
curl https://beta.api.epay.lk/v1/balance -H "Authorization: Bearer $EPAY_SECRET_KEY"{
"object": "balance",
"currency": "LKR",
"pending": 4512500,
"available": 18250000,
"in_transit": 5000000
}| Field | Meaning |
|---|---|
pending | Net amount of succeeded payments that haven't been settled yet (settlement is T+N days per your agreement). |
available | Settled funds you can withdraw. |
in_transit | Reserved by payouts you've requested that haven't been paid to your bank yet. |
All three are integer minor units after ePay fees (each payment's fee is deducted; net is what reaches your balance). Refunds are deducted from your balance.
Payouts
Request payouts to your verified bank account from the dashboard (Payouts → Withdraw). New bank accounts are approved by ePay before first use. You'll receive payout.created, then payout.paid or payout.failed webhooks.

