Plaid Integration
If you are using the React component or embed, this will automatically be handled for you.
While some payment methods can be added directly via API, others like credit cards and Plaid require you to host a secure component that allows Mercoa to collect this information from your users in a PCI compliant manner.
Mercoa makes this easy by providing a secure component that you can embed in your app. This component will allow your users to add and manage payment methods in your app.
Generate a user token
Before you can embed the component, you will need to generate a user token. This token will be used to authenticate the user in the iFrame.
Follow this guide to learn how to generate a user token.
Embed the Component
Once you have a user token, you can embed the component in your app.
Add a bank account button
Open the bank account popup with your own button
Update the bank account popup with your own button
Sometimes, the Plaid conection needs to be re-established. To do this, open the ‘update bank account’ popup with the paymentMethodId
you need to reconnect with Plaid.