Torque SDK Overview
The Torque SDK provides a simple way to integrate Torque's multi-product checkout into your applications. Available in JavaScript, PHP, and Python.
📦 Official Package: torque-checkout on npmjs.com
Quick Start​
# JavaScript/Node.js
npm install torque-checkout
# PHP
composer require torque/checkout
# Python
pip install torque-checkout
📦 NPM Package: torque-checkout on npmjs.com
import { TorqueCheckout } from 'torque-checkout';
const torque = new TorqueCheckout({
businessId: 'your_business_id',
apiKey: 'your_api_key'
});
const { checkoutUrl } = await torque.generateCheckoutLink(cart, customerData);
Available SDKs​
- JavaScript SDK - Node.js and frontend integration
- PHP SDK - PHP and framework integration
- Python SDK - Python and framework integration
Core Features​
- Checkout Management - Generate checkout links, manage orders
- Webhook Integration - Real-time order updates with signature verification
- Analytics - Business metrics and performance data
Next Steps​
- JavaScript SDK: Complete JavaScript/Node.js guide
- PHP SDK: PHP integration guide
- Python SDK: Python integration guide
- API Reference: Raw API documentation
- Platform Integrations: Platform-specific guides
Need help with the SDK? Contact our support team at hello@torque.fi or check our SDK troubleshooting guide.