Webhook event
Statement Status Updated
STATEMENT_STATUS_UPDATEDFired when a requested statement finishes: GENERATED when its file is ready to download via GET /statements/{id}/download, or FAILED when it could not be produced.
Body
application/json
idstringrequiredUnique event identifier for idempotency
typestringrequiredWebhook event type
STATEMENT_STATUS_UPDATEDdataobjectrequiredShow child attributes
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
Response
200Webhook received successfully. Return any 2xx status to acknowledge.
