Plaid logo
Exchange
ALL DOCS

API reference

  • Data Definitions
  • Aggregation
  • Errors and Conditions
Open nav
Exchange
Plaid.comGet Started

Aggregation API Reference

Plaid Exchange Data Aggregation Reference

This API enables Plaid to make recurrent, user-absent requests in order to maintain a current and consistent view of a user’s permissioned accounts.

Get Account and Identity Endpoint

GET /users/{user_id}

Provide user and account information for a given user ID. This endpoint contains the information necessary for the partner to support the Identity and Auth products.

Responses
200 OK

The request is authorized.

UserAccountInfoResponse

Basic account and identity enumeration.

UserAccountInfoResponse

Properties

identities
required[object]required, [object]

List of Identity instances necessary to fully resolve all records in accounts.

Min items: 1
id
stringstring

Permanent identity identifier.

name
stringstring

The display name of this entity (insufficient for KYC purposes)

email
stringstring

The email address where this entity can be contacted.

Choose one schema:
  • Option 1.
  • object containing organization, person, mailing_address.
organization
objectobject

Describes an organization, e.g., a business or non-profit.

name
stringstring

Name of the organization represented.

structure
stringstring

Type of business structure.

Possible values: sole, partnership, llc, corp
mcc
stringstring

The ISO-18245 merchant category code for this business.

Pattern: ^\d{4}$
owner_identity_ids
[string][string]

The identities of the organization owner(s).

tax_identifier
objectobject

The tax authority ID.

tax_authority
stringstring

Name of the tax authority.

tax_payer_id
stringstring

The tax payer ID, e.g. EIN, TIN, SSN.

country
stringstring

The national jurisdiction of the tax authority in ISO 3166-1 format.

subdivision
stringstring

If the tax authority is subnational, the ISO 3166-2 subdivision of the authority's jurisdiction. This is usually a state, province, or department.

person
objectobject

Describes an individual, named person.

first_name
stringstring

Legal given name of the personal entity.

middle_name
stringstring

Middle name, use blank if none.

last_name
stringstring

Last name or family name.

date_of_birth
stringstring

The date of birth in ISO-8601 format.

Format: date
tax_identifier
objectobject

The tax authority ID.

tax_authority
stringstring

Name of the tax authority.

tax_payer_id
stringstring

The tax payer ID, e.g. EIN, TIN, SSN.

country
stringstring

The national jurisdiction of the tax authority in ISO 3166-1 format.

subdivision
stringstring

If the tax authority is subnational, the ISO 3166-2 subdivision of the authority's jurisdiction. This is usually a state, province, or department.

mailing_address
objectobject

Description of a street address.

lines
[string][string]

The lines of the street address.

Min items: 1
city
stringstring

The city of the mailing address.

region
stringstring

The first-level administrative subdivision, e.g., a state, province or district. Use ISO 3166-2 subdivisions (note: _not_ ISO-3166-alpha-2).

country
stringstring

The ISO 3166-alpha-2 country code.

postal_code
stringstring

The postal code.

phone
stringstring

The phone number, formatted using ITU standard E. 123.

user_identity_id
requiredstringrequired, string

Indicate the Identity corresponding to the currently logged-in user.

securities
required[object]required, [object]

List of Securities necessary to fully resolve all records in accounts.

Min items: 0
id
stringstring

The permanent identifier for this security, across all accounts and holdings. Do not use a full or masked account number for this value as this increases the risk of revealing Personally Identifiable Information (PII).

isin
stringstring

The ISO 6166-compliant ISIN for this security, if available.

name
stringstring

A descriptive name for the security, suitable for display.

symbol
stringstring

The security's trading symbol, if applicable. Otherwise, a short, commonly used identifier.

is_cash_equivalent
booleanboolean

Indicates the security is highly-liquid, e.g. a money market account, and should be regarded as cash.

current_price
stringstring

The instantaneous trading price of the security.

Choose one schema: string, string
current_as_of
stringstring

The time at which current_price was current, in ISO 8601 format.

Format: date-time
close_price
stringstring

The price of the security at the most recent close of trading. For securities that are traded continuously throughout the day, use the price at 11:59PM of the previous day, in the institution's time zone.

Choose one schema: string, string
type
stringstring

The security type. For detailed descriptions of available types, see Plaid API security types.

Possible values: cash, derivative, equity, etf, fixed income, loan, mutual fund, other
currency
stringstring

The ISO 4217 currency in which this account’s transactions and balances are denominated.

Choose one schema: string, string
non_iso_currency
stringstring

If the account is denominated in a non-ISO currency, provide the currency's symbol.

Choose one schema:
  • Option 1.
  • object containing expiry, contract_type, option_style, exercise_price, underlying_security_id.
expiry
stringstring

The contract expiration date.

Format: date
contract_type
stringstring

The type of option.

Possible values: put, call
option_style
stringstring

The style of option (US or European)

Possible values: euro, us
exercise_price
stringstring

The price at which the contract owner may transact.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
underlying_security_id
stringstring

Reference to the security underlying this contract.

accounts
required[object]required, [object]

List of all accounts for which this user is an owner or interested non-owner.

id
stringstring

Permanent account identifier. Do not use a full or masked account number for this value as this increases the risk of revealing Personally Identifiable Information (PII).

last_activity_at
stringstring

Date of most recent change to, or activity on this account, e.g. new transactions, or changes to account metadata. Used to provide hints for optimal scheduling of updates.

Format: date-time
ownership_type
stringstring

Indicates the ownership type of the account, _not_ the relationship the current user has over the account.

Possible values: individual, joint, association, trust
owner_identity_ids
[string][string]

References to the identities for the owner(s) of this account.

non_owner_identity_ids
[string][string]

References to the identities for the non-owner(s) related to this account, e.g. trustees, beneficiaries.

status
stringstring

Status of this account.

Choose one schema: active, inactive, frozen, locked, flagged, restricted, closed, active, inactive, frozen, locked, flagged, restricted, closed
type
stringstring

Major classification of this account.

Choose one schema: depository, loan, investment, depository, loan, investment
subtype
stringstring

Minor classification of this account.

Choose one schema: cash management, cd, checking, savings, money market, health, prepaid, gic, auto, commercial, construction, consumer, credit card, home equity, mortgage, overdraft, line of credit, student, 401a, 401k, 403B, 457b, 529, brokerage, esa, ira, isa, lira, other, rif, rsp, pension, profit-sharing, roth ira, roth 401k, sep ira, simple ira, sipp, stock plan, tsp, tfsa, custodial, variable annuity, cash management, cd, checking, savings, money market, health, prepaid, gic, auto, commercial, construction, consumer, credit card, home equity, mortgage, overdraft, line of credit, student, 401a, 401k, 403B, 457b, 529, brokerage, esa, ira, isa, lira, other, rif, rsp, pension, profit-sharing, roth ira, roth 401k, sep ira, simple ira, sipp, stock plan, tsp, tfsa, custodial, variable annuity
name
stringstring

The account's user-given name, if the institution supports naming of accounts.

official_name
stringstring

The account's marketing or brand name.

display_mask
stringstring

A short alpha-numeric string to assist users in identifying the account, e.g. last four digits of the account number.

opening_date
stringstring

The date on which the account was opened.

Format: date
current_balance
stringstring

The total balance in the account, typically including pending transactions. See individual account types for specific definitions of this value.

Choose one schema: string, string
available_balance
stringstring

The immediately available balance in the account, typically the amount available to withdraw at the moment.

Choose one schema: string, string
tax_advantaged
booleanboolean

Indicates whether some activity on the account - deposits, gains, etc - benefits from tax deferral or exemption, e.g. HSA, IRA, 401(k) accounts.

currency
stringstring

The ISO-4217 currency in which this account’s transactions and balances are denominated.

Choose one schema: string, string
non_iso_currency
stringstring

If the account is denominated in a non-ISO currency, provide the currency's symbol.

Choose one schema:
  • Option 1.
  • object containing interest_rate, transfer_codes, maturity_date, statements.
  • object containing transfer_codes, margin_balance, margin_limit, margin_equity, maintenance_margin, buying_power, current_as_of, holdings.
  • object containing account_number, reference_number, servicer_identity_id, interest_rate, interest_rate_type, interest_rate_schedule, term_months, term_days, repayment_status, principal_balance, payoff_quote, payoff_expiry, origination_date, origination_principal, maturity_date, statements.
  • object containing escrow_balance.
  • object containing disbursement_schedule, guarantor_identity, pslf_eligibility, sequence_number.
  • object containing reward_balance, credit_limit, spender_identity_ids, interest_rates, statements, reward_currency, reward_non_iso_currency, art_asset_url.
interest_rate
stringstring
transfer_codes
objectobject
ach
objectobject

ACH (US) account identifiers.

account_number
stringstring

The account number.

routing_number
stringstring

The ABA routing transit number.

wire_routing_number
stringstring

The institution's routing number for wire transfer.

supports_debit
booleanboolean

Indicates account may be debited using transfer code.

supports_credit
booleanboolean

Indicates account may be credited using transfer code.

eft
objectobject

EFT (Canada) account identifiers.

account_number
stringstring

The account number.

institution_number
stringstring

The institution's number assigned by Payments Canada.

branch_number
stringstring

The branch number corresponding to the account.

supports_debit
booleanboolean

Indicates account may be debited using transfer code.

supports_credit
booleanboolean

Indicates account may be credited using transfer code.

iban
objectobject

IBAN account identifiers.

account_number
stringstring

The full IBAN.

bank_code
stringstring

Bank identifier.

country_code
stringstring

The country code.

location_code
stringstring

Location code for the bank's office.

branch_code
stringstring

Optionally indicate a specific branch.

supports_debit
booleanboolean

Indicates account may be debited using transfer code.

supports_credit
booleanboolean

Indicates account may be credited using transfer code.

payment_card
objectobject

Payment card account identifiers.

card_number
stringstring

The payment card number.

expiry_month
stringstring

Month of card expiration, as a 2-digit value.

expiry_year
stringstring

Year of card expiration.

security_code
stringstring

CVV, CSC, or other card-not-present verification value.

supports_debit
booleanboolean

Indicates account may be debited using transfer code.

supports_credit
booleanboolean

Indicates account may be credited using transfer code.

acats
objectobject

ACATS account identifiers.

account_number
stringstring

The account number.

receiving_member_identity
objectobject

Identity of the receiving brokerage (including organization).

organization
objectobject

Describes an organization, e.g., a business or non-profit.

name
stringstring

Name of the organization represented.

structure
stringstring

Type of business structure.

Possible values: sole, partnership, llc, corp
mcc
stringstring

The ISO-18245 merchant category code for this business.

Pattern: ^\d{4}$
owner_identity_ids
[string][string]

The identities of the organization owner(s).

tax_identifier
objectobject

The tax authority ID.

tax_authority
stringstring

Name of the tax authority.

tax_payer_id
stringstring

The tax payer ID, e.g. EIN, TIN, SSN.

country
stringstring

The national jurisdiction of the tax authority in ISO 3166-1 format.

subdivision
stringstring

If the tax authority is subnational, the ISO 3166-2 subdivision of the authority's jurisdiction. This is usually a state, province, or department.

person
objectobject

Describes an individual, named person.

first_name
stringstring

Legal given name of the personal entity.

middle_name
stringstring

Middle name, use blank if none.

last_name
stringstring

Last name or family name.

date_of_birth
stringstring

The date of birth in ISO-8601 format.

Format: date
tax_identifier
objectobject

The tax authority ID.

tax_authority
stringstring

Name of the tax authority.

tax_payer_id
stringstring

The tax payer ID, e.g. EIN, TIN, SSN.

country
stringstring

The national jurisdiction of the tax authority in ISO 3166-1 format.

subdivision
stringstring

If the tax authority is subnational, the ISO 3166-2 subdivision of the authority's jurisdiction. This is usually a state, province, or department.

email
stringstring

The email address where this entity can be contacted.

mailing_address
objectobject

Description of a street address.

lines
[string][string]

The lines of the street address.

Min items: 1
city
stringstring

The city of the mailing address.

region
stringstring

The first-level administrative subdivision, e.g., a state, province or district. Use ISO 3166-2 subdivisions (note: _not_ ISO-3166-alpha-2).

country
stringstring

The ISO 3166-alpha-2 country code.

postal_code
stringstring

The postal code.

phone
stringstring

The phone number, formatted using ITU standard E. 123.

id
stringstring

Permanent identity identifier.

name
stringstring

The display name of this entity (insufficient for KYC purposes)

dtcc_clearing_ids
[string][string]

The DTCC institution identifiers for the institution holding the account.

Min items: 1
supports_debit
booleanboolean

Indicates account may be debited using transfer code.

supports_credit
booleanboolean

Indicates account may be credited using transfer code.

maturity_date
stringstring
statements
arrayarray
Choose one schema: [object], [object], [object]
margin_balance
stringstring

The amount that is on loan. Provide as a negative amount.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
margin_limit
stringstring

The total limit of the margin extended to the account.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
margin_equity
stringstring

The amount of marginable assets owned in the account.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
maintenance_margin
stringstring

The minimum equity needed to hold the positions in the account.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
buying_power
stringstring

Total amount of funds available for making transactions, includes margin.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
current_as_of
stringstring

The time at which current_balance was current.

Format: date-time
holdings
[object][object]

Descriptions of held assets in the account.

security_id
stringstring

The identifier of the security referenced by this holding.

cost_basis
stringstring

The total cost of acquiring this holding, inclusive of fees.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
quantity
stringstring

The amount of the security (typically, number of shares) comprising this holding.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
lots
objectobject

The tax lots constituting this holding.

id
stringstring

The unique and permanent identifier for this lot.

acquired_at
stringstring

The date at which the lot was acquired.

Format: date
acquired_price
stringstring

The total price at which this lot was acquired.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
quantity
stringstring

The quantity held in this lot.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
currency
stringstring

The ISO-4217 currency in which this account’s transactions and balances are denominated.

non_iso_currency
stringstring

If the account is denominated in a non-ISO currency, provide the currency's symbol.

account_number
stringstring

The account number for this loan.

reference_number
stringstring

The loan's reference number.

servicer_identity_id
stringstring

Reference to the identity of the loan servicer.

interest_rate_type
stringstring

The interest rate adjustment scheme for this loan.

Possible values: fixed, adjustable, variable, other
interest_rate_schedule
[object][object]

A history of effective rates on this loan. For adjustable rate loans, include dates of future adjustments. Do not use to describe fixed-rate loans.

start_date
stringstring

The date this rate became, or becomes, effective.

Format: date
end_date
stringstring

The date this rate became, or becomes, ineffective. Use null if the end date is not known or not fixed.

Format: date
interest_rate
stringstring

The effective rate during the period described.

Pattern: ^\d*(\.\d{1,4})?$
term_months
integerinteger

The full length of the loan's term, in months.

Minimum: 0
term_days
integerinteger

The full length of the loan's term, in days.

Minimum: 0
repayment_status
stringstring

The loan's repayment status.

Possible values: fully repaid, current, grace, deferment, forbearance, past due, delinquent, default, charged off, cancelled
principal_balance
stringstring

The loan's remaining principal.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
payoff_quote
stringstring

The instantaneous payoff quote.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
payoff_expiry
stringstring

The date until which payoff_quote is considered current.

Format: date
origination_date
stringstring

The loan's date of origination.

Format: date
origination_principal
stringstring

The original principal balance.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
escrow_balance
stringstring

The total amount held in escrow for this loan, if applicable.

Fixed-point decimal number, carried up to six decimal places.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
disbursement_schedule
[object][object]

The schedule for disbursement of funds.

disbursement_date
stringstring

The date of disbursement.

Format: date
amount
stringstring

The amount disbursed.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
guarantor_identity
objectobject

The company or agency guaranteeing the loan.

organization
objectobject

Describes an organization, e.g., a business or non-profit.

name
stringstring

Name of the organization represented.

structure
stringstring

Type of business structure.

Possible values: sole, partnership, llc, corp
mcc
stringstring

The ISO-18245 merchant category code for this business.

Pattern: ^\d{4}$
owner_identity_ids
[string][string]

The identities of the organization owner(s).

tax_identifier
objectobject

The tax authority ID.

tax_authority
stringstring

Name of the tax authority.

tax_payer_id
stringstring

The tax payer ID, e.g. EIN, TIN, SSN.

country
stringstring

The national jurisdiction of the tax authority in ISO 3166-1 format.

subdivision
stringstring

If the tax authority is subnational, the ISO 3166-2 subdivision of the authority's jurisdiction. This is usually a state, province, or department.

person
objectobject

Describes an individual, named person.

first_name
stringstring

Legal given name of the personal entity.

middle_name
stringstring

Middle name, use blank if none.

last_name
stringstring

Last name or family name.

date_of_birth
stringstring

The date of birth in ISO-8601 format.

Format: date
tax_identifier
objectobject

The tax authority ID.

tax_authority
stringstring

Name of the tax authority.

tax_payer_id
stringstring

The tax payer ID, e.g. EIN, TIN, SSN.

country
stringstring

The national jurisdiction of the tax authority in ISO 3166-1 format.

subdivision
stringstring

If the tax authority is subnational, the ISO 3166-2 subdivision of the authority's jurisdiction. This is usually a state, province, or department.

email
stringstring

The email address where this entity can be contacted.

mailing_address
objectobject

Description of a street address.

lines
[string][string]

The lines of the street address.

Min items: 1
city
stringstring

The city of the mailing address.

region
stringstring

The first-level administrative subdivision, e.g., a state, province or district. Use ISO 3166-2 subdivisions (note: _not_ ISO-3166-alpha-2).

country
stringstring

The ISO 3166-alpha-2 country code.

postal_code
stringstring

The postal code.

phone
stringstring

The phone number, formatted using ITU standard E. 123.

id
stringstring

Permanent identity identifier.

name
stringstring

The display name of this entity (insufficient for KYC purposes)

pslf_eligibility
objectobject

Description of the loan's eligibility for public service forgiveness.

eligible
booleanboolean

Indicates the loan's eligibility for PSLF.

qualifying_payments
integerinteger

The number of payments made which qualify under PSLF.

Minimum: 0
total_payments
integerinteger

Total payments required for forgiveness.

Minimum: 0
sequence_number
stringstring

The loan's sequence number.

reward_balance
stringstring

The balance of any rewards associated with this account.

Fixed-point decimal number, carried up to six decimal places.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
credit_limit
stringstring

The total credit limit for this account. If card has no limit, use null.

Fixed-point decimal number, carried up to six decimal places.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
spender_identity_ids
[string][string]

References to the Identities for non-owner authorized spenders.

interest_rates
[object][object]

Effective interest rates for different balances associated with this card.

start_date
stringstring

The date this rate came into effect, typical of special offer rates, e.g. 0% purchase rate for 12 months. Use start_date and end_date to represent changes in the purchase APR as well.

Format: date
end_date
stringstring

The date this rate ends being effective for this rate type. Use null when the rate does not have a set end date.

Format: date
type
stringstring

The type of balance subject to this rate.

Possible values: purchase, cash advance, balance transfer
interest_rate
stringstring

The APR covering this balance.

Pattern: ^\d*(\.\d{1,4})?$
subject_balance
stringstring

The current balance subject to this rate, following the definition of current_balance.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
interest_charged
stringstring

The amount within the subject_balance that was generated by this interest rate.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
reward_currency
stringstring

The ISO-4217 currency in which this account's reward balances are denominated

reward_non_iso_currency
stringstring

If the account's reward balance is denominated in a non-ISO currency, provide the currency's symbol

art_asset_url
stringstring

URL reference to an image of the payment card face.

API Object
{
  "user_identity_id": "d7f1b8b9-0006-4135-91c0-b5532045a314",
  "identities": [
    {
      "id": "d7f1b8b9-0006-4135-91c0-b5532045a314",
      "name": "Jane Doe",
      "email": "jane@plaid.com"
    }
  ],
  "accounts": [
    {
      "id": "account_5921",
      "isin": "US17275R1023",
      "name": "CISCO SYSTEMS INC",
      "symbol": "CSCO",
      "is_cash_equivalent": true,
      "current_price": "100.95",
      "current_as_of": "2018-08-28",
      "close_price": "100.95",
      "type": "cash",
      "currency": "USD",
      "non_iso_currency": null
    }
  ],
  "securities": [
    {
      "id": "R13oiR6lC5jNC5jK",
      "last_activity_at": "2018-08-28",
      "ownership_type": "individual",
      "owner_identity_ids": [
        "6gXfjEcgqcjTVnUgbTwDF3DTeiQ"
      ],
      "non_owner_identity_ids": null,
      "status": "active",
      "type": "depository",
      "subtype": "cash management",
      "name": "Vacation Money",
      "official_name": "Pro Checking",
      "display_mask": "9833",
      "opening_date": "2018-08-28",
      "current_balance": "100.95",
      "available_balance": "100.95",
      "tax_advantaged": true,
      "currency": "USD",
      "non_iso_currency": null
    }
  ]
}
Privacy Implications of Per-User Request Model

Plaid’s privacy guarantee to end users is that it will never share per-account data, including knowledge of the existence of individual accounts, with applications unless the user has affirmatively indicated those accounts and applications should be linked. Plaid also will also minimize the storage details of accounts retrieved through this API which are not linked to any applications.

At times, it is necessary to communicate information about accounts not connected to any Plaid-powered applications, primarily for the purpose of enabling sensible UX, e.g. when drawing account selection screens. To ease implementation, this API operates at a per-user granularity and not a per-account granularity, because Plaid assumes the responsibility of providing a privacy-conscious view of the user’s accounts to each application.

However, Plaid provides the NotionalAccount and BasicIdentity models to enable implementers, if desired, to mask the existence of identities and accounts it knows are not linked to any Plaid applications. The partner is expected to use the Authorization API to ensure its access policy is synchronized with that of Plaid’s, i.e. both Plaid and the partner see the same items. Failure to do so will result in an inconsistent state and degraded end-user experiences.

304 Not Changed

If present, Plaid will consume the ETag header, and then present the most-recently seen ETag using the If-None-Match header on subsequent requests. If there has been no activity on, and no change to, the customer’s account, the partner may return 304 Not Changed with an empty HTTP body. Plaid will end the session and send no more requests until the next scheduled update.

It is recommended to generate ETags by concatenating and hashing the account_ids and last_activity_at timestamps for all accounts present in the response. If any identity data has changed, the ETag should always be new.

Get Transactions Endpoint

GET /users/{user_id}/transactions

Provides a query interface for a user’s transactions across all accounts, optionally filtered by posting date.

Parameters

Retrieve user transactions.

Provides a query interface for a user’s transactions across all accounts, optionally filtered by posting date.

/users/{user_id}/transactions

Request fields

user_id
stringstring

Opaque user identifier.

Parameter type: path
start
integerinteger

The offset from the beginning of the result set. For example, if start is set to 500, the results set will start with the 501st transaction. (If this parameter is not provided, the results set will start with the 1st transaction by default.)

Default: 0
Parameter type: query
limit
integerinteger

The number of transactions to return in a given results set. For example, if limit is set to 10, the response will be limited to 10 transactions. (If this parameter is not provided, the results set to include up to 500 transactions by default.)

Default: 500
Parameter type: query
start_date
stringstring

Oldest posting date from which to start returning transactions. If not provided, default to 30 days ago.

Format: date
Parameter type: query
end_date
stringstring

Most recent posting date for which transactions may be included. If not provided, default to the current date.

Format: date
Parameter type: query
Note

When considering whether a pending transaction (one which has not yet posted) should be included in a TransactionsResponse, evaluate whether the transaction date (transacted_at) falls within the range.

Responses
200 OK

The request was authorized and well-formed.

TransactionsResponse

Successful response to Transactions request. Either offset or total can be used when paging. If both are used, total will be used instead of offset.

TransactionsResponse

Properties

total
integerinteger

The number of transactions matching the request. This must count the _total number of transactions_ matching the query, not just the length of this response.

A natural number, i.e. a non-negative integer.

Minimum: 0
offset
stringstring

A cursor string that represents the next page of transactions. Sending a blank offset will indicate the final page.

Initial call will be a 0.

transactions
required[object]required, [object]

Sequence of BaseTransaction subclass instances, across all accounts, matching the query.

type
stringstring
amount
stringstring
id
stringstring

Permanent, unique transaction identifier. Must survive changes to pending status or amount.

account_id
stringstring

References to the account that this transaction is posting against.

description
stringstring

Description of the transaction.

Nullable: true

memo
stringstring

Addenda or distinguishing information for the transaction.

category
[string][string]

Hierarchical categorization, use multi-valued array to indicate hierarchy.

tags
[string][string]

Flat categorization. For hashtags omit leading #.

ending_balance
stringstring

The balance of the account after this transaction posts.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
transacted_at
stringstring

The date/time when the transaction was authorized, in the time zone local to the transaction or to the customer.

Format: date-time
settled_at
stringstring

The date/time when the transaction settled, in the time zone local to the customer. Must be null if the transaction is pending.

Nullable: true

Format: date-time
spender_identity_id
stringstring

Reference to the identity of the authorized spender who conducted this transaction.

merchant_identity_id
stringstring

Reference to the identity of the merchant related to this transaction.

geolocation
objectobject

Geographic location where this transaction occurs.

coordinates
objectobject

Geographic coordinates in EPSG:4326 WGS84 (lat/long)

lat
numbernumber

Latitude coordinate.

lon
numbernumber

Longitude coordinate.

city
stringstring

City name.

region
stringstring

Region identifier.

country
stringstring

Country identifier.

reward_currency
stringstring

The ISO 4217 currency in which this transaction's reward contribution is denominated. example: USD

reward_non_iso_currency
stringstring

If the reward contribution is denominated in a non-ISO currency, provide the currency's symbol.

currency
stringstring

The ISO 4217 currency in which this transaction is denominated. One of either the currency or non_iso_currency fields is required.

non_iso_currency
stringstring

If the transaction is denominated in a non-ISO currency, provide the currency's symbol.

Choose one schema:
  • pending, fee_amount, reward_amount, reward_rate, transfer_account_id, method.
  • security_id, quantity, price, fees, status, cancel_transaction_id.
  • principal_amount, interest_amount, escrow_amount.
pending
booleanboolean

Indicates that this transaction has not posted.

fee_amount
stringstring

The amount of fees associated with this transaction.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
reward_amount
stringstring

The amount of rewards associated with this transaction.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
reward_rate
stringstring

The effective rate of reward for this transaction.

Pattern: ^\d*(\.\d{1,4})?$
transfer_account_id
stringstring

If this transaction is an internal transfer type, references the account_id associated with this transaction.

method
stringstring

Classification of DepositoryOrCreditTransaction by method. card present: Transaction was conducted by a physical payment card interaction (e.g. swipe, chip-and-sign, contactless). card not present: Card was not physically present for transaction (e.g. online or phone order). check: Check drafted against account. eft: Electronic funds transfer.

Possible values: card present, card not present, check, eft
security_id
stringstring

Reference to the security that the transaction is posting for.

quantity
stringstring

The quantity of the security involved in this transaction.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
price
stringstring

The price of the security at which the transaction occured.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
fees
stringstring

The total combined fees associated with this transaction.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
status
stringstring

Status of an InvestmentTransaction. pending: The trade is in progress, or transfer is pending. settled: The transaction has completed. cancelled: The transaction was cancelled, or represents the cancelled portion of a previous order.

Possible values: pending, settled, cancelled
cancel_transaction_id
stringstring

If the status is cancelled, but this transaction represents the unfulfilled portion of a partially filled order, provide the transaction_id of the transaction representing the filled portion.

principal_amount
stringstring

The amount affecting the principal balance.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
interest_amount
stringstring

The amount affecting the interest balance.

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
escrow_amount
stringstring

The amount affecting the escrow account (mortgages only, required.)

Pattern: ^-?(\d*)(?:\.\d{1,2})?$
API Object
{
  "total": 1,
  "transactions": [
    {
      "type": "transfer",
      "pending": false,
      "amount": "250",
      "fee_amount": "0",
      "reward_amount": "0",
      "reward_rate": "0",
      "transfer_account_id": "3AP9Lwoo3s30E",
      "method": "eft",
      "id": "6AOU0jwFQw3sMZJ",
      "account_id": "account1234",
      "description": "Finance Charge",
      "memo": "Transfer to Checking",
      "category": null,
      "tags": null,
      "ending_balance": "1820.95",
      "transacted_at": "2019-08-24T14:15:22Z",
      "settled_at": "2019-08-25T08:15:42Z",
      "spender_identity_id": "uid_1234",
      "merchant_identity_id": null,
      "geolocation": {
        "coordinates": {
          "lat": 40.7128,
          "lon": 74.006
        },
        "city": "New York",
        "region": "US-NY",
        "country": "US"
      },
      "reward_currency": "USD",
      "reward_non_iso_currency": null,
      "currency": "USD",
      "non_iso_currency": null
    }
  ]
}