0%

Torque: Money OS

The intelligent programmable financial operating system for self-custody, unifying global liquidity & orchestrating seamless best-price execution across 10+ blockchains. Portfolio, trading, transfers, lending, borrowing, staking, and business checkout share one smart account. Use Torque Assistant when you want conversational help.

Quick Example

Checkout is cart-based: line items reference Torque Product IDs from your catalog; totals come from Torque. Use torque-checkout — keep TORQUE_API_KEY on the server (Route Handler / API route).

app/api/checkout-session/route.ts
// Server only — never expose TORQUE_API_KEY to the browser.
// Env: TORQUE_BUSINESS_ID, TORQUE_API_KEY (Business settings → API Integration)
import { handleCheckoutRequest } from 'torque-checkout/nextjs'

export const POST = handleCheckoutRequest()
// Client POSTs { items, customer }; response includes checkoutUrl → redirect shopper
Was this helpful?