Skip to content

codatio/client-sdk-go

Repository files navigation

Codat Go

The API for lending and embedded accounting automation

Codat makes it quicker and easier to build fintech products, like corporate cards, business dashboards, or SMB lending applications, that are integrated with the other systems small businesses use.

Beta Release

Exciting news! Our first Go library beta release is here, simplifying your development workflow with an effortless build process.

Authentication

Codat uses API keys to control access to the API. Learn more about authentication and managing API keys here.

You must keep the API key secret, so make sure it isn't available in publicly accessible areas, such as GitHub and client-side code. Codat recommends the API key is only inserted at release time, and the number of people at your organization with access to your API key is minimised.

Codat expects the API key to be included in all API requests to the server, Base64 encoded within an 'Authorization' header.

Authorization: Basic BASE_64_ENCODED(API_KEY)

Getting your Authorization Header

To get your authorization header from the Codat Portal:

  1. In the navigation bar, click Developers > API keys.
  2. In the API Keys section, copy your authorization header rather than the API key itself.

Client Libraries

Library Description go get
Platform Manage the building blocks of Codat, including companies, connections, and more. github.com/codatio/client-sdk-go/platform
Bank Feeds Set up bank feeds from accounts in your application to supported accounting platforms. github.com/codatio/client-sdk-go/bank-feeds
Sync for Commerce Push merchants' data from your ecommerce or point-of-sale (POS) platform into your merchants' accounting platform. github.com/codatio/client-sdk-go/sync-for-commerce
Sync for Expenses Push expenses to accounting platforms. github.com/codatio/client-sdk-go/sync-for-expenses
Lending Make credit decisions backed by enhanced financials, metrics, reports, and data integrity features. github.com/codatio/client-sdk-go/lending
Sync for Payroll Push payroll to accounting platforms. github.com/codatio/client-sdk-go/sync-for-payroll
Sync for Payables Streamline your customers' accounts payable workflow. github.com/codatio/client-sdk-go/sync-for-payables

Alternative products and versions

Library Description go get
Common Manage the building blocks of Codat, including companies, connections, and more. github.com/codatio/client-sdk-go/previous-versions/common
Accounting Access standardized accounting data from our accounting integrations. github.com/codatio/client-sdk-go/previous-versions/accounting
Banking Access standardized banking data from our banking integrations. github.com/codatio/client-sdk-go/previous-versions/banking
Commerce Access standardized commerce data from our commerce integrations. github.com/codatio/client-sdk-go/previous-versions/commerce
Assess Make credit decisions backed by enhanced financials, metrics, reports, and data integrity features. github.com/codatio/client-sdk-go/previous-versions/assess
Sync for Commerce version 1 Push merchants' data from your ecommerce or point-of-sale (POS) platform into your merchants' accounting platform. github.com/codatio/client-sdk-go/previous-versions/sync-for-commerce-version-1
Sync for Expenses version 1 Push expenses to accounting platforms. github.com/codatio/client-sdk-go/previous-versions/sync-for-expenses-version-1
Files Use Codat's Files API to upload your SMB customers' files. github.com/codatio/client-sdk-go/previous-versions/files

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.