Bank Feeds
Bank Feeds API enables your SMB users to set up bank feeds from accounts in your application to supported accounting platforms.
SDK Installation
NPM
npm add @codat/bank-feeds
Yarn
yarn add @codat/bank-feeds
Example Usage
import { CodatBankFeeds } from "@codat/bank-feeds";
import { CreateBankAccountMappingResponse } from "@codat/bank-feeds/dist/sdk/models/operations";
const sdk = new CodatBankFeeds({
security: {
authHeader: "Basic BASE_64_ENCODED(API_KEY)",
},
});
sdk.accountMapping.create({
requestBody: {
feedStartDate: "2022-10-23T00:00:00.000Z",
sourceAccountId: "provident",
targetAccountId: "distinctio",
},
companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
}).then((res: CreateBankAccountMappingResponse) => {
if (res.statusCode == 200) {
}
});
Available Resources and Operations
- create - Create bank feed account mapping
- get - List bank feed account mappings
Library generated by Speakeasy