'How to check if bank account has already been added - Stripe Plaid ACH
Solution 1:[1]
Plaid docs have some info on preventing this on the Plaid side: https://plaid.com/docs/link/duplicate-items/.
The typical way of doing this works like this:
Make sure to put the Link flow behind a login, so that you have identifying information about your end-user when they start Link.
Store the value of the mask returned by the onSuccess callback in Link and associate it with the user.
Before calling /item/public_token/exchange on a public token, check the mask returned by onSuccess against previous masks for the same user. If you find a match, the account that was just added is very likely a duplicate bank account; do not call /item/public_token/exchange.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Alex |

