Get Account Numbers
Get Account Numbers
Returns a list of open, permissioned accounts associated with a link, which contain full account and routing numbers for appropriate accounts (such as checking and savings accounts).
Calling this endpoint repeatedly will not give you new data.. This endpoint does not trigger a fetch of account numbers from the institution; it merely returns account numbers that have already been fetched, either when the link was created, or because of an on-demand update.
You should call this endpoint once after the link is created or after you have made an update refresh. This endpoint returns sensitive information. To force a check for new/updated account numbers, you must use the /products endpoint.
If you have requested prefetch or an on-demand update, you should check the refreshed_at
date
for this product in the returned response, and compare that against the previous refreshed_at
date, which you can
get from any previous response for this or any other account or link request. If the refreshed_at date has not
increased, then updated data is not yet available.
URL
Request
Response
id
: string
required
The unique ID for this link.
example: mk_eqkWN34UEoa2NxyALG8pcV
X-Client-Id
: string
X-Client-Secret
: string
Your client secret
example: vzPznCv3kT7fHsAr6y3jk38d
Responses
200
Successful Response
accounts
: array
link
: object
403
Forbidden by link owner. The user did not give permission to access this data when linking.
error_code
: string
default: "link_error.forbidden_action"
error_message
: string
Error message
example: Accounts access not permitted
documentation_url
: string
404
Link not found.
error_code
: string
default: "link_error.not_found"
error_message
: string
default: "Link not found."
documentation_url
: string
410
Link deleted.
error_code
: string
default: "link_error.deleted"
error_message
: string
default: "This link was deleted at some earlier time."
documentation_url
: string
422
Link error.
error_code
: string
default: "link_error.bad_state"
error_message
: string
documentation_url
: string
link_error_code
: string
429
Rate limit exceeded.
error_code
: string
default: "api_error.rate_limit_exceeded"
error_message
: string
Error message
default: "Rate limit exceeded. Use the value of the Retry-After header as guidance for when to retry the request."
documentation_url
: string
default: "https://docs.moneykit.com/api/reference/rate-limits"