paywaz-sdk-js

Paywaz JavaScript SDK (Preview)

npm version build status license

The Paywaz JavaScript SDK provides an easy way to integrate zero-fee, crypto-native payment processing into your website, ecommerce platform, POS, or enterprise application.

SDK is in pre-release mode.
Interfaces, request structures, and endpoints are subject to change as Paywaz approaches public launch.

Paywaz-Version: 2025-01-01


Features (Preview)


Examples

Payments (Runnable)

Webhooks (Runnable)


Quick Start

Note: This example uses top-level await (Node 18+/20+ with ESM). If you’re using CommonJS, wrap it in an async function.

```js import { PaywazClient, webhooks } from “@paywaz/sdk”;

const client = new PaywazClient(“YOUR_API_KEY”, “2025-01-01”); // apiVersion optional

const payment = await client.payments.createPayment({ amount: { currency: “USD”, value: “49.99” }, });

console.log(payment);