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.
Hosted widget
Drop a single <script> tag, open a checkout modal, get a webhook. No backend changes required.
Official SDK
Typed Node SDK for server-side integrations. Handles auth, typed responses and signature verification.
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
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 →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.
