cURL
curl --request POST \ --url https://sandbox.tight.com/v6/banks/statements/query \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "cursor": "<string>", "limit": 123, "sort": { "orderBy": "BEGIN_DATE", "direction": "ASC" }, "filter": { "status": { "in": [ "ACTIVE" ], "notIn": [ "ACTIVE" ], "equal": "ACTIVE", "notEqual": "ACTIVE", "greaterThan": "ACTIVE", "greaterThanEqual": "ACTIVE", "lessThan": "ACTIVE", "lessThanEqual": "ACTIVE" } } } '
{ "result": "SUCCESS", "data": [ { "id": "bst_28868401", "status": "ACTIVE", "url": "https://cdn.sandbox.tight.com/statements/bst_28868401.pdf", "bankAccount": { "id": "bka_7542850", "name": "Business Checking **1687", "displayName": "Business Checking **1687" }, "period": { "beginDate": "2024-01-01", "endDate": "2024-01-31" }, "customData": { "internal_key": "some_internal_key", "some_other_field": 23434 } } ], "cursor": { "after": "<string>", "before": "<string>" } }
Query bank statements for the authenticated user
Bearer authentication header of the form Bearer <token>, see Authentication for more detail.
Bearer <token>
Cursor from the previous paginated response
Page size, i.e. number of items to return per page
x <= 250
Sort order for the items in the response.
Show child attributes
Filter for items in the response.
Success
The result of the action performed.
SUCCESS
FAILURE
The data generated by the action performed.
Cursor to be used in your subsequent paginated request. Only populated if there are more pages available.