API Reference
The Basis Theory API is organized around REST. Our API is built with a predictable resource-oriented structure, uses JSON-encoded requests and responses, follows standard HTTP verbs/responses, and uses industry standard authentication.
You are able to create different Tenants within your Basis Theory account to enable you to segment your test environments from your core production data. Tenants serve as a logical grouping for each of your systems to interact with Basis Theory without affecting each other.
Try with Postman
Create a fork of our Basis Theory API workspace, this has pre-configured sample API calls enabling you to quickly try out our API.
Install SDK
- JavaScript
- C#
- Python
- Go
npm install --save @basis-theory/basis-theory-js
dotnet add package BasisTheory.net
pip install basistheory
go get github.com/Basis-Theory/basistheory-go/v3
Our SDKs enable you to quickly and easily integrate with the API. Select one of the language tabs to see instructions on how to install the SDK and view code examples in that language.
If you don't see your language listed, contact us about getting an official SDK added in your preferred language.