Money

Begin a Plaid connection for one account

Mints the short-lived token Plaid Link opens on. The token reaches no account of its own: the owner signs in at their bank inside Plaid’s own widget and what comes back to the browser is a public token worth one exchange, which /plaid/exchange turns into something that reads. Where the linkability check named the bank, Link opens on it rather than on a search box. connectionId puts the owner back into a bank that needs them instead of adding a second connection, and asks for no new consent. While bank accounts are charged, connecting an account this team does not read yet takes an owner on screen and a plan in trial or active; the price of one past the accounts the plan includes is agreed at /plaid/link. Nothing is connected by calling this. Owners only.

post/api/v1/banking/plaid/link-token

Request

  • Base URL: http://localhost:5180
  • URL: http://localhost:5180/api/v1/banking/plaid/link-token
  • Auth: API key in cookie better-auth.session_token

Request body

bankAccountIdstring

The account in the portfolio the owner is connecting. Left out when they picked a bank from the list and the account will be made from what that bank shares.

bankIdstring

The bank they picked, from /banking/banks. Link then opens on it rather than on a search box.

connectionIdstring

Set to put the owner back into a bank that needs them, rather than adding a connection.

Response

What Link opens on.

okunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.