wire docs

Node SDK

Official TypeScript SDK for the Wire payment API.

The official TypeScript SDK for Wire. Zero runtime dependencies; works on Node 18+.

Install

npm install @buildry-wire/wire

Initialize and make a call

import { Wire } from "@buildry-wire/wire";

const wire = new Wire("sk_live_...");

const pi = await wire.paymentIntents.create({
  amount: 15000,                 // 15,000 ₮ — whole tögrög
  currency: "MNT",
  idempotencyKey: "order-1001",
});
console.log(pi.id, pi.status);

Learn more

On this page