Processor partner endpoints
API reference for endpoints for use by Plaid partners
Partner processor endpoints are used by Plaid partners to integrate with Plaid. Instead of using an access_token
associated with a Plaid Item
, these endpoints use a processor_token
to identify a single financial account. These endpoints are used only by partners and not by developers who are using those partners' APIs. If you are a Plaid developer who would like to use a partner, see Processor token endpoints. To learn how to move money with one of our partners, see Move money with Auth.
In this section | |
---|---|
/processor/account/get | Fetch Account data |
/processor/auth/get | Fetch Auth data |
/processor/balance/get | Fetch Balance data |
/processor/identity/get | Fetch Identity data |
/processor/identity/match | Retrieve Identity match scores |
/processor/investments/holdings/get | Fetch Investments Holdings data |
/processor/investments/transactions/get | Fetch Investments Transactions data |
/processor/liabilities/get | Retrieve Liabilities data |
/processor/signal/evaluate | Retrieve Signal scores |
/processor/signal/decision/report | Report whether you initiated an ACH transaction |
/processor/signal/return/report | Report a return for an ACH transaction |
/processor/signal/prepare | Prepare a processor token for Signal |
/processor/token/webhook/update | Set the webhook URL for a processor token |
/processor/transactions/sync | Get transaction data or incremental transaction updates |
/processor/transactions/get | Fetch transaction data |
/processor/transactions/recurring/get | Fetch recurring transaction data |
/processor/transactions/refresh | Refresh transaction data |
Webhooks | |
---|---|
WEBHOOK_UPDATE_ACKNOWLEDGED | Item's webhook receiver endpoint has been updated |
/processor/account/get
Retrieve the account associated with a processor token
This endpoint returns the account associated with a given processor token.
This endpoint retrieves cached information, rather than extracting fresh information from the institution. As a result, the account balance returned may not be up-to-date; for realtime balance information, use /processor/balance/get
instead. Note that some information is nullable.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.processor_token
processor-<environment>-<identifier>
secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.1try {2 const request: ProcessorAccountGetRequest = {3 processor_token: processorToken,4 };5 const response = await plaidClient.ProcessorAccountGet(request);6} catch (error) {7 // handle error8}
Response fields and example
account
account_id
account_id
will be assigned to the account.The
account_id
can also change if the access_token
is deleted and the same credentials that were used to generate that access_token
are used to generate a new access_token
on a later date. In that case, the new account_id
will be different from the old account_id
.If an account with a specific
account_id
disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.Like all Plaid identifiers, the
account_id
is case sensitive.balances
/accounts/balance/get
.available
For
credit
-type accounts, the available
balance typically equals the limit
less the current
balance, less any pending outflows plus any pending inflows.For
depository
-type accounts, the available
balance typically equals the current
balance less any pending outflows plus any pending inflows. For depository
-type accounts, the available
balance does not include the overdraft limit.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the available
balance is the total cash available to withdraw as presented by the institution.Note that not all institutions calculate the
available
balance. In the event that available
balance is unavailable, Plaid will return an available
balance value of null
.Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by
/accounts/balance/get
.If
current
is null
this field is guaranteed not to be null
.double
current
For
credit
-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder.For
loan
-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (ins_116944
). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution.Note that balance information may be cached unless the value was returned by
/accounts/balance/get
; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the available
balance as provided by /accounts/balance/get
.When returned by
/accounts/balance/get
, this field may be null
. When this happens, available
is guaranteed not to be null
.double
limit
credit
-type accounts, this represents the credit limit.For
depository
-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe.In North America, this field is typically only available for
credit
-type accounts.double
iso_currency_code
unofficial_currency_code
is non-null.unofficial_currency _code
iso_currency_code
is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
unofficial_currency_code
s.last_updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only used and expected when the institution is
ins_128026
(Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See account type schema for a full list of account types.If the balance that is pulled is older than the given timestamp for Items with this field required, an
INVALID_REQUEST
error with the code of LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned with the most recent timestamp for the requested account contained in the response.date-time
mask
name
official_name
type
investment:
Investment account. In API versions 2018-05-22 and earlier, this type is called brokerage
instead.credit:
Credit carddepository:
Depository accountloan:
Loan accountother:
Non-specified account typeSee the Account type schema for a full listing of account types and corresponding subtypes.
investment
, credit
, depository
, loan
, brokerage
, other
subtype
401a
, 401k
, 403B
, 457b
, 529
, auto
, brokerage
, business
, cash isa
, cash management
, cd
, checking
, commercial
, construction
, consumer
, credit card
, crypto exchange
, ebt
, education savings account
, fixed annuity
, gic
, health reimbursement arrangement
, home equity
, hsa
, isa
, ira
, keogh
, lif
, life insurance
, line of credit
, lira
, loan
, lrif
, lrsp
, money market
, mortgage
, mutual fund
, non-custodial wallet
, non-taxable brokerage account
, other
, other insurance
, other annuity
, overdraft
, paypal
, payroll
, pension
, prepaid
, prif
, profit sharing plan
, rdsp
, resp
, retirement
, rlif
, roth
, roth 401k
, rrif
, rrsp
, sarsep
, savings
, sep ira
, simple ira
, sipp
, stock plan
, student
, thrift savings plan
, tfsa
, trust
, ugma
, utma
, variable annuity
verification_status
pending_automatic_verification
: The Item is pending automatic verificationpending_manual_verification
: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit.automatically_verified
: The Item has successfully been automatically verified manually_verified
: The Item has successfully been manually verifiedverification_expired
: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link.verification_failed
: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.database_matched
: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match.database_insights_pass
: The Item's numbers have been verified using Plaid's data sources and have strong signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_pass_with_caution
: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_fail
: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.automatically_verified
, pending_automatic_verification
, pending_manual_verification
, manually_verified
, verification_expired
, verification_failed
, database_matched
, database_insights_pass
, database_insights_pass_with_caution
, database_insights_fail
verification_insights
network_status
has_numbers_match
is_numbers_match _verified
previous_returns
has_previous _administrative_return
account_number_format
valid
: indicates that the account number has a correct format for the institution.invalid
: indicates that the account number has an incorrect format for the institution.unknown
: indicates that there was not enough information to determine whether the format is correct for the institution.valid
, invalid
, unknown
persistent_account_id
holder_category
business
, personal
, unrecognized
institution_id
request_id
1{2 "account": {3 "account_id": "QKKzevvp33HxPWpoqn6rI13BxW4awNSjnw4xv",4 "balances": {5 "available": 100,6 "current": 110,7 "limit": null,8 "iso_currency_code": "USD",9 "unofficial_currency_code": null10 },11 "mask": "0000",12 "name": "Plaid Checking",13 "official_name": "Plaid Gold Checking",14 "subtype": "checking",15 "type": "depository"16 },17 "institution_id": "ins_109508",18 "request_id": "1zlMf"19}
Was this helpful?
/processor/auth/get
Retrieve Auth data
The /processor/auth/get
endpoint returns the bank account and bank identification number (such as the routing number, for US accounts), for a checking, savings, or cash management account that''s associated with a given processor_token
. The endpoint also returns high-level account data and balances when available.
Versioning note: API versions 2019-05-29 and earlier use a different schema for the numbers
object returned by this endpoint. For details, see Plaid API versioning.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.processor_token
processor-<environment>-<identifier>
1const request: ProcessorAuthGetRequest = {2 processor_token: processorToken,3};4const response = plaidClient.processorAuthGet(request);
Response fields and example
request_id
numbers
account
. The identifying number type (ACH, EFT, IBAN, or BACS) used will depend on the country of the account. An account may have more than one number type. If a particular identifying number type is not used by the account
for which auth data has been requested, a null value will be returned.ach
account_id
account
At certain institutions, including Chase and PNC, you will receive "tokenized" routing and account numbers, which are not the user's actual account and routing numbers. For important details on how this may impact your integration and on how to avoid fraud, user confusion, and ACH returns, see Tokenized account numbers.
is_tokenized_account _number
routing
wire_routing
eft
account_id
account
institution
branch
international
account_id
iban
bic
bacs
account_id
account
sort_code
account
account_id
account_id
will be assigned to the account.The
account_id
can also change if the access_token
is deleted and the same credentials that were used to generate that access_token
are used to generate a new access_token
on a later date. In that case, the new account_id
will be different from the old account_id
.If an account with a specific
account_id
disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.Like all Plaid identifiers, the
account_id
is case sensitive.balances
/accounts/balance/get
.available
For
credit
-type accounts, the available
balance typically equals the limit
less the current
balance, less any pending outflows plus any pending inflows.For
depository
-type accounts, the available
balance typically equals the current
balance less any pending outflows plus any pending inflows. For depository
-type accounts, the available
balance does not include the overdraft limit.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the available
balance is the total cash available to withdraw as presented by the institution.Note that not all institutions calculate the
available
balance. In the event that available
balance is unavailable, Plaid will return an available
balance value of null
.Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by
/accounts/balance/get
.If
current
is null
this field is guaranteed not to be null
.double
current
For
credit
-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder.For
loan
-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (ins_116944
). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution.Note that balance information may be cached unless the value was returned by
/accounts/balance/get
; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the available
balance as provided by /accounts/balance/get
.When returned by
/accounts/balance/get
, this field may be null
. When this happens, available
is guaranteed not to be null
.double
limit
credit
-type accounts, this represents the credit limit.For
depository
-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe.In North America, this field is typically only available for
credit
-type accounts.double
iso_currency_code
unofficial_currency_code
is non-null.unofficial_currency _code
iso_currency_code
is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
unofficial_currency_code
s.last_updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only used and expected when the institution is
ins_128026
(Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See account type schema for a full list of account types.If the balance that is pulled is older than the given timestamp for Items with this field required, an
INVALID_REQUEST
error with the code of LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned with the most recent timestamp for the requested account contained in the response.date-time
mask
name
official_name
type
investment:
Investment account. In API versions 2018-05-22 and earlier, this type is called brokerage
instead.credit:
Credit carddepository:
Depository accountloan:
Loan accountother:
Non-specified account typeSee the Account type schema for a full listing of account types and corresponding subtypes.
investment
, credit
, depository
, loan
, brokerage
, other
subtype
401a
, 401k
, 403B
, 457b
, 529
, auto
, brokerage
, business
, cash isa
, cash management
, cd
, checking
, commercial
, construction
, consumer
, credit card
, crypto exchange
, ebt
, education savings account
, fixed annuity
, gic
, health reimbursement arrangement
, home equity
, hsa
, isa
, ira
, keogh
, lif
, life insurance
, line of credit
, lira
, loan
, lrif
, lrsp
, money market
, mortgage
, mutual fund
, non-custodial wallet
, non-taxable brokerage account
, other
, other insurance
, other annuity
, overdraft
, paypal
, payroll
, pension
, prepaid
, prif
, profit sharing plan
, rdsp
, resp
, retirement
, rlif
, roth
, roth 401k
, rrif
, rrsp
, sarsep
, savings
, sep ira
, simple ira
, sipp
, stock plan
, student
, thrift savings plan
, tfsa
, trust
, ugma
, utma
, variable annuity
verification_status
pending_automatic_verification
: The Item is pending automatic verificationpending_manual_verification
: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit.automatically_verified
: The Item has successfully been automatically verified manually_verified
: The Item has successfully been manually verifiedverification_expired
: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link.verification_failed
: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.database_matched
: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match.database_insights_pass
: The Item's numbers have been verified using Plaid's data sources and have strong signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_pass_with_caution
: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_fail
: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.automatically_verified
, pending_automatic_verification
, pending_manual_verification
, manually_verified
, verification_expired
, verification_failed
, database_matched
, database_insights_pass
, database_insights_pass_with_caution
, database_insights_fail
verification_insights
network_status
has_numbers_match
is_numbers_match _verified
previous_returns
has_previous _administrative_return
account_number_format
valid
: indicates that the account number has a correct format for the institution.invalid
: indicates that the account number has an incorrect format for the institution.unknown
: indicates that there was not enough information to determine whether the format is correct for the institution.valid
, invalid
, unknown
persistent_account_id
holder_category
business
, personal
, unrecognized
1{2 "account": {3 "account_id": "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D",4 "balances": {5 "available": 100,6 "current": 110,7 "iso_currency_code": "USD",8 "limit": null,9 "unofficial_currency_code": null10 },11 "mask": "0000",12 "name": "Plaid Checking",13 "official_name": "Plaid Gold Checking",14 "subtype": "checking",15 "type": "depository"16 },17 "numbers": {18 "ach": {19 "account": "9900009606",20 "account_id": "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D",21 "routing": "011401533",22 "wire_routing": "021000021"23 },24 "eft": {25 "account": "111122223333",26 "account_id": "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D",27 "institution": "021",28 "branch": "01140"29 },30 "international": {31 "account_id": "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D",32 "bic": "NWBKGB21",33 "iban": "GB29NWBK60161331926819"34 },35 "bacs": {36 "account": "31926819",37 "account_id": "vzeNDwK7KQIm4yEog683uElbp9GRLEFXGK98D",38 "sort_code": "601613"39 }40 },41 "request_id": "1zlMf"42}
Was this helpful?
/processor/balance/get
Retrieve Balance data
The /processor/balance/get
endpoint returns the real-time balance for each of an Item's accounts. While other endpoints may return a balance object, only /processor/balance/get
forces the available and current balance fields to be refreshed rather than cached.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.processor_token
processor-<environment>-<identifier>
options
/processor/balance/get
.min_last_updated _datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only necessary when the institution is
ins_128026
(Capital One), and one or more account types being requested is a non-depository account (such as a credit card) as Capital One does not provide real-time balance for non-depository accounts. In this case, a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For all other institutions, as well as for depository accounts at Capital One (including all checking and savings accounts) this field is ignored and real-time balance information will be fetched.If this field is not ignored, and no acceptable balance is available, an
INVALID_RESULT
error with the code LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned.date-time
1const request: ProcessorBalanceGetRequest = {2 processor_token: processorToken,3};4const response = plaidClient.processorBalanceGet(request);
Response fields and example
account
account_id
account_id
will be assigned to the account.The
account_id
can also change if the access_token
is deleted and the same credentials that were used to generate that access_token
are used to generate a new access_token
on a later date. In that case, the new account_id
will be different from the old account_id
.If an account with a specific
account_id
disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.Like all Plaid identifiers, the
account_id
is case sensitive.balances
/accounts/balance/get
.available
For
credit
-type accounts, the available
balance typically equals the limit
less the current
balance, less any pending outflows plus any pending inflows.For
depository
-type accounts, the available
balance typically equals the current
balance less any pending outflows plus any pending inflows. For depository
-type accounts, the available
balance does not include the overdraft limit.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the available
balance is the total cash available to withdraw as presented by the institution.Note that not all institutions calculate the
available
balance. In the event that available
balance is unavailable, Plaid will return an available
balance value of null
.Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by
/accounts/balance/get
.If
current
is null
this field is guaranteed not to be null
.double
current
For
credit
-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder.For
loan
-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (ins_116944
). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution.Note that balance information may be cached unless the value was returned by
/accounts/balance/get
; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the available
balance as provided by /accounts/balance/get
.When returned by
/accounts/balance/get
, this field may be null
. When this happens, available
is guaranteed not to be null
.double
limit
credit
-type accounts, this represents the credit limit.For
depository
-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe.In North America, this field is typically only available for
credit
-type accounts.double
iso_currency_code
unofficial_currency_code
is non-null.unofficial_currency _code
iso_currency_code
is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
unofficial_currency_code
s.last_updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only used and expected when the institution is
ins_128026
(Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See account type schema for a full list of account types.If the balance that is pulled is older than the given timestamp for Items with this field required, an
INVALID_REQUEST
error with the code of LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned with the most recent timestamp for the requested account contained in the response.date-time
mask
name
official_name
type
investment:
Investment account. In API versions 2018-05-22 and earlier, this type is called brokerage
instead.credit:
Credit carddepository:
Depository accountloan:
Loan accountother:
Non-specified account typeSee the Account type schema for a full listing of account types and corresponding subtypes.
investment
, credit
, depository
, loan
, brokerage
, other
subtype
401a
, 401k
, 403B
, 457b
, 529
, auto
, brokerage
, business
, cash isa
, cash management
, cd
, checking
, commercial
, construction
, consumer
, credit card
, crypto exchange
, ebt
, education savings account
, fixed annuity
, gic
, health reimbursement arrangement
, home equity
, hsa
, isa
, ira
, keogh
, lif
, life insurance
, line of credit
, lira
, loan
, lrif
, lrsp
, money market
, mortgage
, mutual fund
, non-custodial wallet
, non-taxable brokerage account
, other
, other insurance
, other annuity
, overdraft
, paypal
, payroll
, pension
, prepaid
, prif
, profit sharing plan
, rdsp
, resp
, retirement
, rlif
, roth
, roth 401k
, rrif
, rrsp
, sarsep
, savings
, sep ira
, simple ira
, sipp
, stock plan
, student
, thrift savings plan
, tfsa
, trust
, ugma
, utma
, variable annuity
verification_status
pending_automatic_verification
: The Item is pending automatic verificationpending_manual_verification
: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit.automatically_verified
: The Item has successfully been automatically verified manually_verified
: The Item has successfully been manually verifiedverification_expired
: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link.verification_failed
: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.database_matched
: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match.database_insights_pass
: The Item's numbers have been verified using Plaid's data sources and have strong signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_pass_with_caution
: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_fail
: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.automatically_verified
, pending_automatic_verification
, pending_manual_verification
, manually_verified
, verification_expired
, verification_failed
, database_matched
, database_insights_pass
, database_insights_pass_with_caution
, database_insights_fail
verification_insights
network_status
has_numbers_match
is_numbers_match _verified
previous_returns
has_previous _administrative_return
account_number_format
valid
: indicates that the account number has a correct format for the institution.invalid
: indicates that the account number has an incorrect format for the institution.unknown
: indicates that there was not enough information to determine whether the format is correct for the institution.valid
, invalid
, unknown
persistent_account_id
holder_category
business
, personal
, unrecognized
request_id
1{2 "account": {3 "account_id": "QKKzevvp33HxPWpoqn6rI13BxW4awNSjnw4xv",4 "balances": {5 "available": 100,6 "current": 110,7 "limit": null,8 "iso_currency_code": "USD",9 "unofficial_currency_code": null10 },11 "mask": "0000",12 "name": "Plaid Checking",13 "official_name": "Plaid Gold Checking",14 "subtype": "checking",15 "type": "depository"16 },17 "request_id": "1zlMf"18}
Was this helpful?
/processor/identity/get
Retrieve Identity data
The /processor/identity/get
endpoint allows you to retrieve various account holder information on file with the financial institution, including names, emails, phone numbers, and addresses.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.processor_token
processor-<environment>-<identifier>
1const request: ProcessorIdentityGetRequest = {2 processor_token: processorToken,3};4const response = plaidClient.processorIdentityGet(request);
Response fields and example
account
account_id
account_id
will be assigned to the account.The
account_id
can also change if the access_token
is deleted and the same credentials that were used to generate that access_token
are used to generate a new access_token
on a later date. In that case, the new account_id
will be different from the old account_id
.If an account with a specific
account_id
disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.Like all Plaid identifiers, the
account_id
is case sensitive.balances
/accounts/balance/get
.available
For
credit
-type accounts, the available
balance typically equals the limit
less the current
balance, less any pending outflows plus any pending inflows.For
depository
-type accounts, the available
balance typically equals the current
balance less any pending outflows plus any pending inflows. For depository
-type accounts, the available
balance does not include the overdraft limit.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the available
balance is the total cash available to withdraw as presented by the institution.Note that not all institutions calculate the
available
balance. In the event that available
balance is unavailable, Plaid will return an available
balance value of null
.Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by
/accounts/balance/get
.If
current
is null
this field is guaranteed not to be null
.double
current
For
credit
-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder.For
loan
-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (ins_116944
). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution.Note that balance information may be cached unless the value was returned by
/accounts/balance/get
; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the available
balance as provided by /accounts/balance/get
.When returned by
/accounts/balance/get
, this field may be null
. When this happens, available
is guaranteed not to be null
.double
limit
credit
-type accounts, this represents the credit limit.For
depository
-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe.In North America, this field is typically only available for
credit
-type accounts.double
iso_currency_code
unofficial_currency_code
is non-null.unofficial_currency _code
iso_currency_code
is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
unofficial_currency_code
s.last_updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only used and expected when the institution is
ins_128026
(Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See account type schema for a full list of account types.If the balance that is pulled is older than the given timestamp for Items with this field required, an
INVALID_REQUEST
error with the code of LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned with the most recent timestamp for the requested account contained in the response.date-time
mask
name
official_name
type
investment:
Investment account. In API versions 2018-05-22 and earlier, this type is called brokerage
instead.credit:
Credit carddepository:
Depository accountloan:
Loan accountother:
Non-specified account typeSee the Account type schema for a full listing of account types and corresponding subtypes.
investment
, credit
, depository
, loan
, brokerage
, other
subtype
401a
, 401k
, 403B
, 457b
, 529
, auto
, brokerage
, business
, cash isa
, cash management
, cd
, checking
, commercial
, construction
, consumer
, credit card
, crypto exchange
, ebt
, education savings account
, fixed annuity
, gic
, health reimbursement arrangement
, home equity
, hsa
, isa
, ira
, keogh
, lif
, life insurance
, line of credit
, lira
, loan
, lrif
, lrsp
, money market
, mortgage
, mutual fund
, non-custodial wallet
, non-taxable brokerage account
, other
, other insurance
, other annuity
, overdraft
, paypal
, payroll
, pension
, prepaid
, prif
, profit sharing plan
, rdsp
, resp
, retirement
, rlif
, roth
, roth 401k
, rrif
, rrsp
, sarsep
, savings
, sep ira
, simple ira
, sipp
, stock plan
, student
, thrift savings plan
, tfsa
, trust
, ugma
, utma
, variable annuity
verification_status
pending_automatic_verification
: The Item is pending automatic verificationpending_manual_verification
: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit.automatically_verified
: The Item has successfully been automatically verified manually_verified
: The Item has successfully been manually verifiedverification_expired
: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link.verification_failed
: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.database_matched
: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match.database_insights_pass
: The Item's numbers have been verified using Plaid's data sources and have strong signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_pass_with_caution
: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_fail
: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.automatically_verified
, pending_automatic_verification
, pending_manual_verification
, manually_verified
, verification_expired
, verification_failed
, database_matched
, database_insights_pass
, database_insights_pass_with_caution
, database_insights_fail
verification_insights
network_status
has_numbers_match
is_numbers_match _verified
previous_returns
has_previous _administrative_return
account_number_format
valid
: indicates that the account number has a correct format for the institution.invalid
: indicates that the account number has an incorrect format for the institution.unknown
: indicates that there was not enough information to determine whether the format is correct for the institution.valid
, invalid
, unknown
persistent_account_id
holder_category
business
, personal
, unrecognized
owners
owner
object, not in multiple owner objects within the array. In API versions 2018-05-22 and earlier, the owners
object is not returned, and instead identity information is returned in the top level identity
object. For more details, see Plaid API versioningnames
If an Item contains multiple accounts with different owner names, some institutions will report all names associated with the Item in each account's
names
array.phone_numbers
emails
addresses
data
city
region
state
.
Example: "NC"
street
"564 Main Street, APT 15"
postal_code
zip
.country
primary
true
, identifies the address as the primary address on an account.request_id
1{2 "account": {3 "account_id": "XMGPJy4q1gsQoKd5z9R3tK8kJ9EWL8SdkgKMq",4 "balances": {5 "available": 100,6 "current": 110,7 "iso_currency_code": "USD",8 "limit": null,9 "unofficial_currency_code": null10 },11 "mask": "0000",12 "name": "Plaid Checking",13 "official_name": "Plaid Gold Standard 0% Interest Checking",14 "owners": [15 {16 "addresses": [17 {18 "data": {19 "city": "Malakoff",20 "country": "US",21 "postal_code": "14236",22 "region": "NY",23 "street": "2992 Cameron Road"24 },25 "primary": true26 },27 {28 "data": {29 "city": "San Matias",30 "country": "US",31 "postal_code": "93405-2255",32 "region": "CA",33 "street": "2493 Leisure Lane"34 },35 "primary": false36 }37 ],38 "emails": [39 {40 "data": "accountholder0@example.com",41 "primary": true,42 "type": "primary"43 },44 {45 "data": "accountholder1@example.com",46 "primary": false,47 "type": "secondary"48 },49 {50 "data": "extraordinarily.long.email.username.123456@reallylonghostname.com",51 "primary": false,52 "type": "other"53 }54 ],55 "names": [56 "Alberta Bobbeth Charleson"57 ],58 "phone_numbers": [59 {60 "data": "1112223333",61 "primary": false,62 "type": "home"63 },64 {65 "data": "1112224444",66 "primary": false,67 "type": "work"68 },69 {70 "data": "1112225555",71 "primary": false,72 "type": "mobile1"73 }74 ]75 }76 ],77 "subtype": "checking",78 "type": "depository"79 },80 "request_id": "eOPkBl6t33veI2J"81}
Was this helpful?
/processor/identity/match
Retrieve identity match score
The /processor/identity/match
endpoint generates a match score, which indicates how well the provided identity data matches the identity information on file with the account holder's financial institution.
Fields within the balances
object will always be null when retrieved by /identity/match
. Instead, use the free /accounts/get
endpoint to request balance cached data, or /accounts/balance/get
for real-time data.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.processor_token
processor-<environment>-<identifier>
user
legal_name
phone_number
email_address
address
city
region
state
.
Example: "NC"
street
"564 Main Street, APT 15"
postal_code
zip
.country
1const request: ProcessorIdentityMatchRequest = {2 processor_token: processorToken,3};4const response = plaidClient.processorIdentityMatch(request);
Response fields and example
account
account_id
account_id
will be assigned to the account.The
account_id
can also change if the access_token
is deleted and the same credentials that were used to generate that access_token
are used to generate a new access_token
on a later date. In that case, the new account_id
will be different from the old account_id
.If an account with a specific
account_id
disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.Like all Plaid identifiers, the
account_id
is case sensitive.balances
/accounts/balance/get
.available
For
credit
-type accounts, the available
balance typically equals the limit
less the current
balance, less any pending outflows plus any pending inflows.For
depository
-type accounts, the available
balance typically equals the current
balance less any pending outflows plus any pending inflows. For depository
-type accounts, the available
balance does not include the overdraft limit.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the available
balance is the total cash available to withdraw as presented by the institution.Note that not all institutions calculate the
available
balance. In the event that available
balance is unavailable, Plaid will return an available
balance value of null
.Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by
/accounts/balance/get
.If
current
is null
this field is guaranteed not to be null
.double
current
For
credit
-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder.For
loan
-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (ins_116944
). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution.Note that balance information may be cached unless the value was returned by
/accounts/balance/get
; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the available
balance as provided by /accounts/balance/get
.When returned by
/accounts/balance/get
, this field may be null
. When this happens, available
is guaranteed not to be null
.double
limit
credit
-type accounts, this represents the credit limit.For
depository
-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe.In North America, this field is typically only available for
credit
-type accounts.double
iso_currency_code
unofficial_currency_code
is non-null.unofficial_currency _code
iso_currency_code
is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
unofficial_currency_code
s.last_updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only used and expected when the institution is
ins_128026
(Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See account type schema for a full list of account types.If the balance that is pulled is older than the given timestamp for Items with this field required, an
INVALID_REQUEST
error with the code of LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned with the most recent timestamp for the requested account contained in the response.date-time
mask
name
official_name
type
investment:
Investment account. In API versions 2018-05-22 and earlier, this type is called brokerage
instead.credit:
Credit carddepository:
Depository accountloan:
Loan accountother:
Non-specified account typeSee the Account type schema for a full listing of account types and corresponding subtypes.
investment
, credit
, depository
, loan
, brokerage
, other
subtype
401a
, 401k
, 403B
, 457b
, 529
, auto
, brokerage
, business
, cash isa
, cash management
, cd
, checking
, commercial
, construction
, consumer
, credit card
, crypto exchange
, ebt
, education savings account
, fixed annuity
, gic
, health reimbursement arrangement
, home equity
, hsa
, isa
, ira
, keogh
, lif
, life insurance
, line of credit
, lira
, loan
, lrif
, lrsp
, money market
, mortgage
, mutual fund
, non-custodial wallet
, non-taxable brokerage account
, other
, other insurance
, other annuity
, overdraft
, paypal
, payroll
, pension
, prepaid
, prif
, profit sharing plan
, rdsp
, resp
, retirement
, rlif
, roth
, roth 401k
, rrif
, rrsp
, sarsep
, savings
, sep ira
, simple ira
, sipp
, stock plan
, student
, thrift savings plan
, tfsa
, trust
, ugma
, utma
, variable annuity
verification_status
pending_automatic_verification
: The Item is pending automatic verificationpending_manual_verification
: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit.automatically_verified
: The Item has successfully been automatically verified manually_verified
: The Item has successfully been manually verifiedverification_expired
: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link.verification_failed
: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.database_matched
: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match.database_insights_pass
: The Item's numbers have been verified using Plaid's data sources and have strong signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_pass_with_caution
: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_fail
: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.automatically_verified
, pending_automatic_verification
, pending_manual_verification
, manually_verified
, verification_expired
, verification_failed
, database_matched
, database_insights_pass
, database_insights_pass_with_caution
, database_insights_fail
verification_insights
network_status
has_numbers_match
is_numbers_match _verified
previous_returns
has_previous _administrative_return
account_number_format
valid
: indicates that the account number has a correct format for the institution.invalid
: indicates that the account number has an incorrect format for the institution.unknown
: indicates that there was not enough information to determine whether the format is correct for the institution.valid
, invalid
, unknown
persistent_account_id
holder_category
business
, personal
, unrecognized
legal_name
score
is_first_name_or_last _name_match
is_nickname_match
is_business_name _detected
true
if the name on either of the names that was matched for the score contained strings indicative of a business name, such as "CORP", "LLC", "INC", or "LTD". A true
result generally indicates that an account's name is a business name. However, a false
result does not mean the account name is not a business name, as some businesses do not use these strings in the names used for their financial institution accounts.phone_number
score
email_address
score
address
score
is_postal_code_match
request_id
1{2 "account": {3 "account_id": "BxBXxLj1m4HMXBm9WZZmCWVbPjX16EHwv99vp",4 "balances": {5 "available": null,6 "current": null,7 "iso_currency_code": null,8 "limit": null,9 "unofficial_currency_code": null10 },11 "mask": "0000",12 "name": "Plaid Checking",13 "official_name": "Plaid Gold Standard 0% Interest Checking",14 "legal_name": {15 "score": 90,16 "is_nickname_match": true,17 "is_first_name_or_last_name_match": true,18 "is_business_name_detected": false19 },20 "phone_number": {21 "score": 10022 },23 "email_address": {24 "score": 10025 },26 "address": {27 "score": 100,28 "is_postal_code_match": true29 },30 "subtype": "checking",31 "type": "depository"32 },33 "request_id": "3nARps6TOYtbACO"34}
Was this helpful?
/processor/investments/holdings/get
Retrieve Investment Holdings
This endpoint returns the stock position data of the account associated with a given processor token.
processor/investments/holdings/getclient_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.processor_token
processor-<environment>-<identifier>
secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.1const request: ProcessorInvestmentsHoldingsGetRequest = {2 processor_token: processorToken,3};4const response = plaidClient.processorInvestmentsHoldingsGet(request);
Response fields and example
account
account_id
account_id
will be assigned to the account.The
account_id
can also change if the access_token
is deleted and the same credentials that were used to generate that access_token
are used to generate a new access_token
on a later date. In that case, the new account_id
will be different from the old account_id
.If an account with a specific
account_id
disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.Like all Plaid identifiers, the
account_id
is case sensitive.balances
/accounts/balance/get
.available
For
credit
-type accounts, the available
balance typically equals the limit
less the current
balance, less any pending outflows plus any pending inflows.For
depository
-type accounts, the available
balance typically equals the current
balance less any pending outflows plus any pending inflows. For depository
-type accounts, the available
balance does not include the overdraft limit.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the available
balance is the total cash available to withdraw as presented by the institution.Note that not all institutions calculate the
available
balance. In the event that available
balance is unavailable, Plaid will return an available
balance value of null
.Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by
/accounts/balance/get
.If
current
is null
this field is guaranteed not to be null
.double
current
For
credit
-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder.For
loan
-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (ins_116944
). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution.Note that balance information may be cached unless the value was returned by
/accounts/balance/get
; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the available
balance as provided by /accounts/balance/get
.When returned by
/accounts/balance/get
, this field may be null
. When this happens, available
is guaranteed not to be null
.double
limit
credit
-type accounts, this represents the credit limit.For
depository
-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe.In North America, this field is typically only available for
credit
-type accounts.double
iso_currency_code
unofficial_currency_code
is non-null.unofficial_currency _code
iso_currency_code
is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
unofficial_currency_code
s.last_updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only used and expected when the institution is
ins_128026
(Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See account type schema for a full list of account types.If the balance that is pulled is older than the given timestamp for Items with this field required, an
INVALID_REQUEST
error with the code of LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned with the most recent timestamp for the requested account contained in the response.date-time
mask
name
official_name
type
investment:
Investment account. In API versions 2018-05-22 and earlier, this type is called brokerage
instead.credit:
Credit carddepository:
Depository accountloan:
Loan accountother:
Non-specified account typeSee the Account type schema for a full listing of account types and corresponding subtypes.
investment
, credit
, depository
, loan
, brokerage
, other
subtype
401a
, 401k
, 403B
, 457b
, 529
, auto
, brokerage
, business
, cash isa
, cash management
, cd
, checking
, commercial
, construction
, consumer
, credit card
, crypto exchange
, ebt
, education savings account
, fixed annuity
, gic
, health reimbursement arrangement
, home equity
, hsa
, isa
, ira
, keogh
, lif
, life insurance
, line of credit
, lira
, loan
, lrif
, lrsp
, money market
, mortgage
, mutual fund
, non-custodial wallet
, non-taxable brokerage account
, other
, other insurance
, other annuity
, overdraft
, paypal
, payroll
, pension
, prepaid
, prif
, profit sharing plan
, rdsp
, resp
, retirement
, rlif
, roth
, roth 401k
, rrif
, rrsp
, sarsep
, savings
, sep ira
, simple ira
, sipp
, stock plan
, student
, thrift savings plan
, tfsa
, trust
, ugma
, utma
, variable annuity
verification_status
pending_automatic_verification
: The Item is pending automatic verificationpending_manual_verification
: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit.automatically_verified
: The Item has successfully been automatically verified manually_verified
: The Item has successfully been manually verifiedverification_expired
: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link.verification_failed
: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.database_matched
: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match.database_insights_pass
: The Item's numbers have been verified using Plaid's data sources and have strong signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_pass_with_caution
: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_fail
: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.automatically_verified
, pending_automatic_verification
, pending_manual_verification
, manually_verified
, verification_expired
, verification_failed
, database_matched
, database_insights_pass
, database_insights_pass_with_caution
, database_insights_fail
verification_insights
network_status
has_numbers_match
is_numbers_match _verified
previous_returns
has_previous _administrative_return
account_number_format
valid
: indicates that the account number has a correct format for the institution.invalid
: indicates that the account number has an incorrect format for the institution.unknown
: indicates that there was not enough information to determine whether the format is correct for the institution.valid
, invalid
, unknown
persistent_account_id
holder_category
business
, personal
, unrecognized
holdings
securities
field.account_id
account_id
associated with the holding.security_id
security_id
associated with the holding. Security data is not specific to a user's account; any user who held the same security at the same financial institution at the same time would have identical security data. The security_id
for the same security will typically be the same across different institutions, but this is not guaranteed. The security_id
does not typically change, but may change if inherent details of the security change due to a corporate action, for example, in the event of a ticker symbol change or CUSIP change.institution_price
double
institution_price_as _of
institution_price
was current.date
institution_price _datetime
institution_price
was current, in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ).This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00).
date-time
institution_value
double
cost_basis
double
quantity
quantity
will reflect the total number of options (typically the number of contracts multiplied by 100), not the number of contracts.double
iso_currency_code
null
if unofficial_currency_code
is non-null
.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
iso_currency_code
s.vested_quantity
double
vested_value
double
securities
security_id
security_id
is case sensitive. The security_id
may change if inherent details of the security change due to a corporate action, for example, in the event of a ticker symbol change or CUSIP change.isin
cusip
sedol
institution_security _id
institution_id
institution_security_id
is present, this field indicates the Plaid institution_id
of the institution to whom the identifier belongs.proxy_security_id
name
ticker_symbol
is_cash_equivalent
type
In rare instances, a null value is returned when institutional data is insufficient to determine the security type.
Valid security types are:
cash
: Cash, currency, and money market fundscryptocurrency
: Digital or virtual currenciesderivative
: Options, warrants, and other derivative instrumentsequity
: Domestic and foreign equitiesetf
: Multi-asset exchange-traded investment fundsfixed income
: Bonds and certificates of deposit (CDs)loan
: Loans and loan receivablesmutual fund
: Open- and closed-end vehicles pooling funds of multiple investorsother
: Unknown or other investment typesclose_price
If the security is a foreign currency this field will be updated daily and will be priced in USD.
If the security is a cryptocurrency, this field will be updated multiple times a day. As crypto prices can fluctuate quickly and data may become stale sooner than other asset classes, refer to
update_datetime
with the time when the price was last updated.double
close_price_as_of
close_price
is accurate. Always null
if close_price
is null
.date
update_datetime
close_price
is accurate, in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ). Always null
if close_price
is null
.date-time
iso_currency_code
null
if unofficial_currency_code
is non-null
.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
iso_currency_code
s.market_identifier_code
sector
For a complete list of possible values, please refer to the "Sectors and Industries" spreadsheet.
industry
For a complete list of possible values, please refer to the "Sectors and Industries" spreadsheet.
option_contract
For the Sandbox environment, this data is currently only available if the item is using a custom configuration object, and the
ticker
field of the custom security follows the OCC Option Symbol standard with no spaces.contract_type
put
: for Put option contractscall
: for Call option contractsexpiration_date
strike_price
double
underlying_security _ticker
fixed_income
yield_rate
percentage
double
type
coupon
: the annualized interest rate for securities with a one-year term or longer, such as treasury notes and bonds.coupon_equivalent
: the calculated equivalent for the annualized interest rate factoring in the discount rate and time to maturity, for shorter term, non-interest-bearing securities such as treasury bills.discount
: the rate at which the present value or cost is discounted from the future value upon maturity, also known as the face value.yield
: the total predicted rate of return factoring in both the discount rate and the coupon rate, applicable to securities such as exchange-traded bonds which can both be interest-bearing as well as sold at a discount off its face value.coupon
, coupon_equivalent
, discount
, yield
, null
maturity_date
issue_date
face_value
double
is_investments _fallback_item
request_id
1{2 "account": {3 "account_id": "JqMLm4rJwpF6gMPJwBqdh9ZjjPvvpDcb7kDK1",4 "balances": {5 "available": null,6 "current": 110.01,7 "iso_currency_code": "USD",8 "limit": null,9 "unofficial_currency_code": null10 },11 "mask": "5555",12 "name": "Plaid IRA",13 "official_name": null,14 "subtype": "ira",15 "type": "investment"16 },17 "holdings": [18 {19 "account_id": "JqMLm4rJwpF6gMPJwBqdh9ZjjPvvpDcb7kDK1",20 "cost_basis": 1,21 "institution_price": 1,22 "institution_price_as_of": "2021-04-13",23 "institution_price_datetime": null,24 "institution_value": 0.01,25 "iso_currency_code": "USD",26 "quantity": 0.01,27 "security_id": "d6ePmbPxgWCWmMVv66q9iPV94n91vMtov5Are",28 "unofficial_currency_code": null29 },30 {31 "account_id": "JqMLm4rJwpF6gMPJwBqdh9ZjjPvvpDcb7kDK1",32 "cost_basis": 0.01,33 "institution_price": 0.011,34 "institution_price_as_of": "2021-04-13",35 "institution_price_datetime": null,36 "institution_value": 110,37 "iso_currency_code": "USD",38 "quantity": 10000,39 "security_id": "8E4L9XLl6MudjEpwPAAgivmdZRdBPJuvMPlPb",40 "unofficial_currency_code": null41 }42 ],43 "securities": [44 {45 "close_price": 0.011,46 "close_price_as_of": "2021-04-13",47 "cusip": null,48 "institution_id": null,49 "institution_security_id": null,50 "is_cash_equivalent": false,51 "isin": null,52 "iso_currency_code": "USD",53 "name": "Nflx Feb 01'18 $355 Call",54 "proxy_security_id": null,55 "security_id": "8E4L9XLl6MudjEpwPAAgivmdZRdBPJuvMPlPb",56 "sedol": null,57 "ticker_symbol": "NFLX180201C00355000",58 "type": "derivative",59 "unofficial_currency_code": null,60 "update_datetime": null,61 "market_identifier_code": "XNAS",62 "sector": "Technology Services",63 "industry": "Internet Software or Services",64 "option_contract": {65 "contract_type": "call",66 "expiration_date": "2018-02-01",67 "strike_price": 355,68 "underlying_security_ticker": "NFLX"69 },70 "fixed_income": null71 },72 {73 "close_price": 1,74 "close_price_as_of": null,75 "cusip": null,76 "institution_id": null,77 "institution_security_id": null,78 "is_cash_equivalent": true,79 "isin": null,80 "iso_currency_code": "USD",81 "name": "U S Dollar",82 "proxy_security_id": null,83 "security_id": "d6ePmbPxgWCWmMVv66q9iPV94n91vMtov5Are",84 "sedol": null,85 "ticker_symbol": "USD",86 "type": "cash",87 "unofficial_currency_code": null,88 "update_datetime": null,89 "market_identifier_code": null,90 "sector": null,91 "industry": null,92 "option_contract": null,93 "fixed_income": null94 }95 ],96 "request_id": "24MxmGFZz89Xg2f",97 "is_investments_fallback_item": false98}
Was this helpful?
/processor/investments/transactions/get
Get investment transactions data
The /processor/investments/transactions/get
endpoint allows developers to retrieve up to 24 months of user-authorized transaction data for the investment account associated with the processor token.
Transactions are returned in reverse-chronological order, and the sequence of transaction ordering is stable and will not shift.
Due to the potentially large number of investment transactions associated with the account, results are paginated. Manipulate the count and offset parameters in conjunction with the total_investment_transactions
response body field to fetch all available investment transactions.
Note that Investments does not have a webhook to indicate when initial transaction data has loaded (unless you use the async_update
option). Instead, if transactions data is not ready when /processor/investments/transactions/get
is first called, Plaid will wait for the data. For this reason, calling /processor/investments/transactions/get
immediately after Link may take up to one to two minutes to return.
Data returned by the asynchronous investments extraction flow (when async_update
is set to true) may not be immediately available to /processor/investments/transactions/get
. To be alerted when the data is ready to be fetched, listen for the HISTORICAL_UPDATE
webhook. If no investments history is ready when /processor/investments/transactions/get
is called, it will return a PRODUCT_NOT_READY
error.
To receive Investments Transactions webhooks for a processor token, set its webhook URL via the /processor/token/webhook/update
endpoint.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.options
/investments/transactions/get
results. If provided, must be non-null
.account_ids
account_ids
to retrieve for the Item.count
100
1
500
offset
0
0
async_update
products
, required_if_supported_products
, or optional_products
array when calling /link/token/create
, and async_update
is set to true, the initial Investments extraction will happen asynchronously. Plaid will subsequently fire a HISTORICAL_UPDATE
webhook when the extraction completes. When false
, Plaid will wait to return a response until extraction completion and no HISTORICAL_UPDATE
webhook will fire. Note that while the extraction is happening asynchronously, calls to /investments/transactions/get
and /investments/refresh
will return PRODUCT_NOT_READY
errors until the extraction completes.false
processor_token
processor-<environment>-<identifier>
secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.start_date
date
end_date
date
1const request: ProcessorInvestmentsTransactionsGetRequest = {2 processor_token: processorToken,3};4const response = plaidClient.processorInvestmentsTransactionsGet(request);
Response fields and example
account
account_id
account_id
will be assigned to the account.The
account_id
can also change if the access_token
is deleted and the same credentials that were used to generate that access_token
are used to generate a new access_token
on a later date. In that case, the new account_id
will be different from the old account_id
.If an account with a specific
account_id
disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.Like all Plaid identifiers, the
account_id
is case sensitive.balances
/accounts/balance/get
.available
For
credit
-type accounts, the available
balance typically equals the limit
less the current
balance, less any pending outflows plus any pending inflows.For
depository
-type accounts, the available
balance typically equals the current
balance less any pending outflows plus any pending inflows. For depository
-type accounts, the available
balance does not include the overdraft limit.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the available
balance is the total cash available to withdraw as presented by the institution.Note that not all institutions calculate the
available
balance. In the event that available
balance is unavailable, Plaid will return an available
balance value of null
.Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by
/accounts/balance/get
.If
current
is null
this field is guaranteed not to be null
.double
current
For
credit
-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder.For
loan
-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (ins_116944
). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution.Note that balance information may be cached unless the value was returned by
/accounts/balance/get
; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the available
balance as provided by /accounts/balance/get
.When returned by
/accounts/balance/get
, this field may be null
. When this happens, available
is guaranteed not to be null
.double
limit
credit
-type accounts, this represents the credit limit.For
depository
-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe.In North America, this field is typically only available for
credit
-type accounts.double
iso_currency_code
unofficial_currency_code
is non-null.unofficial_currency _code
iso_currency_code
is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
unofficial_currency_code
s.last_updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only used and expected when the institution is
ins_128026
(Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See account type schema for a full list of account types.If the balance that is pulled is older than the given timestamp for Items with this field required, an
INVALID_REQUEST
error with the code of LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned with the most recent timestamp for the requested account contained in the response.date-time
mask
name
official_name
type
investment:
Investment account. In API versions 2018-05-22 and earlier, this type is called brokerage
instead.credit:
Credit carddepository:
Depository accountloan:
Loan accountother:
Non-specified account typeSee the Account type schema for a full listing of account types and corresponding subtypes.
investment
, credit
, depository
, loan
, brokerage
, other
subtype
401a
, 401k
, 403B
, 457b
, 529
, auto
, brokerage
, business
, cash isa
, cash management
, cd
, checking
, commercial
, construction
, consumer
, credit card
, crypto exchange
, ebt
, education savings account
, fixed annuity
, gic
, health reimbursement arrangement
, home equity
, hsa
, isa
, ira
, keogh
, lif
, life insurance
, line of credit
, lira
, loan
, lrif
, lrsp
, money market
, mortgage
, mutual fund
, non-custodial wallet
, non-taxable brokerage account
, other
, other insurance
, other annuity
, overdraft
, paypal
, payroll
, pension
, prepaid
, prif
, profit sharing plan
, rdsp
, resp
, retirement
, rlif
, roth
, roth 401k
, rrif
, rrsp
, sarsep
, savings
, sep ira
, simple ira
, sipp
, stock plan
, student
, thrift savings plan
, tfsa
, trust
, ugma
, utma
, variable annuity
verification_status
pending_automatic_verification
: The Item is pending automatic verificationpending_manual_verification
: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit.automatically_verified
: The Item has successfully been automatically verified manually_verified
: The Item has successfully been manually verifiedverification_expired
: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link.verification_failed
: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.database_matched
: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match.database_insights_pass
: The Item's numbers have been verified using Plaid's data sources and have strong signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_pass_with_caution
: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_fail
: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.automatically_verified
, pending_automatic_verification
, pending_manual_verification
, manually_verified
, verification_expired
, verification_failed
, database_matched
, database_insights_pass
, database_insights_pass_with_caution
, database_insights_fail
verification_insights
network_status
has_numbers_match
is_numbers_match _verified
previous_returns
has_previous _administrative_return
account_number_format
valid
: indicates that the account number has a correct format for the institution.invalid
: indicates that the account number has an incorrect format for the institution.unknown
: indicates that there was not enough information to determine whether the format is correct for the institution.valid
, invalid
, unknown
persistent_account_id
holder_category
business
, personal
, unrecognized
investment _transactions
count
parameter.investment _transaction_id
investment_transaction_id
is case sensitive.account_id
account_id
of the account against which this transaction posted.security_id
security_id
to which this transaction is related.name
quantity
double
amount
double
price
double
fees
double
type
buy
: Buying an investment
sell
: Selling an investment
cancel
: A cancellation of a pending transaction
cash
: Activity that modifies a cash position
fee
: A fee on the account
transfer
: Activity which modifies a position, but not through buy/sell activity e.g. options exercise, portfolio transferFor descriptions of possible transaction types and subtypes, see the Investment transaction types schema.
buy
, sell
, cancel
, cash
, fee
, transfer
subtype
account fee
, adjustment
, assignment
, buy
, buy to cover
, contribution
, deposit
, distribution
, dividend
, dividend reinvestment
, exercise
, expire
, fund fee
, interest
, interest receivable
, interest reinvestment
, legal fee
, loan payment
, long-term capital gain
, long-term capital gain reinvestment
, management fee
, margin expense
, merger
, miscellaneous fee
, non-qualified dividend
, non-resident tax
, pending credit
, pending debit
, qualified dividend
, rebalance
, return of principal
, request
, sell
, sell short
, send
, short-term capital gain
, short-term capital gain reinvestment
, spin off
, split
, stock distribution
, tax
, tax withheld
, trade
, transfer
, transfer fee
, trust fee
, unqualified gain
, withdrawal
iso_currency_code
null
if unofficial_currency_code
is non-null
.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
iso_currency_code
s.securities
security_id
security_id
is case sensitive. The security_id
may change if inherent details of the security change due to a corporate action, for example, in the event of a ticker symbol change or CUSIP change.isin
cusip
sedol
institution_security _id
institution_id
institution_security_id
is present, this field indicates the Plaid institution_id
of the institution to whom the identifier belongs.proxy_security_id
name
ticker_symbol
is_cash_equivalent
type
In rare instances, a null value is returned when institutional data is insufficient to determine the security type.
Valid security types are:
cash
: Cash, currency, and money market fundscryptocurrency
: Digital or virtual currenciesderivative
: Options, warrants, and other derivative instrumentsequity
: Domestic and foreign equitiesetf
: Multi-asset exchange-traded investment fundsfixed income
: Bonds and certificates of deposit (CDs)loan
: Loans and loan receivablesmutual fund
: Open- and closed-end vehicles pooling funds of multiple investorsother
: Unknown or other investment typesclose_price
If the security is a foreign currency this field will be updated daily and will be priced in USD.
If the security is a cryptocurrency, this field will be updated multiple times a day. As crypto prices can fluctuate quickly and data may become stale sooner than other asset classes, refer to
update_datetime
with the time when the price was last updated.double
close_price_as_of
close_price
is accurate. Always null
if close_price
is null
.date
update_datetime
close_price
is accurate, in ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ). Always null
if close_price
is null
.date-time
iso_currency_code
null
if unofficial_currency_code
is non-null
.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
iso_currency_code
s.market_identifier_code
sector
For a complete list of possible values, please refer to the "Sectors and Industries" spreadsheet.
industry
For a complete list of possible values, please refer to the "Sectors and Industries" spreadsheet.
option_contract
For the Sandbox environment, this data is currently only available if the item is using a custom configuration object, and the
ticker
field of the custom security follows the OCC Option Symbol standard with no spaces.contract_type
put
: for Put option contractscall
: for Call option contractsexpiration_date
strike_price
double
underlying_security _ticker
fixed_income
yield_rate
percentage
double
type
coupon
: the annualized interest rate for securities with a one-year term or longer, such as treasury notes and bonds.coupon_equivalent
: the calculated equivalent for the annualized interest rate factoring in the discount rate and time to maturity, for shorter term, non-interest-bearing securities such as treasury bills.discount
: the rate at which the present value or cost is discounted from the future value upon maturity, also known as the face value.yield
: the total predicted rate of return factoring in both the discount rate and the coupon rate, applicable to securities such as exchange-traded bonds which can both be interest-bearing as well as sold at a discount off its face value.coupon
, coupon_equivalent
, discount
, yield
, null
maturity_date
issue_date
face_value
double
total_investment _transactions
total_investment_transactions
is larger than the size of the transactions
array, more transactions are available and can be fetched via manipulating the offset
parameter.request_id
is_investments _fallback_item
1{2 "account": {3 "account_id": "rz99ex9ZQotvnjXdgQLEsR81e3ArPgulVWjGj",4 "balances": {5 "available": null,6 "current": 23631.9805,7 "iso_currency_code": "USD",8 "limit": null,9 "unofficial_currency_code": null10 },11 "mask": "6666",12 "name": "Plaid 401k",13 "official_name": null,14 "subtype": "401k",15 "type": "investment"16 },17 "investment_transactions": [18 {19 "account_id": "rz99ex9ZQotvnjXdgQLEsR81e3ArPgulVWjGj",20 "amount": -8.72,21 "cancel_transaction_id": null,22 "date": "2020-05-29",23 "fees": 0,24 "investment_transaction_id": "oq99Pz97joHQem4BNjXECev1E4B6L6sRzwANW",25 "iso_currency_code": "USD",26 "name": "INCOME DIV DIVIDEND RECEIVED",27 "price": 0,28 "quantity": 0,29 "security_id": "eW4jmnjd6AtjxXVrjmj6SX1dNEdZp3Cy8RnRQ",30 "subtype": "dividend",31 "type": "cash",32 "unofficial_currency_code": null33 },34 {35 "account_id": "rz99ex9ZQotvnjXdgQLEsR81e3ArPgulVWjGj",36 "amount": -1289.01,37 "cancel_transaction_id": null,38 "date": "2020-05-28",39 "fees": 7.99,40 "investment_transaction_id": "pK99jB9e7mtwjA435GpVuMvmWQKVbVFLWme57",41 "iso_currency_code": "USD",42 "name": "SELL Matthews Pacific Tiger Fund Insti Class",43 "price": 27.53,44 "quantity": -47.74104242992852,45 "security_id": "JDdP7XPMklt5vwPmDN45t3KAoWAPmjtpaW7DP",46 "subtype": "sell",47 "type": "sell",48 "unofficial_currency_code": null49 }50 ],51 "request_id": "iv4q3ZlytOOthkv",52 "securities": [53 {54 "close_price": 27,55 "close_price_as_of": null,56 "cusip": "577130834",57 "institution_id": null,58 "institution_security_id": null,59 "is_cash_equivalent": false,60 "isin": "US5771308344",61 "iso_currency_code": "USD",62 "name": "Matthews Pacific Tiger Fund Insti Class",63 "proxy_security_id": null,64 "security_id": "JDdP7XPMklt5vwPmDN45t3KAoWAPmjtpaW7DP",65 "sedol": null,66 "ticker_symbol": "MIPTX",67 "type": "mutual fund",68 "unofficial_currency_code": null,69 "update_datetime": null,70 "market_identifier_code": "XNAS",71 "sector": "Miscellaneous",72 "industry": "Investment Trusts or Mutual Funds",73 "option_contract": null,74 "fixed_income": null75 },76 {77 "close_price": 34.73,78 "close_price_as_of": null,79 "cusip": "84470P109",80 "institution_id": null,81 "institution_security_id": null,82 "is_cash_equivalent": false,83 "isin": "US84470P1093",84 "iso_currency_code": "USD",85 "name": "Southside Bancshares Inc.",86 "proxy_security_id": null,87 "security_id": "eW4jmnjd6AtjxXVrjmj6SX1dNEdZp3Cy8RnRQ",88 "sedol": null,89 "ticker_symbol": "SBSI",90 "type": "equity",91 "unofficial_currency_code": null,92 "update_datetime": null,93 "market_identifier_code": "XNAS",94 "sector": "Finance",95 "industry": "Regional Banks",96 "option_contract": null,97 "fixed_income": null98 }99 ],100 "total_investment_transactions": 2101}
Was this helpful?
/processor/signal/evaluate
Evaluate a planned ACH transaction
Use /processor/signal/evaluate
to evaluate a planned ACH transaction as a processor to get a return risk assessment (such as a risk score and risk tier) and additional risk signals.
In order to obtain a valid score for an ACH transaction, Plaid must have an access token for the account, and the Item must be healthy (receiving product updates) or have recently been in a healthy state. If the transaction does not meet eligibility requirements, an error will be returned corresponding to the underlying cause. If /processor/signal/evaluate
is called on the same transaction multiple times within a 24-hour period, cached results may be returned. For more information please refer to our error documentation on item errors and Link in Update Mode.
Note: This request may take some time to complete if Signal is being added to an existing Item. This is because Plaid must communicate directly with the institution when retrieving the data for the first time. To reduce this latency, you can call /signal/prepare
on the Item before you need to request Signal data.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.processor_token
processor-<environment>-<identifier>
client_transaction_id
1
36
amount
102.05
)double
user_present
true
if the end user is present while initiating the ACH transfer and the endpoint is being called; false
otherwise (for example, when the ACH transfer is scheduled and the end user is not present, or you call this endpoint after the ACH transfer but before submitting the Nacha file for ACH processing).client_user_id
client_user_id
.is_recurring
default_payment_method
SAME_DAY_ACH
: Same Day ACH by NACHA. The debit transaction is processed and settled on the same day
NEXT_DAY_ACH
: Next Day ACH settlement for debit transactions, offered by some payment processors
STANDARD_ACH
: standard ACH by NACHA
REAL_TIME_PAYMENTS
: real-time payments such as RTP and FedNow
DEBIT_CARD
: if the default payment is over debit card networks
MULTIPLE_PAYMENT_METHODS
: if there is no default debit rail or there are multiple payment methods
Possible values: SAME_DAY_ACH
, NEXT_DAY_ACH
, STANDARD_ACH
, REAL_TIME_PAYMENTS
, DEBIT_CARD
, MULTIPLE_PAYMENT_METHODS
user
/signal/evaluate
or /signal/processor/evaluate
, this field is optional, but strongly recommended to increase the accuracy of Signal results.name
prefix
given_name
middle_name
family_name
suffix
phone_number
email_address
device
/signal/evaluate
or /signal/processor/evaluate
, this field is optional, but strongly recommended to increase the accuracy of Signal results.ip_address
user_agent
ruleset_key
1const eval_request = {2 processor_token: 'processor-sandbox-71e02f71-0960-4a27-abd2-5631e04f2175',3 client_transaction_id: 'txn12345',4 amount: 123.45,5 client_user_id: 'user1234',6 user: {7 name: {8 prefix: 'Ms.',9 given_name: 'Jane',10 middle_name: 'Leah',11 family_name: 'Doe',12 suffix: 'Jr.',13 },14 phone_number: '+14152223333',15 email_address: 'jane.doe@example.com',16 address: {17 street: '2493 Leisure Lane',18 city: 'San Matias',19 region: 'CA',20 postal_code: '93405-2255',21 country: 'US',22 },23 },24 device: {25 ip_address: '198.30.2.2',26 user_agent:27 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Mobile/15E148 Safari/604.1',28 },29 user_present: true,30};31
32try {33 const eval_response = await plaidClient.processorSignalEvaluate(eval_request);34 const core_attributes = eval_response.data.core_attributes;35 const scores = eval_response.data.scores;36} catch (error) {37 // handle error38}
Response fields and example
request_id
scores
customer_initiated _return_risk
score
1
99
risk_tier
In the
customer_initiated_return_risk
object, there are five risk tiers corresponding to the scores:
1: Predicted customer-initiated return incidence rate between 0.00% - 0.02%
2: Predicted customer-initiated return incidence rate between 0.02% - 0.05%
3: Predicted customer-initiated return incidence rate between 0.05% - 0.1%
4: Predicted customer-initiated return incidence rate between 0.1% - 0.5%
5: Predicted customer-initiated return incidence rate greater than 0.5%1
5
bank_initiated_return _risk
score
1
99
risk_tier
bank_initiated_return_risk
object, there are eight risk tiers corresponding to the scores:
1: Predicted bank-initiated return incidence rate between 0.0% - 0.5%
2: Predicted bank-initiated return incidence rate between 0.5% - 1.5%
3: Predicted bank-initiated return incidence rate between 1.5% - 3%
4: Predicted bank-initiated return incidence rate between 3% - 5%
5: Predicted bank-initiated return incidence rate between 5% - 10%
6: Predicted bank-initiated return incidence rate between 10% - 15%
7: Predicted bank-initiated return incidence rate between 15% and 50%
8: Predicted bank-initiated return incidence rate greater than 50%1
8
core_attributes
days_since_first_plaid_connection
: The number of days since the first time the Item was connected to an application via Plaid
plaid_connections_count_7d
: The number of times the Item has been connected to applications via Plaid over the past 7 days
plaid_connections_count_30d
: The number of times the Item has been connected to applications via Plaid over the past 30 days
total_plaid_connections_count
: The number of times the Item has been connected to applications via Plaid
is_savings_or_money_market_account
: Indicates whether the ACH transaction funding account is a savings/money market accountFor the full list and detailed documentation of core attributes available, or to request that core attributes not be returned, contact Sales or your Plaid account manager
ruleset
ruleset_key
is not provided, this field will be omitted. This feature is currently in closed beta; to request access, contact your account manager.ruleset_key
outcome
warnings
warning_type
warning_code
ITEM_LOGIN_REQUIRED
warning, we recommend re-authenticating your user by implementing Link's update mode. This will guide your user to fix their credentials, allowing Plaid to start fetching data again for future Signal requests.warning_message
1{2 "scores": {3 "customer_initiated_return_risk": {4 "score": 9,5 "risk_tier": 16 },7 "bank_initiated_return_risk": {8 "score": 72,9 "risk_tier": 710 }11 },12 "core_attributes": {13 "days_since_first_plaid_connection": 510,14 "plaid_connections_count_7d": 6,15 "plaid_connections_count_30d": 7,16 "total_plaid_connections_count": 15,17 "is_savings_or_money_market_account": false18 },19 "warnings": [],20 "request_id": "mdqfuVxeoza6mhu"21}
Was this helpful?
/processor/liabilities/get
Retrieve Liabilities data
The /processor/liabilities/get
endpoint returns various details about a loan or credit account. Liabilities data is available primarily for US financial institutions, with some limited coverage of Canadian institutions. Currently supported account types are account type credit
with account subtype credit card
or paypal
, and account type loan
with account subtype student
or mortgage
.
The types of information returned by Liabilities can include balances and due dates, loan terms, and account details such as original loan amount and guarantor. Data is refreshed approximately once per day; the latest data can be retrieved by calling /processor/liabilities/get
.
Note: This request may take some time to complete if liabilities
was not specified as an initial product when creating the processor token. This is because Plaid must communicate directly with the institution to retrieve the additional data.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.processor_token
processor-<environment>-<identifier>
1const request: ProcessorLiabilitiesGetRequest = {2 processor_token: processorToken,3};4const response = plaidClient.processorLiabilitiesGet(request);
Response fields and example
account
account_id
account_id
will be assigned to the account.The
account_id
can also change if the access_token
is deleted and the same credentials that were used to generate that access_token
are used to generate a new access_token
on a later date. In that case, the new account_id
will be different from the old account_id
.If an account with a specific
account_id
disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.Like all Plaid identifiers, the
account_id
is case sensitive.balances
/accounts/balance/get
.available
For
credit
-type accounts, the available
balance typically equals the limit
less the current
balance, less any pending outflows plus any pending inflows.For
depository
-type accounts, the available
balance typically equals the current
balance less any pending outflows plus any pending inflows. For depository
-type accounts, the available
balance does not include the overdraft limit.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the available
balance is the total cash available to withdraw as presented by the institution.Note that not all institutions calculate the
available
balance. In the event that available
balance is unavailable, Plaid will return an available
balance value of null
.Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by
/accounts/balance/get
.If
current
is null
this field is guaranteed not to be null
.double
current
For
credit
-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder.For
loan
-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (ins_116944
). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution.Note that balance information may be cached unless the value was returned by
/accounts/balance/get
; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the available
balance as provided by /accounts/balance/get
.When returned by
/accounts/balance/get
, this field may be null
. When this happens, available
is guaranteed not to be null
.double
limit
credit
-type accounts, this represents the credit limit.For
depository
-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe.In North America, this field is typically only available for
credit
-type accounts.double
iso_currency_code
unofficial_currency_code
is non-null.unofficial_currency _code
iso_currency_code
is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
unofficial_currency_code
s.last_updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only used and expected when the institution is
ins_128026
(Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See account type schema for a full list of account types.If the balance that is pulled is older than the given timestamp for Items with this field required, an
INVALID_REQUEST
error with the code of LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned with the most recent timestamp for the requested account contained in the response.date-time
mask
name
official_name
type
investment:
Investment account. In API versions 2018-05-22 and earlier, this type is called brokerage
instead.credit:
Credit carddepository:
Depository accountloan:
Loan accountother:
Non-specified account typeSee the Account type schema for a full listing of account types and corresponding subtypes.
investment
, credit
, depository
, loan
, brokerage
, other
subtype
401a
, 401k
, 403B
, 457b
, 529
, auto
, brokerage
, business
, cash isa
, cash management
, cd
, checking
, commercial
, construction
, consumer
, credit card
, crypto exchange
, ebt
, education savings account
, fixed annuity
, gic
, health reimbursement arrangement
, home equity
, hsa
, isa
, ira
, keogh
, lif
, life insurance
, line of credit
, lira
, loan
, lrif
, lrsp
, money market
, mortgage
, mutual fund
, non-custodial wallet
, non-taxable brokerage account
, other
, other insurance
, other annuity
, overdraft
, paypal
, payroll
, pension
, prepaid
, prif
, profit sharing plan
, rdsp
, resp
, retirement
, rlif
, roth
, roth 401k
, rrif
, rrsp
, sarsep
, savings
, sep ira
, simple ira
, sipp
, stock plan
, student
, thrift savings plan
, tfsa
, trust
, ugma
, utma
, variable annuity
verification_status
pending_automatic_verification
: The Item is pending automatic verificationpending_manual_verification
: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit.automatically_verified
: The Item has successfully been automatically verified manually_verified
: The Item has successfully been manually verifiedverification_expired
: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link.verification_failed
: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.database_matched
: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match.database_insights_pass
: The Item's numbers have been verified using Plaid's data sources and have strong signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_pass_with_caution
: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_fail
: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.automatically_verified
, pending_automatic_verification
, pending_manual_verification
, manually_verified
, verification_expired
, verification_failed
, database_matched
, database_insights_pass
, database_insights_pass_with_caution
, database_insights_fail
verification_insights
network_status
has_numbers_match
is_numbers_match _verified
previous_returns
has_previous _administrative_return
account_number_format
valid
: indicates that the account number has a correct format for the institution.invalid
: indicates that the account number has an incorrect format for the institution.unknown
: indicates that there was not enough information to determine whether the format is correct for the institution.valid
, invalid
, unknown
persistent_account_id
holder_category
business
, personal
, unrecognized
liabilities
credit
account_id
aprs
apr_percentage
double
apr_type
balance_transfer_apr
, cash_apr
, purchase_apr
, special
balance_subject_to_apr
double
interest_charge_amount
double
is_overdue
last_payment_amount
double
last_payment_date
date
last_statement_issue _date
last_statement_balance
double
minimum_payment_amount
double
next_payment_due_date
null
if a payment is not expected. Dates are returned in an ISO 8601 format (YYYY-MM-DD).date
mortgage
account_id
account_number
current_late_fee
double
escrow_balance
double
has_pmi
has_prepayment_penalty
interest_rate
percentage
double
type
last_payment_amount
double
last_payment_date
loan_type_description
conventional
, fixed
, or variable
. This field is provided directly from the loan servicer and does not have an enumerated set of possible values.loan_term
10 year
).maturity_date
date
next_monthly_payment
double
next_payment_due_date
date
origination_date
date
origination_principal _amount
double
past_due_amount
double
property_address
city
country
postal_code
region
street
ytd_interest_paid
double
ytd_principal_paid
double
student
account_id
account_number
disbursement_dates
date
expected_payoff_date
date
guarantor
interest_rate _percentage
double
is_overdue
true
if a payment is currently overdue. Availability for this field is limited.last_payment_amount
double
last_payment_date
last_statement_balance
double
last_statement_issue _date
loan_name
loan_status
type
cancelled
, charged off
, claim
, consolidated
, deferment
, delinquent
, discharged
, extension
, forbearance
, in grace
, in military
, in school
, not fully disbursed
, other
, paid in full
, refunded
, repayment
, transferred
, pending idr
minimum_payment_amount
ins_116861
), Firstmark (ins_116295
), Commonbond Firstmark Services (ins_116950
), Granite State (ins_116308
), and Oklahoma Student Loan Authority (ins_116945
).
Firstmark (ins_116295
) and Navient (ins_116248
) will display as $0 if there is an autopay program in effect.double
next_payment_due_date
null
if a payment is not expected. A payment is not expected if loan_status.type
is deferment
, in_school
, consolidated
, paid in full
, or transferred
. Dates are returned in an ISO 8601 format (YYYY-MM-DD).date
origination_date
date
origination_principal _amount
double
outstanding_interest _amount
ins_116944
), this amount is included in the current balance of the loan, so this field will return as null
.double
payment_reference _number
payment_reference_number
will match account_number,
but in some institutions, such as Great Lakes (ins_116861
), it will be different.repayment_plan
description
type
extended graduated
, extended standard
, graduated
, income-contingent repayment
, income-based repayment
, income-sensitive repayment
, interest-only
, other
, pay as you earn
, revised pay as you earn
, standard
, saving on a valuable education
, null
sequence_number
ins_116948
) does not make this field available.servicer_address
city
region
"NC"
street
"564 Main Street, APT 15"
postal_code
country
ytd_interest_paid
double
ytd_principal_paid
double
request_id
1{2 "account": {3 "account_id": "dVzbVMLjrxTnLjX4G66XUp5GLklm4oiZy88yK",4 "balances": {5 "available": null,6 "current": 410,7 "iso_currency_code": "USD",8 "limit": 2000,9 "unofficial_currency_code": null10 },11 "mask": "3333",12 "name": "Plaid Credit Card",13 "official_name": "Plaid Diamond 12.5% APR Interest Credit Card",14 "subtype": "credit card",15 "type": "credit"16 },17 "liabilities": {18 "credit": [19 {20 "account_id": "dVzbVMLjrxTnLjX4G66XUp5GLklm4oiZy88yK",21 "aprs": [22 {23 "apr_percentage": 15.24,24 "apr_type": "balance_transfer_apr",25 "balance_subject_to_apr": 1562.32,26 "interest_charge_amount": 130.2227 },28 {29 "apr_percentage": 27.95,30 "apr_type": "cash_apr",31 "balance_subject_to_apr": 56.22,32 "interest_charge_amount": 14.8133 },34 {35 "apr_percentage": 12.5,36 "apr_type": "purchase_apr",37 "balance_subject_to_apr": 157.01,38 "interest_charge_amount": 25.6639 },40 {41 "apr_percentage": 0,42 "apr_type": "special",43 "balance_subject_to_apr": 1000,44 "interest_charge_amount": 045 }46 ],47 "is_overdue": false,48 "last_payment_amount": 168.25,49 "last_payment_date": "2019-05-22",50 "last_statement_issue_date": "2019-05-28",51 "last_statement_balance": 1708.77,52 "minimum_payment_amount": 20,53 "next_payment_due_date": "2020-05-28"54 }55 ],56 "mortgage": [],57 "student": []58 },59 "request_id": "dTnnm60WgKGLnKL"60}
Was this helpful?
/processor/signal/decision/report
Report whether you initiated an ACH transaction
After calling /processor/signal/evaluate
, call /processor/signal/decision/report
to report whether the transaction was initiated.
If you are using the Plaid Transfer product to create transfers, it is not necessary to use this endpoint, as Plaid already knows whether the transfer was initiated.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.processor_token
processor-<environment>-<identifier>
client_transaction_id
client_transaction_id
supplied when calling /signal/evaluate
1
36
initiated
true
if the ACH transaction was initiated, false
otherwise.This field must be returned as a boolean. If formatted incorrectly, this will result in an
INVALID_FIELD
error.days_funds_on_hold
For example, use 0 if you make funds available to your customers instantly or the same day following the debit transaction, or 1 if you make funds available the next day following the debit initialization.
0
decision_outcome
APPROVE
: approve the transaction without requiring further actions from your customers. For example, use this field if you are placing a standard hold for all the approved transactions before making funds available to your customers. You should also use this field if you decide to accelerate the fund availability for your customers.REVIEW
: the transaction requires manual reviewREJECT
: reject the transactionTAKE_OTHER_RISK_MEASURES
: for example, placing a longer hold on funds than those approved transactions or introducing customer frictions such as step-up verification/authenticationNOT_EVALUATED
: if only logging the Signal results without using themPossible values:
APPROVE
, REVIEW
, REJECT
, TAKE_OTHER_RISK_MEASURES
, NOT_EVALUATED
APPROVE
, REVIEW
, REJECT
, TAKE_OTHER_RISK_MEASURES
, NOT_EVALUATED
payment_method
SAME_DAY_ACH
: Same Day ACH by NACHA. The debit transaction is processed and settled on the same dayNEXT_DAY_ACH
: Next Day ACH settlement for debit transactions, offered by some payment processorsSTANDARD_ACH
: standard ACH by NACHAREAL_TIME_PAYMENTS
: real-time payments such as RTP and FedNowDEBIT_CARD
: if the default payment is over debit card networksMULTIPLE_PAYMENT_METHODS
: if there is no default debit rail or there are multiple payment methodsPossible values:
SAME_DAY_ACH
, NEXT_DAY_ACH
, STANDARD_ACH
, REAL_TIME_PAYMENTS
, DEBIT_CARD
, MULTIPLE_PAYMENT_METHODS
SAME_DAY_ACH
, NEXT_DAY_ACH
, STANDARD_ACH
, REAL_TIME_PAYMENTS
, DEBIT_CARD
, MULTIPLE_PAYMENT_METHODS
amount_instantly _available
double
1const decision_report_request = {2 processor_token: 'processor-sandbox-71e02f71-0960-4a27-abd2-5631e04f2175',3 client_transaction_id: 'txn12345',4 initiated: true,5 days_funds_on_hold: 3,6};7
8try {9 const decision_report_response =10 await plaidClient.processorSignalDecisionReport(decision_report_request);11 const decision_request_id = decision_report_response.data.request_id;12} catch (error) {13 // handle error14}
Response fields and example
request_id
1{2 "request_id": "mdqfuVxeoza6mhu"3}
Was this helpful?
/processor/signal/return/report
Report a return for an ACH transaction
Call the /processor/signal/return/report
endpoint to report a returned transaction that was previously sent to the /processor/signal/evaluate
endpoint. Your feedback will be used by the model to incorporate the latest risk trend in your portfolio.
If you are using the Plaid Transfer product to create transfers, it is not necessary to use this endpoint, as Plaid already knows whether the transfer was returned.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.processor_token
processor-<environment>-<identifier>
client_transaction_id
client_transaction_id
supplied when calling /processor/signal/evaluate
1
36
return_code
If formatted incorrectly, this will result in an
INVALID_FIELD
error.returned_at
YYYY-MM-DDTHH:mm:ssZ
).date-time
1const return_report_request = {2 processor_token: 'processor-sandbox-71e02f71-0960-4a27-abd2-5631e04f2175',3 client_transaction_id: 'txn12345',4 return_code: 'R01',5};6
7try {8 const return_report_response = await plaidClient.processorSignalReturnReport(9 return_report_request,10 );11 const request_id = return_report_response.data.request_id;12 console.log(request_id);13} catch (error) {14 // handle error15}
Response fields and example
request_id
1{2 "request_id": "mdqfuVxeoza6mhu"3}
Was this helpful?
/processor/signal/prepare
Opt-in a processor token to Signal
When a processor token is not initialized with Signal, call /processor/signal/prepare
to opt-in that processor token to the Signal data collection process, which will improve the accuracy of the Signal score.
If this endpoint is called with a processor token that is already initialized with Signal, it will return a 200 response and will not modify the processor token.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.processor_token
processor-<environment>-<identifier>
1const prepare_request = {2 processor_token: 'processor-sandbox-71e02f71-0960-4a27-abd2-5631e04f2175',3};4
5try {6 const prepare_response =7 await plaidClient.processorSignalPrepare(prepare_request);8 const prepare_request_id = prepare_response.data.request_id;9} catch (error) {10 // handle error11}
Response fields and example
request_id
1{2 "request_id": "mdqfuVxeoza6mhu"3}
Was this helpful?
/processor/token/webhook/update
Update a processor token's webhook URL
This endpoint allows you, the processor, to update the webhook URL associated with a processor token. This request triggers a WEBHOOK_UPDATE_ACKNOWLEDGED
webhook to the newly specified webhook URL.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.processor_token
processor-<environment>-<identifier>
webhook
null
.1try {2 const request: ProcessorTokenWebhookUpdateRequest = {3 processor_token: processorToken,4 webhook: webhook,5 };6 const response = await plaidClient.processorTokenWebhookUpdate(request);7} catch (error) {8 // handle error9}
Response fields and example
request_id
1{2 "request_id": "vYK11LNTfRoAMbj"3}
Was this helpful?
/processor/transactions/sync
Get incremental transaction updates on a processor token
This endpoint replaces /processor/transactions/get
and its associated webhooks for most common use-cases.
The /processor/transactions/sync
endpoint allows developers to subscribe to all transactions associated with a processor token and get updates synchronously in a stream-like manner, using a cursor to track which updates have already been seen. /processor/transactions/sync
provides the same functionality as /processor/transactions/get
and can be used instead of /processor/transactions/get
to simplify the process of tracking transactions updates.
This endpoint provides 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 /investments/transactions/get
instead.
Returned transactions data is grouped into three types of update, indicating whether the transaction was added, removed, or modified since the last call to the API.
In the first call to /processor/transactions/sync
for a processor token, the endpoint will return all historical transactions data associated with that processor token up until the time of the API call (as "adds"), which then generates a next_cursor
for that processor token. In subsequent calls, send the next_cursor
to receive only the changes that have occurred since the previous call.
Due to the potentially large number of transactions associated with a processor token, results are paginated. The has_more
field specifies if additional calls are necessary to fetch all available transaction updates. Call /processor/transactions/sync
with the new cursor, pulling all updates, until has_more
is false
.
When retrieving paginated updates, track both the next_cursor
from the latest response and the original cursor from the first call in which has_more
was true
; if a call to /processor/transactions/sync
fails when retrieving a paginated update, which can occur as a result of the TRANSACTIONS_SYNC_MUTATION_DURING_PAGINATION
error, the entire pagination request loop must be restarted beginning with the cursor for the first page of the update, rather than retrying only the single request that failed.
Whenever new or updated transaction data becomes available, /processor/transactions/sync
will provide these updates. 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. To force Plaid to check for new transactions, use the /processor/transactions/refresh
endpoint.
Note that for newly created processor tokens, data may not be immediately available to /processor/transactions/sync
. Plaid begins preparing transactions data when the corresponding Item is created, but the process can take anywhere from a few seconds to several minutes to complete, depending on the number of transactions available.
To receive Transactions webhooks for a processor token, set its webhook URL via the /processor/token/webhook/update
endpoint.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.processor_token
processor-<environment>-<identifier>
secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.cursor
count
100
1
500
false
options
options
must not be null
.include_original _description
false
days_requested
transactions
in the products
, required_if_supported_products
, or optional_products
array when calling /link/token/create
or by making a previous call to /transactions/sync
or /transactions/get
). In those cases, the field controls the maximum number of days of transaction history that Plaid will request from the financial institution. The more transaction history is requested, the longer the historical update poll will take. If no value is specified, 90 days of history will be requested by default.If you are initializing your Items with transactions during the
/link/token/create
call (e.g. by including transactions
in the /link/token/create
products
array), you must use the transactions.days_requested
field in the /link/token/create
request instead of in the /transactions/sync
request.If the Item has already been initialized with the Transactions product, this field will have no effect. The maximum amount of transaction history to request on an Item cannot be updated if Transactions has already been added to the Item. To request older transaction history on an Item where Transactions has already been added, you must delete the Item via
/item/remove
and send the user through Link to create a new Item. Customers using Recurring Transactions should request at least 180 days of history for optimal results.
1
730
90
1// Provide a cursor from your database if you've previously2// received one for the Item. Leave null if this is your3// first sync call for this Item. The first request will4// return a cursor.5let cursor = database.getLatestCursorOrNull(itemId);6
7// New transaction updates since "cursor"8let added: Array<Transaction> = [];9let modified: Array<Transaction> = [];10// Removed transaction ids11let removed: Array<RemovedTransaction> = [];12let hasMore = true;13
14// Iterate through each page of new transaction updates for item15while (hasMore) {16 const request: ProcessorTransactionsSyncRequest = {17 processor_token: processorToken,18 cursor: cursor,19 };20 const response = await client.processorTransactionsSync(request);21 const data = response.data;22
23 // Add this page of results24 added = added.concat(data.added);25 modified = modified.concat(data.modified);26 removed = removed.concat(data.removed);27
28 hasMore = data.has_more;29
30 // Update cursor to the next cursor31 cursor = data.next_cursor;32}33
34// Persist cursor and updated data35database.applyUpdates(itemId, added, modified, removed, cursor);
Response fields and example
transactions_update _status
TRANSACTIONS_UPDATE_STATUS_UNKNOWN
: Unable to fetch transactions update status for Item.
NOT_READY
: The Item is pending transaction pull.
INITIAL_UPDATE_COMPLETE
: Initial pull for the Item is complete, historical pull is pending.
HISTORICAL_UPDATE_COMPLETE
: Both initial and historical pull for Item are complete.TRANSACTIONS_UPDATE_STATUS_UNKNOWN
, NOT_READY
, INITIAL_UPDATE_COMPLETE
, HISTORICAL_UPDATE_COMPLETE
account
account_id
account_id
will be assigned to the account.The
account_id
can also change if the access_token
is deleted and the same credentials that were used to generate that access_token
are used to generate a new access_token
on a later date. In that case, the new account_id
will be different from the old account_id
.If an account with a specific
account_id
disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.Like all Plaid identifiers, the
account_id
is case sensitive.balances
/accounts/balance/get
.available
For
credit
-type accounts, the available
balance typically equals the limit
less the current
balance, less any pending outflows plus any pending inflows.For
depository
-type accounts, the available
balance typically equals the current
balance less any pending outflows plus any pending inflows. For depository
-type accounts, the available
balance does not include the overdraft limit.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the available
balance is the total cash available to withdraw as presented by the institution.Note that not all institutions calculate the
available
balance. In the event that available
balance is unavailable, Plaid will return an available
balance value of null
.Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by
/accounts/balance/get
.If
current
is null
this field is guaranteed not to be null
.double
current
For
credit
-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder.For
loan
-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (ins_116944
). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution.Note that balance information may be cached unless the value was returned by
/accounts/balance/get
; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the available
balance as provided by /accounts/balance/get
.When returned by
/accounts/balance/get
, this field may be null
. When this happens, available
is guaranteed not to be null
.double
limit
credit
-type accounts, this represents the credit limit.For
depository
-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe.In North America, this field is typically only available for
credit
-type accounts.double
iso_currency_code
unofficial_currency_code
is non-null.unofficial_currency _code
iso_currency_code
is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
unofficial_currency_code
s.last_updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only used and expected when the institution is
ins_128026
(Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See account type schema for a full list of account types.If the balance that is pulled is older than the given timestamp for Items with this field required, an
INVALID_REQUEST
error with the code of LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned with the most recent timestamp for the requested account contained in the response.date-time
mask
name
official_name
type
investment:
Investment account. In API versions 2018-05-22 and earlier, this type is called brokerage
instead.credit:
Credit carddepository:
Depository accountloan:
Loan accountother:
Non-specified account typeSee the Account type schema for a full listing of account types and corresponding subtypes.
investment
, credit
, depository
, loan
, brokerage
, other
subtype
401a
, 401k
, 403B
, 457b
, 529
, auto
, brokerage
, business
, cash isa
, cash management
, cd
, checking
, commercial
, construction
, consumer
, credit card
, crypto exchange
, ebt
, education savings account
, fixed annuity
, gic
, health reimbursement arrangement
, home equity
, hsa
, isa
, ira
, keogh
, lif
, life insurance
, line of credit
, lira
, loan
, lrif
, lrsp
, money market
, mortgage
, mutual fund
, non-custodial wallet
, non-taxable brokerage account
, other
, other insurance
, other annuity
, overdraft
, paypal
, payroll
, pension
, prepaid
, prif
, profit sharing plan
, rdsp
, resp
, retirement
, rlif
, roth
, roth 401k
, rrif
, rrsp
, sarsep
, savings
, sep ira
, simple ira
, sipp
, stock plan
, student
, thrift savings plan
, tfsa
, trust
, ugma
, utma
, variable annuity
verification_status
pending_automatic_verification
: The Item is pending automatic verificationpending_manual_verification
: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit.automatically_verified
: The Item has successfully been automatically verified manually_verified
: The Item has successfully been manually verifiedverification_expired
: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link.verification_failed
: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.database_matched
: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match.database_insights_pass
: The Item's numbers have been verified using Plaid's data sources and have strong signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_pass_with_caution
: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_fail
: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.automatically_verified
, pending_automatic_verification
, pending_manual_verification
, manually_verified
, verification_expired
, verification_failed
, database_matched
, database_insights_pass
, database_insights_pass_with_caution
, database_insights_fail
verification_insights
network_status
has_numbers_match
is_numbers_match _verified
previous_returns
has_previous _administrative_return
account_number_format
valid
: indicates that the account number has a correct format for the institution.invalid
: indicates that the account number has an incorrect format for the institution.unknown
: indicates that there was not enough information to determine whether the format is correct for the institution.valid
, invalid
, unknown
persistent_account_id
holder_category
business
, personal
, unrecognized
added
cursor
ordered by ascending last modified time.account_id
amount
iso_currency_code
or unofficial_currency_code
. For all products except Income: Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. For Income endpoints, values are positive when representing income.double
iso_currency_code
null
if unofficial_currency_code
is non-null.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
iso_currency_code
s.category
/categories/get
.All Transactions implementations are recommended to use the new
personal_finance_category
instead of category
, as it provides greater accuracy and more meaningful categorization.If the
transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.category_id
/categories/get
.All Transactions implementations are recommended to use the new
personal_finance_category
instead of category
, as it provides greater accuracy and more meaningful categorization.If the
transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.check_number
date
YYYY-MM-DD
). To receive information about the date that a posted transaction was initiated, see the authorized_date
field.date
location
address
city
region
state
.postal_code
zip
.country
lat
double
lon
double
store_number
name
Note: This is a legacy field that is not actively maintained. Use
merchant_name
instead for the merchant name.If the
transactions
object was returned by a Transactions endpoint such as /transactions/sync
or /transactions/get
, this field will always appear. If the transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.merchant_name
name
field. This is typically a more human-readable version of the merchant counterparty in the transaction. For some bank transactions (such as checks or account transfers) where there is no meaningful merchant name, this value will be null
.original_description
/transactions/sync
or /transactions/get
, this field will only be included if the client has set options.include_original_description
to true
.payment_meta
null
.If the
transactions
object was returned by a Transactions endpoint such as /transactions/sync
or /transactions/get
, the payment_meta
key will always appear, but no data elements are guaranteed. If the transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.reference_number
ppd_id
payee
by_order_of
null
if the transaction is not a wire transfer.payer
payment_method
payment_processor
reason
pending
true
, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. Not all institutions provide pending transactions.pending_transaction_id
account_owner
transaction_id
transaction_id
is case sensitive.transaction_type
payment_channel
field, transaction_type
will be deprecated in the future.digital:
transactions that took place online.place:
transactions that were made at a physical location.special:
transactions that relate to banks, e.g. fees or deposits.unresolved:
transactions that do not fit into the other three types.digital
, place
, special
, unresolved
logo_url
website
authorized_date
date
field will indicate the posted date, but authorized_date
will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the authorized_date
, when available, is generally preferable to use over the date
field for posted transactions, as it will generally represent the date the user actually made the transaction. Dates are returned in an ISO 8601 format ( YYYY-MM-DD
).date
authorized_datetime
YYYY-MM-DDTHH:mm:ssZ
). For posted transactions, the datetime
field will indicate the posted date, but authorized_datetime
will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the authorized_datetime
, when available, is generally preferable to use over the datetime
field for posted transactions, as it will generally represent the date the user actually made the transaction.This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). This field is only populated in API version 2019-05-29 and later.
date-time
datetime
YYYY-MM-DDTHH:mm:ssZ
). For the date that the transaction was initiated, rather than posted, see the authorized_datetime
field.This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). This field is only populated in API version 2019-05-29 and later.
date-time
payment_channel
online:
transactions that took place online.in store:
transactions that were made at a physical location.other:
transactions that relate to banks, e.g. fees or deposits.This field replaces the
transaction_type
field.online
, in store
, other
personal_finance _category
See the
taxonomy CSV file
for a full list of personal finance categories. If you are migrating to personal finance categories from the legacy categories, also refer to the migration guide
.primary
detailed
confidence_level
VERY_HIGH
: We are more than 98% confident that this category reflects the intent of the transaction.
HIGH
: We are more than 90% confident that this category reflects the intent of the transaction.
MEDIUM
: We are moderately confident that this category reflects the intent of the transaction.
LOW
: This category may reflect the intent, but there may be other categories that are more accurate.
UNKNOWN
: We don’t know the confidence level for this category.transaction_code
This field is only populated for European institutions. For institutions in the US and Canada, this field is set to
null
.adjustment:
Bank adjustmentatm:
Cash deposit or withdrawal via an automated teller machinebank charge:
Charge or fee levied by the institutionbill payment
: Payment of a billcash:
Cash deposit or withdrawalcashback:
Cash withdrawal while making a debit card purchasecheque:
Document ordering the payment of money to another person or organizationdirect debit:
Automatic withdrawal of funds initiated by a third party at a regular intervalinterest:
Interest earned or incurredpurchase:
Purchase made with a debit or credit cardstanding order:
Payment instructed by the account holder to a third party at a regular intervaltransfer:
Transfer of money between accountsadjustment
, atm
, bank charge
, bill payment
, cash
, cashback
, cheque
, direct debit
, interest
, purchase
, standing order
, transfer
, null
personal_finance _category_icon_url
counterparties
name
entity_id
type
merchant
: a provider of goods or services for purchase
financial_institution
: a financial entity (bank, credit union, BNPL, fintech)
payment_app
: a transfer or P2P app (e.g. Zelle)
marketplace
: a marketplace (e.g DoorDash, Google Play Store)
payment_terminal
: a point-of-sale payment terminal (e.g Square, Toast)
income_source
: the payer in an income transaction (e.g., an employer, client, or government agency)merchant
, financial_institution
, payment_app
, marketplace
, payment_terminal
, income_source
website
logo_url
confidence_level
VERY_HIGH
: We recognize this counterparty and we are more than 98% confident that it is involved in this transaction.
HIGH
: We recognize this counterparty and we are more than 90% confident that it is involved in this transaction.
MEDIUM
: We are moderately confident that this counterparty was involved in this transaction, but some details may differ from our records.
LOW
: We didn’t find a matching counterparty in our records, so we are returning a cleansed name parsed out of the request description.
UNKNOWN
: We don’t know the confidence level for this counterparty.merchant_entity_id
modified
cursor
ordered by ascending last modified time.account_id
amount
iso_currency_code
or unofficial_currency_code
. For all products except Income: Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. For Income endpoints, values are positive when representing income.double
iso_currency_code
null
if unofficial_currency_code
is non-null.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
iso_currency_code
s.category
/categories/get
.All Transactions implementations are recommended to use the new
personal_finance_category
instead of category
, as it provides greater accuracy and more meaningful categorization.If the
transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.category_id
/categories/get
.All Transactions implementations are recommended to use the new
personal_finance_category
instead of category
, as it provides greater accuracy and more meaningful categorization.If the
transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.check_number
date
YYYY-MM-DD
). To receive information about the date that a posted transaction was initiated, see the authorized_date
field.date
location
address
city
region
state
.postal_code
zip
.country
lat
double
lon
double
store_number
name
Note: This is a legacy field that is not actively maintained. Use
merchant_name
instead for the merchant name.If the
transactions
object was returned by a Transactions endpoint such as /transactions/sync
or /transactions/get
, this field will always appear. If the transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.merchant_name
name
field. This is typically a more human-readable version of the merchant counterparty in the transaction. For some bank transactions (such as checks or account transfers) where there is no meaningful merchant name, this value will be null
.original_description
/transactions/sync
or /transactions/get
, this field will only be included if the client has set options.include_original_description
to true
.payment_meta
null
.If the
transactions
object was returned by a Transactions endpoint such as /transactions/sync
or /transactions/get
, the payment_meta
key will always appear, but no data elements are guaranteed. If the transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.reference_number
ppd_id
payee
by_order_of
null
if the transaction is not a wire transfer.payer
payment_method
payment_processor
reason
pending
true
, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. Not all institutions provide pending transactions.pending_transaction_id
account_owner
transaction_id
transaction_id
is case sensitive.transaction_type
payment_channel
field, transaction_type
will be deprecated in the future.digital:
transactions that took place online.place:
transactions that were made at a physical location.special:
transactions that relate to banks, e.g. fees or deposits.unresolved:
transactions that do not fit into the other three types.digital
, place
, special
, unresolved
logo_url
website
authorized_date
date
field will indicate the posted date, but authorized_date
will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the authorized_date
, when available, is generally preferable to use over the date
field for posted transactions, as it will generally represent the date the user actually made the transaction. Dates are returned in an ISO 8601 format ( YYYY-MM-DD
).date
authorized_datetime
YYYY-MM-DDTHH:mm:ssZ
). For posted transactions, the datetime
field will indicate the posted date, but authorized_datetime
will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the authorized_datetime
, when available, is generally preferable to use over the datetime
field for posted transactions, as it will generally represent the date the user actually made the transaction.This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). This field is only populated in API version 2019-05-29 and later.
date-time
datetime
YYYY-MM-DDTHH:mm:ssZ
). For the date that the transaction was initiated, rather than posted, see the authorized_datetime
field.This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). This field is only populated in API version 2019-05-29 and later.
date-time
payment_channel
online:
transactions that took place online.in store:
transactions that were made at a physical location.other:
transactions that relate to banks, e.g. fees or deposits.This field replaces the
transaction_type
field.online
, in store
, other
personal_finance _category
See the
taxonomy CSV file
for a full list of personal finance categories. If you are migrating to personal finance categories from the legacy categories, also refer to the migration guide
.primary
detailed
confidence_level
VERY_HIGH
: We are more than 98% confident that this category reflects the intent of the transaction.
HIGH
: We are more than 90% confident that this category reflects the intent of the transaction.
MEDIUM
: We are moderately confident that this category reflects the intent of the transaction.
LOW
: This category may reflect the intent, but there may be other categories that are more accurate.
UNKNOWN
: We don’t know the confidence level for this category.transaction_code
This field is only populated for European institutions. For institutions in the US and Canada, this field is set to
null
.adjustment:
Bank adjustmentatm:
Cash deposit or withdrawal via an automated teller machinebank charge:
Charge or fee levied by the institutionbill payment
: Payment of a billcash:
Cash deposit or withdrawalcashback:
Cash withdrawal while making a debit card purchasecheque:
Document ordering the payment of money to another person or organizationdirect debit:
Automatic withdrawal of funds initiated by a third party at a regular intervalinterest:
Interest earned or incurredpurchase:
Purchase made with a debit or credit cardstanding order:
Payment instructed by the account holder to a third party at a regular intervaltransfer:
Transfer of money between accountsadjustment
, atm
, bank charge
, bill payment
, cash
, cashback
, cheque
, direct debit
, interest
, purchase
, standing order
, transfer
, null
personal_finance _category_icon_url
counterparties
name
entity_id
type
merchant
: a provider of goods or services for purchase
financial_institution
: a financial entity (bank, credit union, BNPL, fintech)
payment_app
: a transfer or P2P app (e.g. Zelle)
marketplace
: a marketplace (e.g DoorDash, Google Play Store)
payment_terminal
: a point-of-sale payment terminal (e.g Square, Toast)
income_source
: the payer in an income transaction (e.g., an employer, client, or government agency)merchant
, financial_institution
, payment_app
, marketplace
, payment_terminal
, income_source
website
logo_url
confidence_level
VERY_HIGH
: We recognize this counterparty and we are more than 98% confident that it is involved in this transaction.
HIGH
: We recognize this counterparty and we are more than 90% confident that it is involved in this transaction.
MEDIUM
: We are moderately confident that this counterparty was involved in this transaction, but some details may differ from our records.
LOW
: We didn’t find a matching counterparty in our records, so we are returning a cleansed name parsed out of the request description.
UNKNOWN
: We don’t know the confidence level for this counterparty.merchant_entity_id
removed
cursor
ordered by ascending last modified time.transaction_id
account_id
next_cursor
has_more
being false
) will be valid for at least 1 year. This cursor should be persisted for later calls. If transactions are not yet available, this will be an empty string.has_more
cursor
set to next_cursor
. If has_more
is true, it’s important to pull all available pages, to make it less likely for underlying data changes to conflict with pagination.request_id
1{2 "account": {3 "account_id": "BxBXxLj1m4HMXBm9WZZmCWVbPjX16EHwv99vp",4 "balances": {5 "available": 110.94,6 "current": 110.94,7 "iso_currency_code": "USD",8 "limit": null,9 "unofficial_currency_code": null10 },11 "mask": "0000",12 "name": "Plaid Checking",13 "official_name": "Plaid Gold Standard 0% Interest Checking",14 "subtype": "checking",15 "type": "depository"16 },17 "added": [18 {19 "account_id": "BxBXxLj1m4HMXBm9WZZmCWVbPjX16EHwv99vp",20 "account_owner": null,21 "amount": 72.1,22 "iso_currency_code": "USD",23 "unofficial_currency_code": null,24 "category": [25 "Shops",26 "Supermarkets and Groceries"27 ],28 "category_id": "19046000",29 "check_number": null,30 "counterparties": [31 {32 "name": "Walmart",33 "type": "merchant",34 "logo_url": "https://plaid-merchant-logos.plaid.com/walmart_1100.png",35 "website": "walmart.com",36 "entity_id": "O5W5j4dN9OR3E6ypQmjdkWZZRoXEzVMz2ByWM",37 "confidence_level": "VERY_HIGH"38 }39 ],40 "date": "2023-09-24",41 "datetime": "2023-09-24T11:01:01Z",42 "authorized_date": "2023-09-22",43 "authorized_datetime": "2023-09-22T10:34:50Z",44 "location": {45 "address": "13425 Community Rd",46 "city": "Poway",47 "region": "CA",48 "postal_code": "92064",49 "country": "US",50 "lat": 32.959068,51 "lon": -117.037666,52 "store_number": "1700"53 },54 "name": "PURCHASE WM SUPERCENTER #1700",55 "merchant_name": "Walmart",56 "merchant_entity_id": "O5W5j4dN9OR3E6ypQmjdkWZZRoXEzVMz2ByWM",57 "logo_url": "https://plaid-merchant-logos.plaid.com/walmart_1100.png",58 "website": "walmart.com",59 "payment_meta": {60 "by_order_of": null,61 "payee": null,62 "payer": null,63 "payment_method": null,64 "payment_processor": null,65 "ppd_id": null,66 "reason": null,67 "reference_number": null68 },69 "payment_channel": "in store",70 "pending": false,71 "pending_transaction_id": "no86Eox18VHMvaOVL7gPUM9ap3aR1LsAVZ5nc",72 "personal_finance_category": {73 "primary": "GENERAL_MERCHANDISE",74 "detailed": "GENERAL_MERCHANDISE_SUPERSTORES",75 "confidence_level": "VERY_HIGH"76 },77 "personal_finance_category_icon_url": "https://plaid-category-icons.plaid.com/PFC_GENERAL_MERCHANDISE.png",78 "transaction_id": "lPNjeW1nR6CDn5okmGQ6hEpMo4lLNoSrzqDje",79 "transaction_code": null,80 "transaction_type": "place"81 }82 ],83 "modified": [84 {85 "account_id": "BxBXxLj1m4HMXBm9WZZmCWVbPjX16EHwv99vp",86 "account_owner": null,87 "amount": 28.34,88 "iso_currency_code": "USD",89 "unofficial_currency_code": null,90 "category": [91 "Food and Drink",92 "Restaurants",93 "Fast Food"94 ],95 "category_id": "13005032",96 "check_number": null,97 "counterparties": [98 {99 "name": "DoorDash",100 "type": "marketplace",101 "logo_url": "https://plaid-counterparty-logos.plaid.com/doordash_1.png",102 "website": "doordash.com",103 "entity_id": "YNRJg5o2djJLv52nBA1Yn1KpL858egYVo4dpm",104 "confidence_level": "HIGH"105 },106 {107 "name": "Burger King",108 "type": "merchant",109 "logo_url": "https://plaid-merchant-logos.plaid.com/burger_king_155.png",110 "website": "burgerking.com",111 "entity_id": "mVrw538wamwdm22mK8jqpp7qd5br0eeV9o4a1",112 "confidence_level": "VERY_HIGH"113 }114 ],115 "date": "2023-09-28",116 "datetime": "2023-09-28T15:10:09Z",117 "authorized_date": "2023-09-27",118 "authorized_datetime": "2023-09-27T08:01:58Z",119 "location": {120 "address": null,121 "city": null,122 "region": null,123 "postal_code": null,124 "country": null,125 "lat": null,126 "lon": null,127 "store_number": null128 },129 "name": "Dd Doordash Burgerkin",130 "merchant_name": "Burger King",131 "merchant_entity_id": "mVrw538wamwdm22mK8jqpp7qd5br0eeV9o4a1",132 "logo_url": "https://plaid-merchant-logos.plaid.com/burger_king_155.png",133 "website": "burgerking.com",134 "payment_meta": {135 "by_order_of": null,136 "payee": null,137 "payer": null,138 "payment_method": null,139 "payment_processor": null,140 "ppd_id": null,141 "reason": null,142 "reference_number": null143 },144 "payment_channel": "online",145 "pending": true,146 "pending_transaction_id": null,147 "personal_finance_category": {148 "primary": "FOOD_AND_DRINK",149 "detailed": "FOOD_AND_DRINK_FAST_FOOD",150 "confidence_level": "VERY_HIGH"151 },152 "personal_finance_category_icon_url": "https://plaid-category-icons.plaid.com/PFC_FOOD_AND_DRINK.png",153 "transaction_id": "yhnUVvtcGGcCKU0bcz8PDQr5ZUxUXebUvbKC0",154 "transaction_code": null,155 "transaction_type": "digital"156 }157 ],158 "removed": [159 {160 "transaction_id": "CmdQTNgems8BT1B7ibkoUXVPyAeehT3Tmzk0l",161 "account_id": "BxBXxLj1m4HMXBm9WZZmCWVbPjX16EHwv99vp"162 }163 ],164 "next_cursor": "tVUUL15lYQN5rBnfDIc1I8xudpGdIlw9nsgeXWvhOfkECvUeR663i3Dt1uf/94S8ASkitgLcIiOSqNwzzp+bh89kirazha5vuZHBb2ZA5NtCDkkV",165 "has_more": false,166 "request_id": "45QSn",167 "transactions_update_status": "HISTORICAL_UPDATE_COMPLETE"168}
Was this helpful?
/processor/transactions/get
Get transaction data
The /processor/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). 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 /processor/transactions/get
. For more details, see Pending and posted transactions.
Due to the potentially large number of transactions associated with a processor token, 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 /processor/transactions/get
will be the data available for the processor token 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. To force Plaid to check for new transactions, you can use the /processor/transactions/refresh
endpoint.
Note that data may not be immediately available to /processor/transactions/get
. Plaid will begin to prepare transactions data upon Item link, if Link was initialized with transactions
, or upon the first call to /processor/transactions/get
, if it wasn't. If no transaction history is ready when /processor/transactions/get
is called, it will return a PRODUCT_NOT_READY
error.
To receive Transactions webhooks for a processor token, set its webhook URL via the /processor/token/webhook/update
endpoint.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.options
options
must not be null
.count
100
1
500
false
offset
0
0
include_original _description
false
processor_token
processor-<environment>-<identifier>
secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.start_date
date
end_date
date
1const request: ProcessorTransactionsGetRequest = {2 processor_token: processorToken,3 start_date: '2018-01-01',4 end_date: '2020-02-01'5};6try {7 const response = await client.processorTransactionsGet(request);8 let transactions = response.data.transactions;9 const total_transactions = response.data.total_transactions;10 // Manipulate the offset parameter to paginate11 // transactions and retrieve all available data12 while (transactions.length < total_transactions) {13 const paginatedRequest: ProcessorTransactionsGetRequest = {14 processor_token: processorToken,15 start_date: '2018-01-01',16 end_date: '2020-02-01',17 options: {18 offset: transactions.length,19 },20 };21 const paginatedResponse = await client.processorTransactionsGet(paginatedRequest);22 transactions = transactions.concat(23 paginatedResponse.data.transactions,24 );25 }26} catch((err) => {27 // handle error28}
Response fields and example
account
account_id
account_id
will be assigned to the account.The
account_id
can also change if the access_token
is deleted and the same credentials that were used to generate that access_token
are used to generate a new access_token
on a later date. In that case, the new account_id
will be different from the old account_id
.If an account with a specific
account_id
disappears instead of changing, the account is likely closed. Closed accounts are not returned by the Plaid API.Like all Plaid identifiers, the
account_id
is case sensitive.balances
/accounts/balance/get
.available
For
credit
-type accounts, the available
balance typically equals the limit
less the current
balance, less any pending outflows plus any pending inflows.For
depository
-type accounts, the available
balance typically equals the current
balance less any pending outflows plus any pending inflows. For depository
-type accounts, the available
balance does not include the overdraft limit.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the available
balance is the total cash available to withdraw as presented by the institution.Note that not all institutions calculate the
available
balance. In the event that available
balance is unavailable, Plaid will return an available
balance value of null
.Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by
/accounts/balance/get
.If
current
is null
this field is guaranteed not to be null
.double
current
For
credit
-type accounts, a positive balance indicates the amount owed; a negative amount indicates the lender owing the account holder.For
loan
-type accounts, the current balance is the principal remaining on the loan, except in the case of student loan accounts at Sallie Mae (ins_116944
). For Sallie Mae student loans, the account's balance includes both principal and any outstanding interest.For
investment
-type accounts (or brokerage
-type accounts for API versions 2018-05-22 and earlier), the current balance is the total value of assets as presented by the institution.Note that balance information may be cached unless the value was returned by
/accounts/balance/get
; if the Item is enabled for Transactions, the balance will be at least as recent as the most recent Transaction update. If you require realtime balance information, use the available
balance as provided by /accounts/balance/get
.When returned by
/accounts/balance/get
, this field may be null
. When this happens, available
is guaranteed not to be null
.double
limit
credit
-type accounts, this represents the credit limit.For
depository
-type accounts, this represents the pre-arranged overdraft limit, which is common for current (checking) accounts in Europe.In North America, this field is typically only available for
credit
-type accounts.double
iso_currency_code
unofficial_currency_code
is non-null.unofficial_currency _code
iso_currency_code
is non-null. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
unofficial_currency_code
s.last_updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the oldest acceptable balance when making a request to /accounts/balance/get
.This field is only used and expected when the institution is
ins_128026
(Capital One) and the Item contains one or more accounts with a non-depository account type, in which case a value must be provided or an INVALID_REQUEST
error with the code of INVALID_FIELD
will be returned. For Capital One depository accounts as well as all other account types on all other institutions, this field is ignored. See account type schema for a full list of account types.If the balance that is pulled is older than the given timestamp for Items with this field required, an
INVALID_REQUEST
error with the code of LAST_UPDATED_DATETIME_OUT_OF_RANGE
will be returned with the most recent timestamp for the requested account contained in the response.date-time
mask
name
official_name
type
investment:
Investment account. In API versions 2018-05-22 and earlier, this type is called brokerage
instead.credit:
Credit carddepository:
Depository accountloan:
Loan accountother:
Non-specified account typeSee the Account type schema for a full listing of account types and corresponding subtypes.
investment
, credit
, depository
, loan
, brokerage
, other
subtype
401a
, 401k
, 403B
, 457b
, 529
, auto
, brokerage
, business
, cash isa
, cash management
, cd
, checking
, commercial
, construction
, consumer
, credit card
, crypto exchange
, ebt
, education savings account
, fixed annuity
, gic
, health reimbursement arrangement
, home equity
, hsa
, isa
, ira
, keogh
, lif
, life insurance
, line of credit
, lira
, loan
, lrif
, lrsp
, money market
, mortgage
, mutual fund
, non-custodial wallet
, non-taxable brokerage account
, other
, other insurance
, other annuity
, overdraft
, paypal
, payroll
, pension
, prepaid
, prif
, profit sharing plan
, rdsp
, resp
, retirement
, rlif
, roth
, roth 401k
, rrif
, rrsp
, sarsep
, savings
, sep ira
, simple ira
, sipp
, stock plan
, student
, thrift savings plan
, tfsa
, trust
, ugma
, utma
, variable annuity
verification_status
pending_automatic_verification
: The Item is pending automatic verificationpending_manual_verification
: The Item is pending manual micro-deposit verification. Items remain in this state until the user successfully verifies the micro-deposit.automatically_verified
: The Item has successfully been automatically verified manually_verified
: The Item has successfully been manually verifiedverification_expired
: Plaid was unable to automatically verify the deposit within 7 calendar days and will no longer attempt to validate the Item. Users may retry by submitting their information again through Link.verification_failed
: The Item failed manual micro-deposit verification because the user exhausted all 3 verification attempts. Users may retry by submitting their information again through Link.database_matched
: The Item has successfully been verified using Plaid's data sources. Only returned for Auth Items created via Database Match.database_insights_pass
: The Item's numbers have been verified using Plaid's data sources and have strong signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_pass_with_caution
: The Item's numbers have been verified using Plaid's data sources and have some signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.database_insights_fail
: The Item's numbers have been verified using Plaid's data sources and have signal for being invalid and/or have no signal for being valid. Only returned for Auth Items created via Database Insights. Note: Database Insights is currently a beta feature, please contact your account manager for more information.automatically_verified
, pending_automatic_verification
, pending_manual_verification
, manually_verified
, verification_expired
, verification_failed
, database_matched
, database_insights_pass
, database_insights_pass_with_caution
, database_insights_fail
verification_insights
network_status
has_numbers_match
is_numbers_match _verified
previous_returns
has_previous _administrative_return
account_number_format
valid
: indicates that the account number has a correct format for the institution.invalid
: indicates that the account number has an incorrect format for the institution.unknown
: indicates that there was not enough information to determine whether the format is correct for the institution.valid
, invalid
, unknown
persistent_account_id
holder_category
business
, personal
, unrecognized
transactions
count
parameter.account_id
amount
iso_currency_code
or unofficial_currency_code
. For all products except Income: Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. For Income endpoints, values are positive when representing income.double
iso_currency_code
null
if unofficial_currency_code
is non-null.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.See the currency code schema for a full listing of supported
iso_currency_code
s.category
/categories/get
.All Transactions implementations are recommended to use the new
personal_finance_category
instead of category
, as it provides greater accuracy and more meaningful categorization.If the
transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.category_id
/categories/get
.All Transactions implementations are recommended to use the new
personal_finance_category
instead of category
, as it provides greater accuracy and more meaningful categorization.If the
transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.check_number
date
YYYY-MM-DD
). To receive information about the date that a posted transaction was initiated, see the authorized_date
field.date
location
address
city
region
state
.postal_code
zip
.country
lat
double
lon
double
store_number
name
Note: This is a legacy field that is not actively maintained. Use
merchant_name
instead for the merchant name.If the
transactions
object was returned by a Transactions endpoint such as /transactions/sync
or /transactions/get
, this field will always appear. If the transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.merchant_name
name
field. This is typically a more human-readable version of the merchant counterparty in the transaction. For some bank transactions (such as checks or account transfers) where there is no meaningful merchant name, this value will be null
.original_description
/transactions/sync
or /transactions/get
, this field will only be included if the client has set options.include_original_description
to true
.payment_meta
null
.If the
transactions
object was returned by a Transactions endpoint such as /transactions/sync
or /transactions/get
, the payment_meta
key will always appear, but no data elements are guaranteed. If the transactions
object was returned by an Assets endpoint such as /asset_report/get/
or /asset_report/pdf/get
, this field will only appear in an Asset Report with Insights.reference_number
ppd_id
payee
by_order_of
null
if the transaction is not a wire transfer.payer
payment_method
payment_processor
reason
pending
true
, identifies the transaction as pending or unsettled. Pending transaction details (name, type, amount, category ID) may change before they are settled. Not all institutions provide pending transactions.pending_transaction_id
account_owner
transaction_id
transaction_id
is case sensitive.transaction_type
payment_channel
field, transaction_type
will be deprecated in the future.digital:
transactions that took place online.place:
transactions that were made at a physical location.special:
transactions that relate to banks, e.g. fees or deposits.unresolved:
transactions that do not fit into the other three types.digital
, place
, special
, unresolved
logo_url
website
authorized_date
date
field will indicate the posted date, but authorized_date
will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the authorized_date
, when available, is generally preferable to use over the date
field for posted transactions, as it will generally represent the date the user actually made the transaction. Dates are returned in an ISO 8601 format ( YYYY-MM-DD
).date
authorized_datetime
YYYY-MM-DDTHH:mm:ssZ
). For posted transactions, the datetime
field will indicate the posted date, but authorized_datetime
will indicate the day the transaction was authorized by the financial institution. If presenting transactions to the user in a UI, the authorized_datetime
, when available, is generally preferable to use over the datetime
field for posted transactions, as it will generally represent the date the user actually made the transaction.This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). This field is only populated in API version 2019-05-29 and later.
date-time
datetime
YYYY-MM-DDTHH:mm:ssZ
). For the date that the transaction was initiated, rather than posted, see the authorized_datetime
field.This field is returned for select financial institutions and comes as provided by the institution. It may contain default time values (such as 00:00:00). This field is only populated in API version 2019-05-29 and later.
date-time
payment_channel
online:
transactions that took place online.in store:
transactions that were made at a physical location.other:
transactions that relate to banks, e.g. fees or deposits.This field replaces the
transaction_type
field.online
, in store
, other
personal_finance _category
See the
taxonomy CSV file
for a full list of personal finance categories. If you are migrating to personal finance categories from the legacy categories, also refer to the migration guide
.primary
detailed
confidence_level
VERY_HIGH
: We are more than 98% confident that this category reflects the intent of the transaction.
HIGH
: We are more than 90% confident that this category reflects the intent of the transaction.
MEDIUM
: We are moderately confident that this category reflects the intent of the transaction.
LOW
: This category may reflect the intent, but there may be other categories that are more accurate.
UNKNOWN
: We don’t know the confidence level for this category.transaction_code
This field is only populated for European institutions. For institutions in the US and Canada, this field is set to
null
.adjustment:
Bank adjustmentatm:
Cash deposit or withdrawal via an automated teller machinebank charge:
Charge or fee levied by the institutionbill payment
: Payment of a billcash:
Cash deposit or withdrawalcashback:
Cash withdrawal while making a debit card purchasecheque:
Document ordering the payment of money to another person or organizationdirect debit:
Automatic withdrawal of funds initiated by a third party at a regular intervalinterest:
Interest earned or incurredpurchase:
Purchase made with a debit or credit cardstanding order:
Payment instructed by the account holder to a third party at a regular intervaltransfer:
Transfer of money between accountsadjustment
, atm
, bank charge
, bill payment
, cash
, cashback
, cheque
, direct debit
, interest
, purchase
, standing order
, transfer
, null
personal_finance _category_icon_url
counterparties
name
entity_id
type
merchant
: a provider of goods or services for purchase
financial_institution
: a financial entity (bank, credit union, BNPL, fintech)
payment_app
: a transfer or P2P app (e.g. Zelle)
marketplace
: a marketplace (e.g DoorDash, Google Play Store)
payment_terminal
: a point-of-sale payment terminal (e.g Square, Toast)
income_source
: the payer in an income transaction (e.g., an employer, client, or government agency)merchant
, financial_institution
, payment_app
, marketplace
, payment_terminal
, income_source
website
logo_url
confidence_level
VERY_HIGH
: We recognize this counterparty and we are more than 98% confident that it is involved in this transaction.
HIGH
: We recognize this counterparty and we are more than 90% confident that it is involved in this transaction.
MEDIUM
: We are moderately confident that this counterparty was involved in this transaction, but some details may differ from our records.
LOW
: We didn’t find a matching counterparty in our records, so we are returning a cleansed name parsed out of the request description.
UNKNOWN
: We don’t know the confidence level for this counterparty.merchant_entity_id
total_transactions
total_transactions
is larger than the size of the transactions
array, more transactions are available and can be fetched via manipulating the offset
parameter.request_id
1{2 "account": {3 "account_id": "BxBXxLj1m4HMXBm9WZZmCWVbPjX16EHwv99vp",4 "balances": {5 "available": 110.94,6 "current": 110.94,7 "iso_currency_code": "USD",8 "limit": null,9 "unofficial_currency_code": null10 },11 "mask": "0000",12 "name": "Plaid Checking",13 "official_name": "Plaid Gold Standard 0% Interest Checking",14 "subtype": "checking",15 "type": "depository"16 },17 "transactions": [18 {19 "account_id": "BxBXxLj1m4HMXBm9WZZmCWVbPjX16EHwv99vp",20 "account_owner": null,21 "amount": 28.34,22 "iso_currency_code": "USD",23 "unofficial_currency_code": null,24 "category": [25 "Food and Drink",26 "Restaurants",27 "Fast Food"28 ],29 "category_id": "13005032",30 "check_number": null,31 "counterparties": [32 {33 "name": "DoorDash",34 "type": "marketplace",35 "logo_url": "https://plaid-counterparty-logos.plaid.com/doordash_1.png",36 "website": "doordash.com",37 "entity_id": "YNRJg5o2djJLv52nBA1Yn1KpL858egYVo4dpm",38 "confidence_level": "HIGH"39 },40 {41 "name": "Burger King",42 "type": "merchant",43 "logo_url": "https://plaid-merchant-logos.plaid.com/burger_king_155.png",44 "website": "burgerking.com",45 "entity_id": "mVrw538wamwdm22mK8jqpp7qd5br0eeV9o4a1",46 "confidence_level": "VERY_HIGH"47 }48 ],49 "date": "2023-09-28",50 "datetime": "2023-09-28T15:10:09Z",51 "authorized_date": "2023-09-27",52 "authorized_datetime": "2023-09-27T08:01:58Z",53 "location": {54 "address": null,55 "city": null,56 "region": null,57 "postal_code": null,58 "country": null,59 "lat": null,60 "lon": null,61 "store_number": null62 },63 "name": "Dd Doordash Burgerkin",64 "merchant_name": "Burger King",65 "merchant_entity_id": "mVrw538wamwdm22mK8jqpp7qd5br0eeV9o4a1",66 "logo_url": "https://plaid-merchant-logos.plaid.com/burger_king_155.png",67 "website": "burgerking.com",68 "payment_meta": {69 "by_order_of": null,70 "payee": null,71 "payer": null,72 "payment_method": null,73 "payment_processor": null,74 "ppd_id": null,75 "reason": null,76 "reference_number": null77 },78 "payment_channel": "online",79 "pending": true,80 "pending_transaction_id": null,81 "personal_finance_category": {82 "primary": "FOOD_AND_DRINK",83 "detailed": "FOOD_AND_DRINK_FAST_FOOD",84 "confidence_level": "VERY_HIGH"85 },86 "personal_finance_category_icon_url": "https://plaid-category-icons.plaid.com/PFC_FOOD_AND_DRINK.png",87 "transaction_id": "yhnUVvtcGGcCKU0bcz8PDQr5ZUxUXebUvbKC0",88 "transaction_code": null,89 "transaction_type": "digital"90 },91 {92 "account_id": "BxBXxLj1m4HMXBm9WZZmCWVbPjX16EHwv99vp",93 "account_owner": null,94 "amount": 72.1,95 "iso_currency_code": "USD",96 "unofficial_currency_code": null,97 "category": [98 "Shops",99 "Supermarkets and Groceries"100 ],101 "category_id": "19046000",102 "check_number": null,103 "counterparties": [104 {105 "name": "Walmart",106 "type": "merchant",107 "logo_url": "https://plaid-merchant-logos.plaid.com/walmart_1100.png",108 "website": "walmart.com",109 "entity_id": "O5W5j4dN9OR3E6ypQmjdkWZZRoXEzVMz2ByWM",110 "confidence_level": "VERY_HIGH"111 }112 ],113 "date": "2023-09-24",114 "datetime": "2023-09-24T11:01:01Z",115 "authorized_date": "2023-09-22",116 "authorized_datetime": "2023-09-22T10:34:50Z",117 "location": {118 "address": "13425 Community Rd",119 "city": "Poway",120 "region": "CA",121 "postal_code": "92064",122 "country": "US",123 "lat": 32.959068,124 "lon": -117.037666,125 "store_number": "1700"126 },127 "name": "PURCHASE WM SUPERCENTER #1700",128 "merchant_name": "Walmart",129 "merchant_entity_id": "O5W5j4dN9OR3E6ypQmjdkWZZRoXEzVMz2ByWM",130 "logo_url": "https://plaid-merchant-logos.plaid.com/walmart_1100.png",131 "website": "walmart.com",132 "payment_meta": {133 "by_order_of": null,134 "payee": null,135 "payer": null,136 "payment_method": null,137 "payment_processor": null,138 "ppd_id": null,139 "reason": null,140 "reference_number": null141 },142 "payment_channel": "in store",143 "pending": false,144 "pending_transaction_id": "no86Eox18VHMvaOVL7gPUM9ap3aR1LsAVZ5nc",145 "personal_finance_category": {146 "primary": "GENERAL_MERCHANDISE",147 "detailed": "GENERAL_MERCHANDISE_SUPERSTORES",148 "confidence_level": "VERY_HIGH"149 },150 "personal_finance_category_icon_url": "https://plaid-category-icons.plaid.com/PFC_GENERAL_MERCHANDISE.png",151 "transaction_id": "lPNjeW1nR6CDn5okmGQ6hEpMo4lLNoSrzqDje",152 "transaction_code": null,153 "transaction_type": "place"154 }155 ],156 "total_transactions": 1,157 "request_id": "Wvhy9PZHQLV8njG"158}
Was this helpful?
/processor/transactions/recurring/get
Fetch recurring transaction streams
The /processor/transactions/recurring/get
endpoint allows developers to receive a summary of the recurring outflow and inflow streams (expenses and deposits) from a user’s checking, savings or credit card accounts. Additionally, Plaid provides key insights about each recurring stream including the category, merchant, last amount, and more. Developers can use these insights to build tools and experiences that help their users better manage cash flow, monitor subscriptions, reduce spend, and stay on track with bill payments.
This endpoint is offered as an add-on to Transactions. To request access to this endpoint, submit a product access request or contact your Plaid account manager.
This endpoint can only be called on a processor token that has already been initialized with Transactions (either during Link, by specifying it in /link/token/create
; or after Link, by calling /processor/transactions/get
or /processor/transactions/sync
). Once all historical transactions have been fetched, call /processor/transactions/recurring/get
to receive the Recurring Transactions streams and subscribe to the RECURRING_TRANSACTIONS_UPDATE
webhook. To know when historical transactions have been fetched, if you are using /processor/transactions/sync
listen for the SYNC_UPDATES_AVAILABLE
webhook and check that the historical_update_complete
field in the payload is true
. If using /processor/transactions/get
, listen for the HISTORICAL_UPDATE
webhook.
After the initial call, you can call /processor/transactions/recurring/get
endpoint at any point in the future to retrieve the latest summary of recurring streams. Listen to the RECURRING_TRANSACTIONS_UPDATE
webhook to be notified when new updates are available.
To receive Transactions webhooks for a processor token, set its webhook URL via the /processor/token/webhook/update
endpoint.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.processor_token
processor-<environment>-<identifier>
secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.1const request: ProcessorTransactionsGetRequest = {2 processor_token: processorToken3};4try {5 const response = await client.processorTransactionsRecurringGet(request);6 let inflowStreams = response.data.inflowStreams;7 let outflowStreams = response.data.outflowStreams;8 }9} catch((err) => {10 // handle error11}
Response fields and example
inflow_streams
account_id
stream_id
category
All implementations are encouraged to use the new
personal_finance_category
instead of category
. personal_finance_category
provides more meaningful categorization and greater accuracy.category_id
All implementations are encouraged to use the new
personal_finance_category
instead of category
. personal_finance_category
provides more meaningful categorization and greater accuracy.description
merchant_name
first_date
date
last_date
date
predicted_next_date
date
frequency
WEEKLY
: Assigned to a transaction stream that occurs approximately every week.BIWEEKLY
: Assigned to a transaction stream that occurs approximately every 2 weeks.SEMI_MONTHLY
: Assigned to a transaction stream that occurs approximately twice per month. This frequency is typically seen for inflow transaction streams.MONTHLY
: Assigned to a transaction stream that occurs approximately every month.ANNUALLY
: Assigned to a transaction stream that occurs approximately every year.UNKNOWN
: Assigned to a transaction stream that does not fit any of the pre-defined frequencies.UNKNOWN
, WEEKLY
, BIWEEKLY
, SEMI_MONTHLY
, MONTHLY
, ANNUALLY
transaction_ids
average_amount
amount
double
iso_currency_code
null
if unofficial_currency_code
is non-null
.See the currency code schema for a full listing of supported
iso_currency_code
s.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.last_amount
amount
double
iso_currency_code
null
if unofficial_currency_code
is non-null
.See the currency code schema for a full listing of supported
iso_currency_code
s.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.is_active
status
MATURE
: A MATURE
recurring stream should have at least 3 transactions and happen on a regular cadence (For Annual recurring stream, we will mark it MATURE
after 2 instances).EARLY_DETECTION
: When a recurring transaction first appears in the transaction history and before it fulfills the requirement of a mature stream, the status will be EARLY_DETECTION
.TOMBSTONED
: A stream that was previously in the EARLY_DETECTION
status will move to the TOMBSTONED
status when no further transactions were found at the next expected date.UNKNOWN
: A stream is assigned an UNKNOWN
status when none of the other statuses are applicable.UNKNOWN
, MATURE
, EARLY_DETECTION
, TOMBSTONED
personal_finance _category
See the
taxonomy CSV file
for a full list of personal finance categories. If you are migrating to personal finance categories from the legacy categories, also refer to the migration guide
.primary
detailed
confidence_level
VERY_HIGH
: We are more than 98% confident that this category reflects the intent of the transaction.
HIGH
: We are more than 90% confident that this category reflects the intent of the transaction.
MEDIUM
: We are moderately confident that this category reflects the intent of the transaction.
LOW
: This category may reflect the intent, but there may be other categories that are more accurate.
UNKNOWN
: We don’t know the confidence level for this category.is_user_modified
true
if the stream has been modified by request to a /transactions/recurring/streams
endpoint. It will be false
for all other streams.last_user_modified _datetime
is_user_modified
is true
.date-time
outflow_streams
account_id
stream_id
category
All implementations are encouraged to use the new
personal_finance_category
instead of category
. personal_finance_category
provides more meaningful categorization and greater accuracy.category_id
All implementations are encouraged to use the new
personal_finance_category
instead of category
. personal_finance_category
provides more meaningful categorization and greater accuracy.description
merchant_name
first_date
date
last_date
date
predicted_next_date
date
frequency
WEEKLY
: Assigned to a transaction stream that occurs approximately every week.BIWEEKLY
: Assigned to a transaction stream that occurs approximately every 2 weeks.SEMI_MONTHLY
: Assigned to a transaction stream that occurs approximately twice per month. This frequency is typically seen for inflow transaction streams.MONTHLY
: Assigned to a transaction stream that occurs approximately every month.ANNUALLY
: Assigned to a transaction stream that occurs approximately every year.UNKNOWN
: Assigned to a transaction stream that does not fit any of the pre-defined frequencies.UNKNOWN
, WEEKLY
, BIWEEKLY
, SEMI_MONTHLY
, MONTHLY
, ANNUALLY
transaction_ids
average_amount
amount
double
iso_currency_code
null
if unofficial_currency_code
is non-null
.See the currency code schema for a full listing of supported
iso_currency_code
s.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.last_amount
amount
double
iso_currency_code
null
if unofficial_currency_code
is non-null
.See the currency code schema for a full listing of supported
iso_currency_code
s.unofficial_currency _code
null
if iso_currency_code
is non-null
. Unofficial currency codes are used for currencies that do not have official ISO currency codes, such as cryptocurrencies and the currencies of certain countries.is_active
status
MATURE
: A MATURE
recurring stream should have at least 3 transactions and happen on a regular cadence (For Annual recurring stream, we will mark it MATURE
after 2 instances).EARLY_DETECTION
: When a recurring transaction first appears in the transaction history and before it fulfills the requirement of a mature stream, the status will be EARLY_DETECTION
.TOMBSTONED
: A stream that was previously in the EARLY_DETECTION
status will move to the TOMBSTONED
status when no further transactions were found at the next expected date.UNKNOWN
: A stream is assigned an UNKNOWN
status when none of the other statuses are applicable.UNKNOWN
, MATURE
, EARLY_DETECTION
, TOMBSTONED
personal_finance _category
See the
taxonomy CSV file
for a full list of personal finance categories. If you are migrating to personal finance categories from the legacy categories, also refer to the migration guide
.primary
detailed
confidence_level
VERY_HIGH
: We are more than 98% confident that this category reflects the intent of the transaction.
HIGH
: We are more than 90% confident that this category reflects the intent of the transaction.
MEDIUM
: We are moderately confident that this category reflects the intent of the transaction.
LOW
: This category may reflect the intent, but there may be other categories that are more accurate.
UNKNOWN
: We don’t know the confidence level for this category.is_user_modified
true
if the stream has been modified by request to a /transactions/recurring/streams
endpoint. It will be false
for all other streams.last_user_modified _datetime
is_user_modified
is true
.date-time
updated_datetime
YYYY-MM-DDTHH:mm:ssZ
) indicating the last time transaction streams for the given account were updated ondate-time
request_id
1{2 "updated_datetime": "2022-05-01T00:00:00Z",3 "inflow_streams": [4 {5 "account_id": "lPNjeW1nR6CDn5okmGQ6hEpMo4lLNoSrzqDje",6 "stream_id": "no86Eox18VHMvaOVL7gPUM9ap3aR1LsAVZ5nc",7 "category": [8 "Transfer",9 "Payroll"10 ],11 "category_id": "21009000",12 "description": "Platypus Payroll",13 "merchant_name": null,14 "personal_finance_category": {15 "primary": "INCOME",16 "detailed": "INCOME_WAGES",17 "confidence_level": "UNKNOWN"18 },19 "first_date": "2022-02-28",20 "last_date": "2022-04-30",21 "predicted_next_date": "2022-05-15",22 "frequency": "SEMI_MONTHLY",23 "transaction_ids": [24 "nkeaNrDGrhdo6c4qZWDA8ekuIPuJ4Avg5nKfw",25 "EfC5ekksdy30KuNzad2tQupW8WIPwvjXGbGHL",26 "ozfvj3FFgp6frbXKJGitsDzck5eWQH7zOJBYd",27 "QvdDE8AqVWo3bkBZ7WvCd7LskxVix8Q74iMoK",28 "uQozFPfMzibBouS9h9tz4CsyvFll17jKLdPAF"29 ],30 "average_amount": {31 "amount": -800,32 "iso_currency_code": "USD",33 "unofficial_currency_code": null34 },35 "last_amount": {36 "amount": -1000,37 "iso_currency_code": "USD",38 "unofficial_currency_code": null39 },40 "is_active": true,41 "status": "MATURE",42 "is_user_modified": true,43 "last_user_modified_datetime": "2023-01-19T10:34:50Z"44 }45 ],46 "outflow_streams": [47 {48 "account_id": "lPNjeW1nR6CDn5okmGQ6hEpMo4lLNoSrzqDff",49 "stream_id": "no86Eox18VHMvaOVL7gPUM9ap3aR1LsAVZ5nd",50 "category": [51 "Service",52 "Utilities",53 "Electric"54 ],55 "category_id": "18068005",56 "description": "ConEd Bill Payment",57 "merchant_name": "ConEd",58 "personal_finance_category": {59 "primary": "RENT_AND_UTILITIES",60 "detailed": "RENT_AND_UTILITIES_GAS_AND_ELECTRICITY",61 "confidence_level": "UNKNOWN"62 },63 "first_date": "2022-02-04",64 "last_date": "2022-05-02",65 "predicted_next_date": "2022-06-02",66 "frequency": "MONTHLY",67 "transaction_ids": [68 "yhnUVvtcGGcCKU0bcz8PDQr5ZUxUXebUvbKC0",69 "HPDnUVgI5Pa0YQSl0rxwYRwVXeLyJXTWDAvpR",70 "jEPoSfF8xzMClE9Ohj1he91QnvYoSdwg7IT8L",71 "CmdQTNgems8BT1B7ibkoUXVPyAeehT3Tmzk0l"72 ],73 "average_amount": {74 "amount": 85,75 "iso_currency_code": "USD",76 "unofficial_currency_code": null77 },78 "last_amount": {79 "amount": 100,80 "iso_currency_code": "USD",81 "unofficial_currency_code": null82 },83 "is_active": true,84 "status": "MATURE",85 "is_user_modified": false86 },87 {88 "account_id": "lPNjeW1nR6CDn5okmGQ6hEpMo4lLNoSrzqDff",89 "stream_id": "SrBNJZDuUMweodmPmSOeOImwsWt53ZXfJQAfC",90 "category": [91 "Shops",92 "Warehouses and Wholesale Stores"93 ],94 "category_id": "19051000",95 "description": "Costco Annual Membership",96 "merchant_name": "Costco",97 "personal_finance_category": {98 "primary": "GENERAL_MERCHANDISE",99 "detailed": "GENERAL_MERCHANDISE_SUPERSTORES",100 "confidence_level": "UNKNOWN"101 },102 "first_date": "2022-01-23",103 "last_date": "2023-01-22",104 "predicted_next_date": "2024-01-22",105 "frequency": "ANNUALLY",106 "transaction_ids": [107 "yqEBJ72cS4jFwcpxJcDuQr94oAQ1R1lMC33D4",108 "Kz5Hm3cZCgpn4tMEKUGAGD6kAcxMBsEZDSwJJ"109 ],110 "average_amount": {111 "amount": 120,112 "iso_currency_code": "USD",113 "unofficial_currency_code": null114 },115 "last_amount": {116 "amount": 120,117 "iso_currency_code": "USD",118 "unofficial_currency_code": null119 },120 "is_active": true,121 "status": "MATURE",122 "is_user_modified": true,123 "last_user_modified_datetime": "2023-01-19T10:34:50Z"124 }125 ],126 "request_id": "tbFyCEqkU775ZGG"127}
Was this helpful?
/processor/transactions/refresh
Refresh transaction data
/processor/transactions/refresh
is an optional endpoint for users of the Transactions product. It initiates an on-demand extraction to fetch the newest transactions for a processor token. This on-demand extraction takes place in addition to the periodic extractions that automatically occur one or more times per day for any Transactions-enabled processor token. If changes to transactions are discovered after calling /processor/transactions/refresh
, Plaid will fire a webhook: for /transactions/sync
users, SYNC_UPDATES_AVAILABLE
will be fired if there are any transactions updated, added, or removed. For users of both /processor/transactions/sync
and /processor/transactions/get
, TRANSACTIONS_REMOVED
will be fired if any removed transactions are detected, and DEFAULT_UPDATE
will be fired if any new transactions are detected. New transactions can be fetched by calling /processor/transactions/get
or /processor/transactions/sync
. Note that the /transactions/refresh
endpoint is not supported for Capital One (ins_128026
) non-depository accounts and will result in a PRODUCTS_NOT_SUPPORTED
error if called on an Item that contains only non-depository accounts from that institution.
As this endpoint triggers a synchronous request for fresh data, latency may be higher than for other Plaid endpoints (typically less than 10 seconds, but occasionally up to 30 seconds or more); if you encounter errors, you may find it necessary to adjust your timeout period when making requests./processor/transactions/refresh
is offered as an add-on to Transactions and has a separate fee model. To request access to this endpoint, submit a product access request or contact your Plaid account manager.
client_id
client_id
. The client_id
is required and may be provided either in the PLAID-CLIENT-ID
header or as part of a request body.processor_token
processor-<environment>-<identifier>
secret
secret
. The secret
is required and may be provided either in the PLAID-SECRET
header or as part of a request body.1const request: ProcessorTransactionsRefreshRequest = {2 processor_token: processorToken,3};4try {5 await plaidClient.processorTransactionsRefresh(request);6} catch (error) {7 // handle error8}
Response fields and example
request_id
1{2 "request_id": "1vwmF5TBQwiqfwP"3}
Was this helpful?
Processor webhooks
WEBHOOK_UPDATE_ACKNOWLEDGED
This webhook is only sent to Plaid processor partners.
Fired when a processor updates the webhook URL for a processor token via /processor/token/webhook/update
.
webhook_type
PROCESSOR_TOKEN
webhook_code
WEBHOOK_UPDATE_ACKNOWLEDGED
error
error_code
and categorized by error_type
. Use these in preference to HTTP status codes to identify and handle specific errors. HTTP status codes are set and provide the broadest categorization of errors: 4xx codes are for developer- or user-related errors, and 5xx codes are for Plaid-related errors, and the status will be 2xx in non-error cases. An Item with a non-null
error object will only be part of an API response when calling /item/get
to view Item status. Otherwise, error fields will be null
if no error has occurred; if an error has occurred, an error code will be returned instead.error_type
INVALID_REQUEST
, INVALID_RESULT
, INVALID_INPUT
, INSTITUTION_ERROR
, RATE_LIMIT_EXCEEDED
, API_ERROR
, ITEM_ERROR
, ASSET_REPORT_ERROR
, RECAPTCHA_ERROR
, OAUTH_ERROR
, PAYMENT_ERROR
, BANK_TRANSFER_ERROR
, INCOME_VERIFICATION_ERROR
, MICRODEPOSITS_ERROR
, SANDBOX_ERROR
, PARTNER_ERROR
, TRANSACTIONS_ERROR
, TRANSACTION_ERROR
, TRANSFER_ERROR
error_code
error_code_reason
null
will be returned otherwise. Safe for programmatic use.Possible values:
OAUTH_INVALID_TOKEN
: The user’s OAuth connection to this institution has been invalidated.OAUTH_CONSENT_EXPIRED
: The user's access consent for this OAuth connection to this institution has expired.OAUTH_USER_REVOKED
: The user’s OAuth connection to this institution is invalid because the user revoked their connection.error_message
display_message
null
if the error is not related to user action.This may change over time and is not safe for programmatic use.
request_id
causes
causes
will return an array of errors containing a breakdown of these errors on the individual Item level, if any can be identified.causes
will only be provided for the error_type
ASSET_REPORT_ERROR
. causes
will also not be populated inside an error nested within a warning
object.status
documentation_url
suggested_action
account_id
new_webhook_url
environment
sandbox
, production
1{2 "webhook_type": "PROCESSOR_TOKEN",3 "webhook_code": "WEBHOOK_UPDATE_ACKNOWLEDGED",4 "account_id": "dVzbVMLjrxTnLjX4G66XUp5GLklm4oiZy88yK",5 "new_webhook_url": "https://www.example.com",6 "error": null,7 "environment": "production"8}