Get started
Quickstart
Connect your backend and discover its routes before preparing a payment.
1. Prepare your environment
You need Node.js 20 or later, a reachable tilcai-infrastructure instance and a tenant key with the payments scope. There is no universal public API URL: use your deployment URL or one supplied by its operator.
npm install tilcai-sdkTILCAI_API_URL=https://YOUR_INSTANCE
TILCAI_API_KEY=YOUR_SERVER_SIDE_KEY
TILCAI_NETWORK=testnet2. Check the instance
import { Tilcai } from "tilcai-sdk";
const tilcai = Tilcai.fromEnv();
const health = await tilcai.verifyEnvironment();
const routes = await tilcai.routes();
console.log(health.env, health.transactionsEnabled);
console.log(routes);3. Choose the next step
The advertised network, route modes and instance status determine what you can do. Prepare a quote with the SDK · Review network coverage.
Availability depends on your instance. Check /health and /v1/routes before integrating.
TilcAI Docs · 20 Oct 2026Sources and versions ↗
