API / Reference / Card Balance Accounts
Generate a card balance account statement
GET
https://api.light.inc/v1/card-balance-accounts/{accountId}/statement
Generates a statement for a card balance account over a period. Dates are interpreted as UTC day boundaries and all timestamps in the response are in UTC. Runs a fresh provider sync inline so the statement reflects the latest activity.
A JSON statement, not a PDF, built from the issuer's own ledger for the balance account rather than from Light card transactions (Light syncs with the issuer before answering). to is exclusive (start of that UTC day) and must be after from (CARD_BALANCE_ACCOUNT_STATEMENT_INVALID_PERIOD). openingBalance is the booked balance before from; runningBalance adds credits and subtracts debits from there. Line amounts are unsigned with the sign in direction. Company-admin and auditor roles only, and at most two concurrent calls per credential (429 beyond that).
Authorization
Send one of these on every request. See Authentication for how to get credentials.
- API key
Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.
- Bearer token
Path parameters
-
accountIdstring · uuidrequired
Query parameters
-
fromstring · dateStart of the statement period, inclusive. A UTC calendar date in
YYYY-MM-DDformat. -
tostring · dateEnd of the statement period. A UTC calendar date in
YYYY-MM-DDformat; must be afterfrom.
Response
-
balanceAccountIdstring · uuid -
currencystring -
periodStartstring · date-time -
periodEndstring · date-time -
openingBalanceinteger · int64 -
closingBalanceinteger · int64 -
transactionsarray of object-
providerIdstring -
directionstring⚠️ This enum is not exhaustive; new values may be added in the future.
One of
DEBITCREDIT -
amountinteger · int64 -
runningBalanceinteger · int64 -
bookedAtstring · date-time -
valuedAtstring · date-time -
descriptionstring -
referencestring
-
-
generatedAtstring · date-time