Bank Transactions - Direct
If your platform provides an embedded bank account or credit card to your customers, Layer can ingest data from these accounts. There are two ways to pass embedded banking activity to Layer:
- API - Pass bank and credit card transactions to Layer’s API directly.
- Layer integrations - Layer has direct connections with top embedded banking platforms. You can grant Layer access to pull your customers’ data from these platforms on your behalf. Layer currently supports: Unit and Stripe Treasury.
Importing transactions via API
To import bank transactions to Layer, first call the Create Custom Account endpoint. This endpoint creates the record for this embedded account in Layer’s systems.
The API will respond with the created Custom Account.
Next, pass the transactions that have occured in your embedded account to Layer by calling the Import Transactions endpoint. When making this call, be sure to populate the customAccountId
parameter in the URL with the id
of the Custom Account you just created.
The API will respond with a 200
if transactions were successfully imported.
Your embedded bank account and its associated transactions will now be accessible in all of Layer’s accounting workflows.
Using Layer’s integrations
To leverage Layer’s embedded banking integrations with Unit and Stripe Treasury, reach out to your Layer contact.