Banks

Start a new bank connection

Initiates a provider-specific connection flow. Returns a ConnectionStart payload the client renders — a Plaid Link token, a portal popup URL, or an OAuth redirect URL depending on the provider.

post/v1/banks/connections/start

Request

  • Base URL
    https://api.banksync.io
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Request body

object required
providerInstanceId, string required
email, string email required
mobile, string
institutionId, string
brandId, string
countryCodes, string[]
redirectUri, string

Where the provider sends the person once the bank is done. An absolute https URL (http only on localhost, 127.0.0.1 or [::1]), or a native app's own reverse-domain scheme URL such as com.example.app://bank-callback. A single-word scheme such as myapp:// is refused, and so is a scheme in an OS vendor's namespace (x-apple, com.apple, microsoft, com.microsoft or windows, or any scheme under one). No credentials and no fragment. Send it in canonical form: only RFC 3986 characters, with anything else (a space, double quote, angle bracket, ^, {, }, |, backtick or non-ASCII character) percent-encoded as %XX; [ and ] only around an IPv6 host (elsewhere %5B and %5D); no backslash (a URL parser reads one in an http or https path as /, so send /; send %5C for a literal backslash); no control character, raw or percent-encoded (%00 to %1F, %7F); and exactly as a WHATWG URL parser writes it back (new URL(value).href). For an https or http URL that means a lowercase ASCII host (punycode for an international one), no default port and a path of at least /; an app-scheme URL keeps its host exactly as written, case included, and needs no path. A non-canonical value is refused with a 400 that names the canonical form to send when that form would be accepted, or else says why that form is refused too. Forwarded to the provider exactly as sent. Plaid and Fiskil return only to https, so an app scheme is refused for them.

brokerageSlug, string
saltedgeConsentScopes, string[]
connectionType, 'read' | 'trade'
forceNewConnection, boolean

Response

Connection flow initiated

object required
success, true required
data, union required

Changes

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