Skip to content

TypeScript SDK

const BASE = "https://api.nuez.app/v1";
const KEY = "nz_sk_live_YOUR_KEY_HERE";
const headers = {
Authorization: `Bearer ${KEY}`,
"Content-Type": "application/json",
};
// Balance
const balance = await fetch(`${BASE}/balance`, { headers }).then(r => r.json());
console.log(balance.balance);
// Transfer
const transfer = await fetch(`${BASE}/transfers`, {
method: "POST",
headers: { ...headers, "Idempotency-Key": "inv-2026-04-001" },
body: JSON.stringify({
amount: 5000,
destination: "proveedor.empresa",
description: "Invoice #42",
}),
}).then(r => r.json());
console.log(transfer);

Join the waitlist to be notified when the TypeScript SDK is available.