Integrations

Wire up crypto checkout in an afternoon.

Use the hosted widget for zero-code checkout, an official SDK in your language, or hit the raw REST API. Same primitives, same webhooks, your choice of abstraction.

Fastest

Hosted widget

Drop a single <script> tag, open a checkout modal, get a webhook. No backend changes required.

Recommended

Official SDK

Typed Node SDK for server-side integrations. Handles auth, typed responses and signature verification.

Maximum control

Raw REST API

Plain JSON over HTTPS with bearer-token auth. Works from any stack, including Tor-only backends.

Create a checkout

Use the Node SDK or raw REST from your backend: construct a client, call checkouts.create, then redirect the customer to the returned hosted pay page.

  • · Typed checkout, product, subscription, donation and payout helpers
  • · Built-in HMAC webhook verification
  • · No backend internals or wallet code shipped in the SDK
/api/v1/checkouts
import { XMRGate } from "@xmrgate/sdk";

const gate = new XMRGate({ apiKey: process.env.XMRGATE_KEY! });

// Create a checkout — returns a hosted pay page URL
const checkout = await gate.checkouts.create({
  priceUsd: 999,                        // $9.99
  currency: "XMR",
  customerExternalId: "user_42",
  metadata: { orderId: "order_8675309" },
  successUrl: "https://yoursite.com/thanks",
  cancelUrl:  "https://yoursite.com/cart",
});

// Redirect the customer to the hosted pay page
console.log(checkout.payPageUrl);

SDKs and API options

View API reference →
Language
Package
Status
TypeScript / Node
@xmrgate/sdk
Ready
Raw REST
https://xmrgate.com/api/v1
Ready
Hosted checkout
https://xmrgate.com/pay/:id
Ready
Python
REST examples first; SDK planned
Planned
Go
REST examples first; SDK planned
Planned

Platform plugins

Prebuilt integration paths for popular stacks. Install, paste your API key, and keep secret-key calls on your backend.

WooCommerce

Drop-in plugin for any WordPress store.

Shopify

Custom app via the Shopify Payments API.

Magento 2

Composer module with admin config UI.

Ghost

Webhook-based membership checkout.

BTCPay bridge

Forward BTCPay events into XMRgate.

Zapier

Trigger automations on confirmed payments.

Ready to start integrating?

Apply for a merchant account and get sandbox keys immediately after approval.