Node SDK
Official TypeScript SDK for the Wire payment API.
The official TypeScript SDK for Wire. Zero runtime dependencies; works on Node 18+.
- Repository: github.com/buildry-wire/wire-node
- Package: npmjs.com/package/@buildry-wire/wire
Install
npm install @buildry-wire/wireInitialize 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
- Quickstart
- Webhooks —
wire.webhooks.verify - API reference