Import Transactions
Import Transactions
Adds transactions to a link imported with the import endpoint. The imported data has a maximum size limit of 1MB, which corresponds very roughly to about 4000 transactions. The data is processed synchronously, so you can expect a delay of up to 10 seconds before the response is transmitted.
URL
Request
Response
account_id
: string
required
Your internal ID for the account this transaction belongs to. The account_id
must match
one of the IDs provided in the accounts
list.
example: 74583934
amount
: string
required
The amount of this transaction, denominated in account currency. Use positive numbers for credits (deposits), and negative numbers of debits (withdrawals).
example: 384.05
date
required
The effective (posted) date of the transaction, in ISO-8601 format.
example: 2022-02-08
example: 2023-02-16T09:14:11
description
: string
A description of this transaction.
example: Regina's Mulberry
transaction_id
: string
Your internal ID for this transaction. If supplied, this ID will be returned as the
original_id
of the transaction in future requests.
type
: string
A type or category for this transaction. Does not need to match MoneyKit types, but see Transaction Categories if you want to match our current schema.
example: food_and_drinks.restaurants
id
: string
required
The unique ID for this link.
example: mk_eqkWN34UEoa2NxyALG8pcV
Responses
200
Successful Response
link_id
: string
The unique ID for this link.
example: mk_eqkWN34UEoa2NxyALG8pcV
institution_id
: string
The unique ID for the institution this link is connected to.
example: chase
institution_name
: string
The institution name this link is connected to.
example: Chase
institution_avatar
: string
An avatar image for the link's institution.
example: https://example.com/avatar.png
state
: string
The current state of this link. Links that are not yet connected,
or which require reconnection, will be in one of the non-connected states. Please note that recently deleted
links can be fetched by this function (and will have a state of deleted
); however, MoneyKit completely
removes deleted links 90 days after deletion, so older deleted links will not be seen after this time.
example: connected
Allowed values:
connecting
awaiting_token_exchange
connected
deleted
error
error_code
: string
The type of error, if the link is in the error
state. See Errors for an explanation of error codes.
Allowed values:
system_error
provider_error
institution_error
user_error
auth_expired
no_accounts
user_setup_required
invalid_credentials
user_oauth_denied
user_input_incorrect
incomplete
last_synced_at
: string
deprecated
An ISO-8601 timestamp indicating the last time that the link was updated.
format:
date-time
example: 2023-02-16T09:14:11
provider
: string
The provider that most recently facilitated the creation of this link. Note that MoneyKit may switch providers if necessary to provide continuous access to the institution.
example: mx
Allowed values:
moneykit
finicity
plaid
yodlee
mx
akoya
link_tags
: array
Arbitrary strings used to describe this link.
tags
: array
deprecated
use link_tags
instead
webhook
: string
The webhook url assigned to this link.
example: https://example.com/webhook
products
: object
The granted products available for this link.
available_products
: array
A list of products that could be added to this link.
Products can be added to (and removed from) an existing link by creating a new /link-session
and supplying the existing_link_id
with a new set of products.
Allowed values:
accounts
account_numbers
identity
transactions
investments
enrichment
429
Rate limit exceeded.
error_code
: string
default: "api_error.rate_limit_exceeded"
Allowed values:
api_error.rate_limit_exceeded
error_message
: string
Error message
default: "Rate limit exceeded"
documentation_url
: string