@codat/banking
TypeScript icon, indicating that this package has built-in type declarations

0.30.0 • Public • Published

Banking

Use Codat's API to connect to your SMB customer's banks and pull up-to-date standardized account and transaction data from their bank accounts via our partner providers.

SDK Installation

NPM

npm add @codat/banking

Yarn

yarn add @codat/banking

Example Usage

import { CodatBanking } from "@codat/banking";

(async () => {
    const sdk = new CodatBanking({
        security: {
            authHeader: "Basic BASE_64_ENCODED(API_KEY)",
        },
    });

    const res = await sdk.accountBalances.list({
        companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
        connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
        orderBy: "-modifiedDate",
        page: 1,
        pageSize: 100,
    });

    if (res.statusCode == 200) {
        // handle response
    }
})();

Available Resources and Operations

accountBalances

  • list - List account balances

accounts

  • get - Get account
  • list - List accounts

transactionCategories

  • get - Get transaction category
  • list - List transaction categories

transactions

  • get - Get bank transaction
  • list - List transactions
  • listBankTransactions - List banking transactions ⚠️ Deprecated Use list instead.

Library generated by Speakeasy

Readme

Keywords

none

Package Sidebar

Install

npm i @codat/banking

Weekly Downloads

273

Version

0.30.0

License

none

Unpacked Size

484 kB

Total Files

144

Last publish

Collaborators

  • codat-engineer