New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@codat/bank-feeds

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codat/bank-feeds

Bank Feeds API enables your SMB users to set up bank feeds from accounts in your application to supported accounting platforms.

  • 0.15.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
71
increased by47.92%
Maintainers
3
Weekly downloads
 
Created
Source

Bank Feeds API

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

SDK Example Usage

import { CodatBankFeeds } from "@codat/bank-feeds";
import { CreateBankTransactionsResponse } from "@codat/bank-feeds/dist/sdk/models/operations";
import {
  BankTransactionTypeEnum,
  DataTypeEnum,
  PushChangeTypeEnum,
  PushOperationStatusEnum,
} from "@codat/bank-feeds/dist/sdk/models/shared";

const sdk = new CodatBankFeeds({
  security: {
    authHeader: "YOUR_API_KEY_HERE",
  },
});

sdk.bankAccountTransactions.createBankTransactions({
  bankTransactions: {
    accountId: "corrupti",
    transactions: [
      {
        amount: 7151.9,
        balance: 8442.66,
        clearedOnDate: "unde",
        counterparty: "nulla",
        description: "corrupti",
        id: "d69a674e-0f46-47cc-8796-ed151a05dfc2",
        modifiedDate: "at",
        reconciled: false,
        reference: "at",
        sourceModifiedDate: "maiores",
        transactionType: BankTransactionTypeEnum.Atm,
      },
      {
        amount: 7991.59,
        balance: 8009.11,
        clearedOnDate: "esse",
        counterparty: "totam",
        description: "porro",
        id: "a1ba928f-c816-4742-8b73-9205929396fe",
        modifiedDate: "fuga",
        reconciled: false,
        reference: "in",
        sourceModifiedDate: "corporis",
        transactionType: BankTransactionTypeEnum.Check,
      },
      {
        amount: 4370.32,
        balance: 9023.49,
        clearedOnDate: "quidem",
        counterparty: "architecto",
        description: "ipsa",
        id: "faaa2352-c595-4590-baff-1a3a2fa94677",
        modifiedDate: "velit",
        reconciled: false,
        reference: "error",
        sourceModifiedDate: "quia",
        transactionType: BankTransactionTypeEnum.SerChg,
      },
    ],
  },
  accountId: "8a210b68-6988-11ed-a1eb-0242ac120002",
  allowSyncOnPushComplete: false,
  companyId: "8a210b68-6988-11ed-a1eb-0242ac120002",
  connectionId: "2e9d2c44-f675-40ba-8049-353bfcb5e171",
  timeoutInMinutes: 110375,
}).then((res: CreateBankTransactionsResponse) => {
  if (res.statusCode == 200) {
    // handle response
  }
});

Available Resources and Operations

bankAccountTransactions

bankFeedAccounts

SDK Generated by Speakeasy

FAQs

Package last updated on 11 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc