Plaid
Required scope: banking:read
Pagination: cursor
Error codes: INVALID_CURSOR, VALIDATION_FAILED
access-tokenAuthorizationBearer <token>status?string"active""error""login_required""pending_disconnect""disconnected"cursor?stringlimit?number1..100, default 50
sort?stringDefault: -created_at
"created_at""-created_at"application/json- response
data*array<>meta*curl -X GET 'https://api.acreum.io/v1/banking/plaid/items'{ "data": [ { "account_count": 0, "created_at": "string", "error_code": "string", "error_message": "string", "id": "string", "institution_id": "string", "institution_name": "string", "last_synced_at": "string", "plaid_item_id": "string", "status": "string", "webhook_url": "string" } ], "meta": { "api_version": "2026-04-23", "limit": 50, "next_cursor": "eyJpZCI6ICJhYmMifQ==", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f" }}Exchanges a public_token from Link onSuccess for a long-lived access_token, persists the encrypted access_token under plaid_items, and returns the canonical accounts list from /accounts/get. Does NOT create bank_accounts rows — that happens in a follow-up call to POST /v1/banking/plaid/items/:id/accounts where the user assigns each Plaid account to a legal entity (or skips it).
Required scope: banking:write
Error codes: VALIDATION_FAILED, FORBIDDEN, NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>Idempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
institution_id?stringPlaid institution_id from Link metadata.
institution_name?stringPlaid institution display name from Link metadata.
public_token*stringPlaid public_token from Link onSuccess.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/banking/plaid/items' \ -H 'Content-Type: application/json' \ -d '{ "public_token": "string"}'{ "data": { "item": { "account_count": 0, "created_at": "string", "error_code": "string", "error_message": "string", "id": "string", "institution_id": "string", "institution_name": "string", "last_synced_at": "string", "plaid_item_id": "string", "status": "string", "webhook_url": "string" }, "plaid_accounts": [ { "currency_code": "string", "ignored": true, "mask": "string", "name": "string", "official_name": "string", "plaid_account_id": "string", "subtype": "string", "type": "string", "verification_status": "string" } ] }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Required scope: banking:read
Error codes: NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/banking/plaid/items/string'{ "data": { "accounts": [ { "account_holder_name": "string", "account_number": "string", "account_number_last4": "string", "account_type": "checking", "ach_company_entry_description": "string", "ach_company_id": "string", "ach_company_name": "string", "ach_originating_routing_number": "string", "ach_sec_code": "string", "cash_account_code": "string", "cash_account_id": "90540b7d-f371-4fff-8728-513ddf8f8dad", "cash_balance": "12500.00", "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9", "created_at": "2019-08-24T14:15:22Z", "currency_code": "string", "external_account_id": "string", "external_item_id": "string", "external_provider": "string", "feed_start_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "institution_name": "string", "is_active": true, "last4": "string", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "mask": "string", "name": "string", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "plaid_account_id": "string", "plaid_item_id": "c6cfff18-0d62-4927-90a7-cc848990833a", "routing_number_last4": "string" } ], "item": { "account_count": 0, "created_at": "string", "error_code": "string", "error_message": "string", "id": "string", "institution_id": "string", "institution_name": "string", "last_synced_at": "string", "plaid_item_id": "string", "status": "string", "webhook_url": "string" } }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Calls Plaid /item/remove, marks the local plaid_items row as disconnected, clears the encrypted access_token, and deactivates the linked bank_accounts rows. Historical transactions stay; reconnection requires a fresh Link flow.
Required scope: banking:write
Error codes: NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255Possible error codes: INVALID_IDEMPOTENCY_KEY
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X DELETE 'https://api.acreum.io/v1/banking/plaid/items/string'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}For each Plaid account on the item, either assign it to a legal entity (creating a bank_accounts row) or skip it. Idempotent on (org_id, plaid_account_id) — re-submitting the same body is a no-op. Toggling skip=true on a previously linked account is rejected with PLAID_ACCOUNT_ALREADY_LINKED. After commit, an initial-sync job is enqueued to backfill transactions.
Required scope: banking:write
Error codes: VALIDATION_FAILED, FORBIDDEN, NOT_FOUND, INVALID_IDEMPOTENCY_KEY, IDEMPOTENCY_CONFLICT, ACCOUNT_LEGAL_ENTITY_MISMATCH, BANK_ACCOUNT_CURRENCY_MISMATCH
access-tokenAuthorizationBearer <token>id*stringIdempotency-Key?stringClient-chosen key that makes this mutation safe to retry. Optional — a request without one is processed normally, with no replay protection. Reusing a key with the same body replays the original response for ~24 hours; reusing it with a different body returns IDEMPOTENCY_CONFLICT.
^[A-Za-z0-9_-]{1,255}$length <= 255application/json- body
accounts*array<>application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/banking/plaid/items/string/accounts' \ -H 'Content-Type: application/json' \ -d '{ "accounts": [ { "plaid_account_id": "string", "skip": true } ]}'{ "data": { "accounts": [ { "account_holder_name": "string", "account_number": "string", "account_number_last4": "string", "account_type": "checking", "ach_company_entry_description": "string", "ach_company_id": "string", "ach_company_name": "string", "ach_originating_routing_number": "string", "ach_sec_code": "string", "cash_account_code": "string", "cash_account_id": "90540b7d-f371-4fff-8728-513ddf8f8dad", "cash_balance": "12500.00", "connection_id": "d3547de1-d1f2-4344-b4c2-17169b7526f9", "created_at": "2019-08-24T14:15:22Z", "currency_code": "string", "external_account_id": "string", "external_item_id": "string", "external_provider": "string", "feed_start_date": "2019-08-24", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "institution_name": "string", "is_active": true, "last4": "string", "legal_entity_id": "8c040143-e03c-45a0-b1bc-85161701d839", "legal_entity_name": "string", "mask": "string", "name": "string", "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b", "plaid_account_id": "string", "plaid_item_id": "c6cfff18-0d62-4927-90a7-cc848990833a", "routing_number_last4": "string" } ] }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Returns Plaid accounts visible on the item that the user has neither imported (no bank_accounts row) nor deliberately skipped (no plaid_ignored_accounts row). Used by the FE to surface NEW_ACCOUNTS_AVAILABLE additions and the connect-time picker. Pass include_ignored=true to get the skipped ones back too, each flagged ignored: true, so a user can import an account they previously declined.
Required scope: banking:read
Error codes: FORBIDDEN, NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringinclude_ignored?booleanInclude accounts the user previously chose to skip, each flagged ignored: true. Use this to offer "you skipped N accounts — import one" without a second endpoint. Defaults to false, so the response carries only accounts with no recorded decision.
falseapplication/json- response
data*meta*curl -X GET 'https://api.acreum.io/v1/banking/plaid/items/string/discoverable-accounts'{ "data": { "accounts": [ { "currency_code": "string", "ignored": true, "mask": "string", "name": "string", "official_name": "string", "plaid_account_id": "string", "subtype": "string", "type": "string", "verification_status": "string" } ] }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Calls Plaid's /item/get for this item and records the status it reports. Called by the connect wizard after a Link update-mode session: repairing an item through update mode changes state at Plaid and returns no public_token, so without this the application never learns the connection was fixed. ITEM/LOGIN_REPAIRED remains the backstop, not the only mechanism.
Required scope: banking:write
Error codes: FORBIDDEN, NOT_FOUND
access-tokenAuthorizationBearer <token>id*stringapplication/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/banking/plaid/items/string/reconnect-check'{ "data": { "error_code": "string", "status": "active" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Issues a Plaid Link token for the FE Link iframe. mode=create returns a token to connect a new institution; mode=update returns a token to re-authenticate an existing plaid_item that the user needs to repair (ITEM_LOGIN_REQUIRED, PENDING_DISCONNECT).
Required scope: banking:write
Error codes: VALIDATION_FAILED, FORBIDDEN, NOT_FOUND
access-tokenAuthorizationBearer <token>application/json- body
mode*stringcreate: issue a token to connect a new institution. update: re-issue for an existing item that needs the user to re-authenticate (ITEM_LOGIN_REQUIRED, PENDING_DISCONNECT).
"create""update"plaid_item_id?stringRequired when mode=update. The local plaid_items.id whose access_token should be reused for the Link update flow.
application/json- response
data*meta*curl -X POST 'https://api.acreum.io/v1/banking/plaid/link-token' \ -H 'Content-Type: application/json' \ -d '{ "mode": "create"}'{ "data": { "expiration": "string", "link_token": "string", "request_id": "string" }, "meta": { "api_version": "2026-04-23", "cursor": { "has_more": true, "next": "eyJpZCI6ICJhYmMifQ==" }, "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "total_count": 1234 }}Plaid pushes lifecycle and transactions events here. The PlaidWebhookSignatureGuard verifies the ES256 JWT in Plaid-Verification against the cached JWK before this handler runs. The dispatcher persists the event under plaid_webhook_events (deduped by payload_hash), then enqueues sync-item / reconnect-check jobs or updates the plaid_items status per spec §10.3.
Error codes: UNAUTHORIZED, VALIDATION_FAILED
application/json- body
environment?stringPlaid environment that generated the webhook (sandbox / production).
error?Optional Plaid error envelope.
item_id?stringPlaid item_id (external).
webhook_code*stringwebhook_type*stringPossible error codes: VALIDATION_FAILED
application/json- response
code*stringdetail*stringerrors?array<>instance*stringnext_action?stringWhat the caller does next. Sent only by codes that declare it (the PLAN_* codes).
"fix_step""re_preview""retry_later""split_plan""use_plan_mode""release_first""contact_operator"request_id*stringretryable?booleanWhether the same request can succeed unchanged later. Sent only by codes that declare it (the PLAN_* codes).
status*numbertitle*stringtype*stringcurl -X POST 'https://api.acreum.io/v1/banking/plaid/webhook' \ -H 'Content-Type: application/json' \ -d '{ "webhook_code": "string", "webhook_type": "string"}'{ "code": "DOCUMENT_ALREADY_POSTED", "detail": "Document doc_01 is already posted.", "errors": [ { "code": "INVALID_VALUE", "field": "amount", "message": "must be > 0" } ], "instance": "/v1/documents/doc_01/post", "next_action": "fix_step", "request_id": "018f0b3d-2b1e-7c8a-9d4b-1a2b3c4d5e6f", "retryable": true, "status": 409, "title": "Document already posted", "type": "https://docs.acreum.io/errors/DOCUMENT_ALREADY_POSTED"}