1. Getting Plaid items
Once you’ve sent your user’s Plaidaccess_token to Tight, Tight will then fetch and store the associated Plaid “Item”, which is a parent-level object for any given bank. You can obtain all of a given user’s Plaid Items (one per banking institution), by running the following GET request:
If you are using Tight’s Embeddable Expense Dashboard or Income Dashboard, then your design and development teams do not need to spend any time figuring out how to handle bank authentication-related errors. Tight’s Embeddable User Interface gracefully handles Plaid-related errors and walks your users through the steps on resolving those errors.
If you intend to resolve these errors on your own, then you will find the
apiErrorCode and apiErrorMessage fields critical to your successful implementation.
2. Getting Plaid accounts
To see the actual bank (and credit card) accounts that your user has linked, you will want to retrieve the user’s Plaid accounts:3. Pulling historical transactions
When you link your user’s Plaid accounts to the Tight API, Tight pulls 30 days of transactions by default. Leveraging our experience iterating the Hurdlr app with over 700k+ users, we concluded that 30 days is the best balance between giving users enough information to provide value, but without providing too much information so as to overwhelm them. With that being said, there are many use cases where you or your users may want to pull transactions further back, and Tight makes that easy to do so. For any given Plaid account, you can simply update thetranStartDate field to the desired historical date, and POST that account to the /accounts endpoint:
🚧 ThetranStartDatemust be greater than or equal to thetranMinStartDateon the given account. ThetranMinStartDateis the earliest date that Plaid has transactional data for the given account. That date varies by banking institution as well as when the user first linked with Plaid (including in other applications).
4. Setting an account to business-only
If a user has a business account that they do not commingle personal transactions into, you can set their account up so that every transaction that comes in is automatically classified as a business transaction. For any given Plaid account, you can simply update theautoClassify and defaultBusinessId fields, and POST that account to the /accounts endpoint:
📘 The defaultBusinessId field is not required for users who only have one business; the Tight API will automatically default to the user’s sole business.
5. Removing a Plaid item
If your users wants to unlink a bank altogether, you can unlink the associated Plaid Item by making the following DELETE call, including the relevant Plaid Item’s ID from the Tight API:removeFromPlaid parameter to true will also unlink the account with Plaid, so that Plaid no longer bills you for this item.