SDKs and OpenAPI Spec

Use Lithic's official client libraries, or generate your own tooling from the OpenAPI specification.

Lithic has client libraries you can use to speed up your time to market. Using our client, you can execute a wide range of common operations including:

  1. Listing transactions with auto-pagination so you don't have to query successive pages manually
  2. Webhook verification
  3. Automatic retries with a short exponential backoff
  4. Creating cards and accounts
  5. Adding funding sources
  6. Request timeouts
  7. Error handling
  8. Configuring custom URLs, proxies, and transports
  9. Filing disputes and uploading evidence

Libraries

LanguageRequirementsRepository
TypeScript/NodeNode.js 20 or latergithub.com/lithic-com/lithic-node
PythonPython 3.9 or latergithub.com/lithic-com/lithic-python
GoGo 1.22 or latergithub.com/lithic-com/lithic-go
JavaJava 8 or latergithub.com/lithic-com/lithic-java
KotlinJava 8 or latergithub.com/lithic-com/lithic-kotlin
RubyRuby 3.2 or latergithub.com/lithic-com/lithic-ruby

Each library is built against a single API version. See API versioning for how the release you install determines the version your requests use.

OpenAPI definitions

Lithic also maintains an OpenAPI spec you can reference: github.com/lithic-com/lithic-openapi. The OpenAPI Specification (formerly known as Swagger) is a widely adopted standard for describing and documenting RESTful APIs with a large ecosystem of tools to help with code generation, testing, and validation. These fully annotated files enable Lithic to produce our API reference documentation and client libraries for streamlined development.


Did this page help you?