Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Tavio offers official SDKs in JavaScript/TypeScript, Python, and Go.
npm install @tavio/sdk
pip install tavio
go get github.com/tavio-io/tavio-go
import Tavio from "@tavio/sdk"; const tavio = new Tavio({ apiKey: "tv_live_xxxxxxxxxxxx" }); const payment = await tavio.payments.create({ amount: 5000, currency: "USD", settlementAsset: "USDC", paymentMethods: ['card', 'crypto'], customer: { email: 'user@example.com' } }); console.log(payment.checkoutUrl);
from tavio import TavioClient client = TavioClient(api_key="tv_live_xxxxxxxxxxxx") payment = client.payments.create( amount=5000, currency="USD", settlement_asset="USDC", customer={'email': 'user@example.com'} ) print(payment.checkout_url)
import "github.com/tavio-io/tavio-go" client := tavio.NewClient("tv_live_xxxxxxxxxxxx") payment, err := client.Payments.Create(&tavio.PaymentParams{ Amount: 5000, Currency: "USD", SettlementAsset: "USDC", })
const payout = await tavio.payouts.create({ amount: 200, currency: "USD", recipient: { name: "John Doe", destination: { type: "bank_account", routing: "021000021", account: "9876543210" } } });