SDKs
The Bias server SDKs are generated from the Bias OpenAPI specification. They wrap every API resource in a typed, idiomatic interface so you get autocompletion, compile-time checks, and consistent error handling without hand-writing HTTP calls.
Every SDK shares the same conventions: bearer-token authentication, cursor pagination, object expansion, and typed errors.
Available SDKs
| Language | Package | Reference |
|---|---|---|
| TypeScript | @biaspay/sdk | TypeScript SDK |
| Python | biaspay | Python SDK |
| Rust | bias | Rust SDK |
If you are developing in a language that does not yet have an SDK, you can call the REST API directly, or let us know and we will consider adding one.
TypeScript
The TypeScript SDK is published on npm as @biaspay/sdk. Construct a client with your API key and call resource methods directly.
See the TypeScript SDK for pagination, expansion, streaming, and error handling.
Python
See the Python SDK for pagination, expansion, async, streaming, and error handling.
Rust
See the Rust SDK for pagination, streaming, error handling, and cargo features.