Bank Connections
Import bank transactions and account data using Open Ledger’s Plaid integration.
Open Ledger integrates with Plaid, a platform that provides seamless access to bank account and credit card data. This integration enables Open Ledger to harness financial data directly from banks, enhancing the functionality of our financial solutions.
Setting Up Plaid Integration
To begin importing bank accounts and credit card information, embed Open Ledger’s Bank Linking React component within your product. This component manages all aspects of Open Ledger’s Plaid connection and guides users through the process of granting read-only access to their bank account and credit card activity.
API Endpoints
Open Ledger provides API endpoints to manage Plaid integration:
Creating a Plaid Link Token
To initiate the Plaid connection process, you first need to obtain a link token:
Response
This link token is used with the Plaid Link interface to guide users through selecting their financial institution and authenticating their accounts.
Adding Bank Accounts
After obtaining a public token from Plaid Link, use it to establish the connection with Open Ledger:
Query Parameters
Response
When a bank account is successfully linked, Open Ledger automatically initiates a transaction sync process to import historical transaction data.
Integration Flow
The complete Plaid integration flow works as follows:
- Your application requests a link token from the
/v1/banks/create-link
endpoint - The link token is used to initialize Plaid Link in your frontend
- The user selects their financial institution and authenticates
- Plaid provides a public token to your application
- Your application sends the public token to the
/v1/banks/accounts
endpoint - Open Ledger exchanges the public token for an access token and retrieves account information
- Open Ledger creates account records and initiates transaction syncing
- Transactions are automatically categorized and imported into the ledger
Data Structure
When you link a bank account, Open Ledger stores the following data:
Using Plaid Data
With Plaid integration, you can automate many processes that rely on up-to-date financial information:
- Transaction Categorization: Automatically categorize bank transactions using AI, ensuring accuracy and reducing manual entry.
- Financial Reporting: Generate accurate financial reports based on actual bank data.
- Account Reconciliation: Reconcile bank transactions with financial records to ensure accuracy and completeness.
Security and Compliance
Open Ledger takes security seriously when handling sensitive financial data:
- All data transferred between Plaid and Open Ledger is encrypted
- Open Ledger never stores bank credentials
- Plaid access is read-only, ensuring no transactions can be initiated
- Strict access controls ensure data is only accessible to authorized users
Implementation Example
Here’s a complete example of implementing Plaid in a React application:
Support and Troubleshooting
If you encounter any issues with Plaid integration or have any questions, please contact Open Ledger support. Our team is available to provide assistance and ensure that your experience with Plaid integration is seamless and beneficial.