API Reference v1
Accept crypto payments in under 5 minutes. One API call creates a hosted checkout — funds go directly to your wallet.
Get API key
From the API Keys page in your dashboard
Create checkout
POST to /api/v1/checkout with amount
Redirect customer
Send them to checkout_url, done
Replace YOUR_API_KEY with a key from your dashboard.
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{
"id": "chk_7x9k2m",
"url": "https://swiftz.us/pay/chk_7x9k2m",
"amount_usd": 99.00,
"status": "pending",
"expires_at": "2026-04-25T10:45:00Z"
}Funds go directly to your configured wallet. Swiftz never holds your crypto.