Statements
API reference for Statements endpoints and webhooks
Statements is currently in beta. To request access, contact Support or your Plaid Account Manager.
| Endpoint | Description |
|---|---|
/statements/list | Get a list of statements available to download |
/statements/download | Download a single bank statement |
/statements/refresh | Trigger on-demand statement extractions |
| Webhook Name | Description |
|---|---|
STATEMENTS_REFRESH_COMPLETE | Statements refresh completed |
Endpoints
/statements/list
Retrieve a list of all statements associated with the provided item.
The /statements/list endpoint retrieves a list of all statements associated with the provided item.
Request fields and example
access_tokenclient_idclient_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.secretsecret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.1Sample code coming soon!Response fields and example
accountsaccount_idaccount_maskaccount_nameaccount_official_nameaccount_subtypeaccount_typestatementsstatement_idmonthyear2010 institution_idinstitution_nameitem_iditem_id is always unique; linking the same account at the same institution twice will result in two Items with different item_id values. Like all Plaid identifiers, the item_id is case-sensitive.request_id1{2 "item_id": "eVBnVMp7zdTJLkRNr33Rs6zr7KNJqBFL9DrE6",3 "institution_id": "ins_3",4 "institution_name": "Chase",5 "accounts": [6 {7 "account_id": "3gE5gnRzNyfXpBK5wEEKcymJ5albGVUqg77gr",8 "account_mask": "0000",9 "account_name": "Plaid Saving",10 "account_official_name": "Plaid Silver Standard 0.1% Interest Saving",11 "account_subtype": "savings",12 "account_type": "depository",13 "statements": [14 {15 "statement_id": "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D",16 "month": 5,17 "year": 202318 }19 ]20 }21 ],22 "request_id": "eYupqX1mZkEuQRx"23}Was this helpful?
/statements/download
Retrieve a single statement.
The /statements/download endpoint retrieves a single statement PDF in binary format. The response will contain a Plaid-Content-Hash header containing a SHA 256 checksum of the statement. This can be used to verify that the file being sent by Plaid is the same file that was downloaded to your system.
Request fields and example
access_tokenclient_idclient_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.secretsecret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.statement_id1Sample code coming soon!Response
This endpoint returns a single statement, exactly as provided by the financial institution, in the form of binary PDF data.
/statements/refresh
Refresh statements data.
/statements/refresh initiates an on-demand extraction to fetch the statements for the provided dates.
Request fields and example
access_tokenclient_idclient_id. The client_id is required and may be provided either in the PLAID-CLIENT-ID header or as part of a request body.secretsecret. The secret is required and may be provided either in the PLAID-SECRET header or as part of a request body.start_datedate end_datedate 1Sample code coming soon!Response fields and example
request_id1{2 "request_id": "eYupqX1mZkEuQRx"3}Was this helpful?
Webhooks
Statement webhooks are sent to indicate that statements refresh has finished processing. All webhooks related to statements have a webhook_type of STATEMENTS.
STATEMENTS_REFRESH_COMPLETE
Fired when refreshed statements extraction is completed or failed to be completed. Triggered by calling /statements/refresh.
webhook_typeSTATEMENTSwebhook_codeSTATEMENTS_REFRESH_COMPLETEitem_iditem_id is always unique; linking the same account at the same institution twice will result in two Items with different item_id values. Like all Plaid identifiers, the item_id is case-sensitive.resultSUCCESS: The statements were successfully extracted and can be listed via /statements/list/ and downloaded via /statements/download/.FAILURE: The statements failed to be extracted.SUCCESS, FAILUREenvironmentdevelopment, sandbox, production1{2 "webhook_type": "STATEMENTS",3 "webhook_code": "STATEMENTS_REFRESH_COMPLETE",4 "item_id": "eVBnVMp7zdTJLkRNr33Rs6zr7KNJqBFL9DrE6",5 "result": "SUCCESS",6 "environment": "production"7}