← Home

Xclusor API

A non-custodial crypto payment gateway. Create an invoice, show the checkout link to your customer, and get a webhook when it's paid — straight to your own wallet.

Authentication

All /api/v1 requests use an API key as a Bearer token. Create keys in your dashboard. Test keys (xcl_test_…) create test-mode invoices; live keys (xcl_live_…) create real ones.

Authorization: Bearer xcl_live_xxxxxxxxxxxxxxxx

Create an invoice

POST https://api.xclusor.com/v1/invoices

Price in crypto:

curl https://api.xclusor.com/v1/invoices \
  -H "Authorization: Bearer xcl_live_xxx" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-1001" \
  -d '{
    "network": "tron",
    "asset": "usdt",
    "amount": "25.00",
    "order_id": "1001",
    "success_url": "https://yourstore.com/thanks",
    "cancel_url": "https://yourstore.com/cart"
  }'

Or price in fiat — Xclusor converts to crypto at the live rate and locks the amount on the invoice:

  -d '{ "network": "ethereum", "asset": "usdt", "amount_fiat": "49.99", "currency": "USD" }'

Response (201):

{
  "id": "aZ3f…",
  "status": "pending",
  "network": "tron",
  "asset": "usdt",
  "address": "T…",
  "payable_amount": "25.000123",
  "fiat_currency": "USD",
  "fiat_amount": "25.00",
  "checkout_url": "https://pay.xclusor.com/aZ3f…",
  "expires_at": "2026-01-01T00:30:00.000Z",
  "mode": "live"
}

The payable_amount includes a tiny unique suffix so each active invoice is distinguishable on-chain. Always have your customer pay the exact amount.

Other endpoints

Base URL: https://api.xclusor.com

Webhooks

Add an endpoint in your dashboard. We POST events (e.g. invoice.paid) signed with HMAC-SHA256 in the X-Xclusor-Signature header:

X-Xclusor-Signature: t=1700000000,v1=<hex-hmac>

Verify by computing HMAC_SHA256(secret, "<t>.<rawBody>") and comparing to v1. Reject if the timestamp is too old. We retry with backoff until you return 2xx.

Supported networks

NetworkAssetsConfirmations
TRON (TRC20)USDT19
BNB Smart Chain (BEP20)USDT15
Ethereum (ERC20)USDT, ETH12
Polygon (PoS)USDT128
Solana (SPL)USDT32
TON (Jetton)USDT16
BitcoinBTC2

Questions? support@xclusor.com · Status