Bank Feeds

Exchange a Plaid public token

Completes a Plaid Link connect: exchanges the public token, stores the encrypted access token, and inventories the connected accounts. Returns 409 when the account already exists or the institution is already connected without an explicit different-login choice.

post/plaid/exchange

Request

  • Base URL: https://ledgerhq.pro/api/v1
  • URL: https://ledgerhq.pro/api/v1/plaid/exchange
  • Auth: one of:
    • HTTP bearer and API key in header x-organization-id
    • HTTP bearer and API key in header x-organization-id

Request body

publicTokenstring required
attemptIdstring uuid

Attempt id returned with the Link token.

allowSeparateInstitutionLoginboolean

Set only after the user explicitly chooses a different login for an institution already connected.

Response

Connection created

itemIdstring uuid
institutionNamestring nullable

Changes

No recorded changes to this operation across all 5 revisions of this API.