1. Support Center
  2. Getting Ready For Trading

How do I drive Plaid Connect programmatically

If are are implementing the Plaid Link SDK on your own, instead of using Cybrid's SDK, follow these instructions.

As an alternative to driving the external bank connect process via Cybrid's UI SDK, you can chose to programmatically drive the process via our APIs and your own implementation of the client-side Plaid Link SDK.

In order to programmatically drive this process you'll need to directly interface with our /workflows and /external_bank_accounts APIs. An external bank account represents a Plaid connected bank account that an end-user can leverage to fund their fiat account on the Cybrid platform.

The full process is described below:

  1. Create a new workflow of kind link_token_create via the /workflows POST API. Capture the workflow guid in the response.
  2. Query the workflow via the /workflows/{guid} GET API to return the full details of the link_token_create request. Capture the plaid_link_token.
  3. You may now use the plaid_link_token to initialize the Plaid Link SDK to connect an external bank account. 
  4. In the success callback from Plaid Link you'll need to collect the account information for the account the user connected, and the public link token.
  5. Create a new external bank account via the /external_bank_accounts POST API.

With the external bank account successfully connected you can proceed to account funding by initiating a funding transfer via the /transfers POST API.