Docs

API Reference v1

REST API · No SDK required

Quick Start

Accept crypto payments in under 5 minutes. One API call creates a hosted checkout — funds go directly to your wallet.

1

Get API key

From the API Keys page in your dashboard

2

Create checkout

POST to /api/v1/checkout with amount

3

Redirect customer

Send them to checkout_url, done

Create your first checkout

Replace YOUR_API_KEY with a key from your dashboard.

create-checkout.js
const res = await fetch('https://swiftz.us/api/v1/checkout', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    amount_usd: 99.00,
    webhook_url: 'https://yoursite.com/webhook',
  }),
});
const { id, url } = await res.json();
// Redirect customer to: url

Response

response.json
{
  "id": "chk_7x9k2m",
  "url": "https://swiftz.us/pay/chk_7x9k2m",
  "amount_usd": 99.00,
  "status": "pending",
  "expires_at": "2026-04-25T10:45:00Z"
}

Supported chains

BTCETHSOLUSDTUSDCLTCDOGETRXBNBMATIC

Funds go directly to your configured wallet. Swiftz never holds your crypto.