Codat.Lending 5.3.0

dotnet add package Codat.Lending --version 5.3.0
NuGet\Install-Package Codat.Lending -Version 5.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Codat.Lending" Version="5.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Codat.Lending --version 5.3.0
#r "nuget: Codat.Lending, 5.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Codat.Lending as a Cake Addin
#addin nuget:?package=Codat.Lending&version=5.3.0

// Install Codat.Lending as a Cake Tool
#tool nuget:?package=Codat.Lending&version=5.3.0

Lending

Lending helps you make smarter credit decisions on small businesses by enabling you to pull your customers' latest data from the operating systems they are already using. You can use that data for automating decisioning and surfacing new insights on the customer, all via one API.

SDK Installation

Nuget

dotnet add package Codat.Lending

Example Usage

SDK Example Usage

Example

using Codat.Lending;
using Codat.Lending.Models.Shared;
using System.Collections.Generic;

var sdk = new CodatLending(security: new Security() {
        AuthHeader = "Basic BASE_64_ENCODED(API_KEY)",
    });

CompanyRequestBody req = new CompanyRequestBody() {
    Description = "Requested early access to the new financing scheme.",
    Name = "Bank of Dave",
};

var res = await sdk.Companies.CreateAsync(req);

// handle response

Available Resources and Operations

Companies

Connections

  • Create - Create connection
  • Delete - Delete connection
  • Get - Get connection
  • List - List connections
  • Unlink - Unlink connection

Transactions.AccountTransactions

  • Get - Get account transaction
  • List - List account transactions

Transactions.DirectCosts

Transactions.Transfers

  • Get - Get transfer
  • List - List transfers

Transactions.JournalEntries

  • Get - Get journal entry
  • List - List journal entries

Transactions.Journals

  • Get - Get journal
  • List - List journals

AccountingBankData

AccountingBankData.Accounts

  • Get - Get bank account
  • List - List bank accounts

Banking.AccountBalances

  • List - List account balances

Banking.Accounts

  • Get - Get account
  • List - List accounts

Banking.TransactionCategories

  • Get - Get transaction category
  • List - List transaction categories

Banking.Transactions

  • Get - Get bank transaction
  • List - List transactions

Banking.CategorizedStatement

  • Get - Get categorized bank statement

AccountsPayable.Bills

AccountsPayable.Suppliers

AccountsPayable.BillCreditNotes

  • Get - Get bill credit note
  • List - List bill credit notes

AccountsPayable.BillPayments

  • Get - Get bill payment
  • List - List bill payments

Sales.Customers

  • Get - Get customer
  • List - List customers

Sales.Disputes

  • Get - Get dispute
  • List - List disputes

Sales.Locations

  • Get - Get location
  • List - List locations

Sales.Orders

  • Get - Get order
  • List - List orders

Sales.PaymentMethods

  • Get - Get payment method
  • List - List payment methods

Sales.Payments

  • Get - Get payment
  • List - List payments

Sales.ProductCategories

  • Get - Get product category
  • List - List product categories

Sales.Products

  • Get - Get product
  • List - List products

Sales.Transactions

  • Get - Get transaction
  • List - List transactions

Sales.Metrics

Sales.Reports

CompanyInfo

AccountsReceivable.Customers

AccountsReceivable.DirectIncomes

AccountsReceivable.Invoices

AccountsReceivable.CreditNotes

  • Get - Get credit note
  • List - List credit notes

AccountsReceivable.Payments

  • Get - Get payment
  • List - List payments

AccountsReceivable.Reports

FileUpload

  • Download - Download all files for a company
  • ListUploaded - List all files uploaded by a company
  • Upload - Upload files for a company

LoanWriteback.BankAccounts

LoanWriteback.BankTransactions

  • Create - Create bank account transactions
  • GetCreateModel - Get create bank account transactions model

LoanWriteback.Accounts

LoanWriteback.DirectCosts

LoanWriteback.Payments

LoanWriteback.Suppliers

LoanWriteback.Transfers

LoanWriteback.CreateOperations

  • Get - Get create operation
  • List - List create operations

FinancialStatements.Accounts

  • Get - Get account
  • List - List accounts

FinancialStatements.BalanceSheet

FinancialStatements.CashFlow

  • Get - Get cash flow statement

FinancialStatements.ProfitAndLoss

ManageData

ManageData.Refresh

ManageData.PullOperations

  • Get - Get pull operation
  • List - List pull operations

Liabilities

DataIntegrity

  • Details - List data integrity details
  • Status - Get data integrity status
  • Summaries - Get data integrity summaries

ExcelReports

Server Selection

Server Selection

Select Server by Index

You can override the default server globally by passing a server index to the serverIndex: number optional parameter when initializing the SDK client instance. The selected server will then be used as the default on the operations that use it. This table lists the indexes associated with the available servers:

# Server Variables
0 https://api.codat.io None

Override Server URL Per-Client

The default server can also be overridden globally by passing a URL to the serverUrl: str optional parameter when initializing the SDK client instance. For example:

Authentication

Per-Client Security Schemes

This SDK supports the following security scheme globally:

Name Type Scheme
authHeader apiKey API key

You can set the security parameters through the security optional parameter when initializing the SDK client instance. For example:

using Codat.Lending;
using Codat.Lending.Models.Shared;
using System.Collections.Generic;

var sdk = new CodatLending(security: new Security() {
        AuthHeader = "Basic BASE_64_ENCODED(API_KEY)",
    });

CompanyRequestBody req = new CompanyRequestBody() {
    Description = "Requested early access to the new financing scheme.",
    Name = "Bank of Dave",
};

var res = await sdk.Companies.CreateAsync(req);

// handle response

Support

If you encounter any challenges while utilizing our SDKs, please don't hesitate to reach out for assistance. You can raise any issues by contacting your dedicated Codat representative or reaching out to our support team. We're here to help ensure a smooth experience for you.

Library generated by Speakeasy

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.3.0 202 2/14/2024
5.2.0 1,239 12/15/2023
5.1.0 350 12/14/2023
4.3.0 486 10/17/2023
4.2.0 464 9/25/2023
3.3.0 473 9/20/2023
3.2.1 448 9/20/2023
2.3.0 456 9/15/2023
2.2.0 508 9/14/2023
0.2.0 486 9/1/2023
0.1.0 559 9/1/2023