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.
To begin importing bank accounts and credit card information, embed Open Ledger’s ConnectBankAccount 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.
Open Ledger provides API endpoints to manage Plaid integration:
To initiate the Plaid connection process, you first need to obtain a link token:
This link token is used with the Plaid Link interface to guide users through selecting their financial institution and authenticating their accounts.
After obtaining a public token from Plaid Link, use it to establish the connection with Open Ledger:
When a bank account is successfully linked, Open Ledger automatically initiates a transaction sync process to import historical transaction data.
The complete Plaid integration flow works as follows:
/v1/banks/create-link
endpoint/v1/banks/accounts
endpointWhen you link a bank account, Open Ledger stores the following data:
With Plaid integration, you can automate many processes that rely on up-to-date financial information:
Open Ledger takes security seriously when handling sensitive financial data:
Here’s a complete example of implementing Plaid in a React application: