Skip to main content

Python Client SDK Generated by Speakeasy

Project description

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

pip install codat-bankfeeds

SDK Example Usage

import codatbankfeeds
from codatbankfeeds.models import operations, shared

s = codatbankfeeds.CodatBankFeeds(
    security=shared.Security(
        auth_header="Basic BASE_64_ENCODED(API_KEY)",
    ),
)

req = operations.CreateBankTransactionsRequest(
    create_bank_transactions=shared.CreateBankTransactions(
        account_id='corrupti',
        transactions=[
            shared.CreateBankAccountTransaction(
                amount=7151.9,
                date_='2022-10-23T00:00:00.000Z',
                description='unde',
                id='d8d69a67-4e0f-4467-8c87-96ed151a05df',
            ),
            shared.CreateBankAccountTransaction(
                amount=7781.57,
                date_='2022-10-23T00:00:00.000Z',
                description='at',
                id='df7cc78c-a1ba-4928-bc81-6742cb739205',
            ),
            shared.CreateBankAccountTransaction(
                amount=6176.36,
                date_='2022-10-23T00:00:00.000Z',
                description='iste',
                id='396fea75-96eb-410f-aaa2-352c5955907a',
            ),
        ],
    ),
    account_id='EILBDVJVNUAGVKRQ',
    allow_sync_on_push_complete=False,
    company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
    connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
    timeout_in_minutes=958950,
)

res = s.bank_account_transactions.create(req)

if res.create_bank_transactions_response is not None:
    # handle response

Available Resources and Operations

bank_account_transactions

  • create - Create bank transactions
  • get - List push options for bank account bank transactions
  • list - List bank transactions for bank account

bank_feed_accounts

  • create - Create bank feed bank accounts
  • get - List bank feed bank accounts
  • update - Update bank feed bank account

companies

connections

SDK Generated by Speakeasy

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codat-bankfeeds-0.24.1.tar.gz (22.0 kB view hashes)

Uploaded Source

Built Distribution

codat_bankfeeds-0.24.1-py3-none-any.whl (55.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page