Skip to Content
ePay.lkDocs
API reference

Balance

The Balance object and GET /v1/balance.

The Balance object

FieldTypeDescription
object"balance"
currencyLKR
pendingintegerCaptured, awaiting settlement (T+N), minor units
availableintegerSettled and withdrawable, minor units
in_transitintegerReserved by payouts not yet paid, minor units

Retrieve the balance

GET/v1/balancescope balance:read
Request
curl https://beta.api.epay.lk/v1/balance -H "Authorization: Bearer $EPAY_SECRET_KEY"
Response 200
{
  "object": "balance",
  "currency": "LKR",
  "pending": 4512500,
  "available": 18250000,
  "in_transit": 5000000
}

On this page