transactionsGet

POST {{baseUrl}}/transactions/get

The /transactions/get endpoint allows developers to receive user-authorized transaction data for credit, depository, and some loan-type accounts (only those with account subtype student; coverage may be limited). For transaction history from investments accounts, use the Investments endpoint instead. Transaction data is standardized across financial institutions, and in many cases transactions are linked to a clean name, entity type, location, and category. Similarly, account data is standardized and returned with a clean name, number, balance, and other meta information where available.

Transactions are returned in reverse-chronological order, and the sequence of transaction ordering is stable and will not shift. Transactions are not immutable and can also be removed altogether by the institution; a removed transaction will no longer appear in /transactions/get. For more details, see Pending and posted transactions.

Due to the potentially large number of transactions associated with an Item, results are paginated. Manipulate the count and offset parameters in conjunction with the total_transactions response body field to fetch all available transactions.

Data returned by /transactions/get will be the data available for the Item as of the most recent successful check for new transactions. Plaid typically checks for new data multiple times a day, but these checks may occur less frequently, such as once a day, depending on the institution. An Item's status.transactions.last_successful_update field will show the timestamp of the most recent successful update. To force Plaid to check for new transactions, you can use the /transactions/refresh endpoint.

Note that data may not be immediately available to /transactions/get. Plaid will begin to prepare transactions data upon Item link, if Link was initialized with transactions, or upon the first call to /transactions/get, if it wasn't. To be alerted when transaction data is ready to be fetched, listen for the INITIAL_UPDATE and HISTORICAL_UPDATE webhooks. If no transaction history is ready when /transactions/get is called, it will return a PRODUCT_NOT_READY error.

Request Body

{"access_token"=>"<string>", "start_date"=>"<string>", "end_date"=>"<string>", "client_id"=>"5fd43aad1186c30013d6f3e2", "options"=>{"account_ids"=>["<string>", "<string>"], "count"=>100, "offset"=>0, "include_original_description"=>false, "include_personal_finance_category_beta"=>false}, "secret"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

{&quot;accounts&quot;:[{&quot;account_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;balances&quot;:{&quot;available&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;current&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;limit&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;iso_currency_code&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;unofficial_currency_code&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;last_updated_datetime&quot;:&quot;\u003cstring,null\u003e&quot;},&quot;mask&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;official_name&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;subtype&quot;:&quot;\u003cstring,number\u003e&quot;,&quot;verification_status&quot;:&quot;\u003cstring\u003e&quot;},{&quot;account_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;balances&quot;:{&quot;available&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;current&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;limit&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;iso_currency_code&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;unofficial_currency_code&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;last_updated_datetime&quot;:&quot;\u003cstring,null\u003e&quot;},&quot;mask&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;official_name&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;type&quot;:&quot;\u003cstring\u003e&quot;,&quot;subtype&quot;:&quot;\u003cstring,number\u003e&quot;,&quot;verification_status&quot;:&quot;\u003cstring\u003e&quot;}],&quot;transactions&quot;:[{&quot;pending_transaction_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;category_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;category&quot;:&quot;\u003carray,null\u003e&quot;,&quot;location&quot;:{&quot;address&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;city&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;region&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;postal_code&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;country&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;lat&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;lon&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;store_number&quot;:&quot;\u003cstring,null\u003e&quot;},&quot;payment_meta&quot;:{&quot;reference_number&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;ppd_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;payee&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;by_order_of&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;payer&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;payment_method&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;payment_processor&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;reason&quot;:&quot;\u003cstring,null\u003e&quot;},&quot;account_owner&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;account_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;amount&quot;:&quot;\u003cnumber\u003e&quot;,&quot;iso_currency_code&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;unofficial_currency_code&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;date&quot;:&quot;\u003cstring\u003e&quot;,&quot;pending&quot;:&quot;\u003cboolean\u003e&quot;,&quot;transaction_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;payment_channel&quot;:&quot;\u003cstring\u003e&quot;,&quot;authorized_date&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;authorized_datetime&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;datetime&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;transaction_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;original_description&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;merchant_name&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;check_number&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;personal_finance_category&quot;:{&quot;primary&quot;:&quot;\u003cstring\u003e&quot;,&quot;detailed&quot;:&quot;\u003cstring\u003e&quot;}},{&quot;pending_transaction_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;category_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;category&quot;:&quot;\u003carray,null\u003e&quot;,&quot;location&quot;:{&quot;address&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;city&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;region&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;postal_code&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;country&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;lat&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;lon&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;store_number&quot;:&quot;\u003cstring,null\u003e&quot;},&quot;payment_meta&quot;:{&quot;reference_number&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;ppd_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;payee&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;by_order_of&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;payer&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;payment_method&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;payment_processor&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;reason&quot;:&quot;\u003cstring,null\u003e&quot;},&quot;account_owner&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;account_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;amount&quot;:&quot;\u003cnumber\u003e&quot;,&quot;iso_currency_code&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;unofficial_currency_code&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;date&quot;:&quot;\u003cstring\u003e&quot;,&quot;pending&quot;:&quot;\u003cboolean\u003e&quot;,&quot;transaction_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;payment_channel&quot;:&quot;\u003cstring\u003e&quot;,&quot;authorized_date&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;authorized_datetime&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;datetime&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;transaction_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;original_description&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;merchant_name&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;check_number&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;personal_finance_category&quot;:{&quot;primary&quot;:&quot;\u003cstring\u003e&quot;,&quot;detailed&quot;:&quot;\u003cstring\u003e&quot;}}],&quot;total_transactions&quot;:&quot;\u003cinteger\u003e&quot;,&quot;item&quot;:{&quot;item_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;webhook&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;error&quot;:{&quot;error_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;error_code&quot;:&quot;\u003cstring\u003e&quot;,&quot;error_message&quot;:&quot;\u003cstring\u003e&quot;,&quot;display_message&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;request_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;causes&quot;:[&quot;\u003cobject\u003e&quot;,&quot;\u003cobject\u003e&quot;],&quot;status&quot;:&quot;\u003cnumber,null\u003e&quot;,&quot;documentation_url&quot;:&quot;\u003cstring\u003e&quot;,&quot;suggested_action&quot;:&quot;\u003cstring\u003e&quot;},&quot;available_products&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;billed_products&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;consent_expiration_time&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;update_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;institution_id&quot;:&quot;\u003cstring,null\u003e&quot;,&quot;products&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;]},&quot;request_id&quot;:&quot;\u003cstring\u003e&quot;}