Introduction
Explore our SDKs for building crypto payment applications, on/off-ramp integrations, and more.KillB SDKs simplify integration by providing type-safe, developer-friendly interfaces to the KillB API.
Available SDKs
JavaScript/TypeScript SDK
Official Node.js and TypeScript SDK for KillB APInpm:
@killb/sdkPython SDK
Official Python SDK for KillB API (Coming Soon)pip:
killb-sdkGo SDK
Official Go SDK for KillB API (Coming Soon)go:
github.com/killb/killb-goPHP SDK
Official PHP SDK for KillB API (Coming Soon)composer:
killb/sdkWhy Use an SDK?
Type Safety
Type Safety
Full TypeScript support with autocomplete and type checking
Simplified Authentication
Simplified Authentication
Automatic token management and refresh
Built-in Error Handling
Built-in Error Handling
Typed errors with helpful messages
Developer Experience
Developer Experience
- Async/await support
- Promise-based API
- Comprehensive documentation
- Active maintenance
- Community support
Quick Comparison
| Feature | REST API | JavaScript SDK | Python SDK |
|---|---|---|---|
| Setup | Manual auth | Simple config | Simple config |
| Type Safety | ❌ | ✅ TypeScript | ✅ Type hints |
| Auth Management | Manual | Automatic | Automatic |
| Error Types | Generic | Typed | Typed |
| IDE Support | Limited | Excellent | Good |
| Learning Curve | Moderate | Easy | Easy |
Getting Started
1
Choose Your SDK
Select the SDK for your programming language
2
Install
Install via package manager (npm, pip, etc.)
3
Initialize
Configure with your API credentials
4
Build
Start using SDK methods to interact with KillB
Popular Use Cases
- On-Ramp
- Off-Ramp
- Webhooks
SDK Features
Auto Retry
Automatic retry with exponential backoff
Token Refresh
Automatic token refresh before expiry
Request Logging
Built-in logging for debugging
Error Handling
Structured error responses
Type Definitions
Full TypeScript definitions
Webhook Helpers
Signature verification utilities