JavaScript client integration

Typed, with no runtime dependencies. Calls the API from Node or the browser and checks callbacks in Node.

Read the API quick start

Get the integration

Requirements

Install and configure

  1. Install @suawave/gateway-client in your application. It provides ESM, CommonJS and type declarations without runtime dependencies.
  2. Create GatewayClient with your baseUrl and use publicCreate with a ticker, payout address and a unique callback URL per order.
  3. Use publicQrCode, publicLogs, publicInfo, publicEstimate and conversion methods as needed to build your payment flow.
  4. On your Node server, import verifyCallbackSignature from @suawave/gateway-client/verify. Fetch and cache publicCallbackKey, then verify the exact full GET URL or raw POST body before applying a callback.

What the buyer sees

Your application renders the returned deposit address, token amount and QR code. The client does not add a storefront payment method or update orders automatically; you implement the payment screen and callback handler.

Payment behavior

Callback delivery · Fees and minimums

USDT payment networks and fees · Payment integration guides