Statements
Get statement
https://api.firstleeward.com/v0/statements/:idRetrieves a statement by id.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Path Parameters
idstring<uuid>requiredStatement ID
Response
200Statement resource
idstring<uuid>requiredUnique statement identifier
typestringrequiredWhat the statement itemises
CARD_TRANSACTION_FEESCARD_NON_TRANSACTION_FEESoriginstringrequiredWho requested the statement
CLIENTFIRST_LEEWARDstatusstringrequiredCurrent statement status
PENDINGGENERATEDFAILEDperiodobjectrequiredShow child attributes
fromstring<date>requiredFirst calendar day covered, inclusive, UTC
tostring<date>requiredLast calendar day covered, inclusive, UTC
fieldsstring[] | nullrequiredColumns in the file, in order. null means every column of the type.
formatstringrequiredFile format
CSVversionstringrequiredAPI version the statement was requested under. Fixes the column definitions the file follows.
rowCountinteger | nullrequiredNumber of data rows in the file, once generated
byteSizeinteger | nullrequiredSize of the file in bytes, once generated
dataAsOfstring | nullrequiredISO 8601 timestamp of how fresh the source data was when the file was produced, when known
generatedAtstring | nullrequiredISO 8601 timestamp of when the file became available
createdAtstringrequiredISO 8601 timestamp of creation
updatedAtstringrequiredISO 8601 timestamp of last update
404Statement not found
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired