Account Statements
Loading...
Loading...
Fetch PDF bank statements via GraphQL. Query by date range, specific dates, or get the most recent statement per account.
Time: ~10 minutes
In the Dashboard:
Note: Providers may have different sandbox PDFs. Mock provider always generates test statements.
Use the GraphQL Explorer (in Dashboard → Profiles) to test queries.
query Statements {
statements {
nodes {
id
url
startOn
endOn
account {
id
}
}
}
}
query MostRecentAccountsStatements {
accounts {
id
name
mask
statements(first: 1, sort: DATE_DESC) {
nodes {
id
startOn
endOn
url
}
}
}
}
Query statements covering a specific period:
query ForADateRange {
statements(filter: {
for: {
start: "2024-05-01",
end: "2024-05-31",
accountIds: "acct_12xBsJKrI455PNcaCkqpGh"
}
}) {
nodes {
id
startOn
url
endOn
account {
id
}
}
}
}
Useful for verifying transactions on a particular day:
query OnADate {
statements(filter: {
on: "2024-05-15",
accountIds: ["acct_12xBsJKrI455PNcaCkqpGh"]
}) {
nodes {
id
startOn
url
endOn
account {
id
}
}
}
}
Get notified when statements are ready:
statement.ready eventPayload example:
{
"environment": {
"id": "env_12x7tvznCY1sViGjIodYZG",
"mode": "TEST",
"name": "Demo",
"metadata": null
},
"eventTypes": [
"statement.ready"
],
"events": [
{
"id": "evt_12xBw2z462GwN9789v9WOQ",
"type": "statement.ready",
"profile": {
"id": "p_12xBsIaXKUM3DAZJ8ujQp7",
"uuid": "0190db0c-0b7d-70fb-afff-dbb1b4fffa21",
"metadata": null
},
"record": {
"id": "stmt_12xBsK2UMUCC25KkCApg66",
"accountId": "acct_12xBsJKrI455PNcaCkqpGh",
"startOn": "2024-04-01",
"endOn": "2024-04-30",
"url": "https://cdn.quiltt.io/v1/private/.../statement.pdf"
}
}
]
}
You've successfully set up Account Statements! This feature works with webhooks to notify you when statements are available.
Related Tutorials:
Reference Documentation:
Questions? Contact support