Plaid

Describes the steps in Plaid integration

In your Aggregator component file, import the PlaidButton in your 'LinkerStudio/modules/aggregators/common/components/molecules/Aggregator' file

import {PlaidButton} from 'LinkerStudio/modules/aggregators/Plaid/components/atoms';

Add the PlaidButton component

<PlaidButton
  onSuccess={onSuccess}
  onError={onError}
  token={token}
  style={containerStyle}>
  {children}
</PlaidButton>

Props Description

  1. onSuccess: Event that runs if the account was added successfully.

  2. onError: Event that runs if an error exists.

  3. token: Element that will allow to establish the connection to Plaid. To obtain it, you must consume the service that is in the variable AGGREGATOR_TOKEN_URL.

  4. style: Your custom styles (optional).

  5. children: Your custom button to open Plaid (optional).

Last updated