API reference
Balance
The Balance object and GET /v1/balance.
The Balance object
| Field | Type | Description |
|---|---|---|
object | "balance" | |
currency | LKR | |
pending | integer | Captured, awaiting settlement (T+N), minor units |
available | integer | Settled and withdrawable, minor units |
in_transit | integer | Reserved by payouts not yet paid, minor units |
Retrieve the balance
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
}
