Crypto payment API
built for developers
Clean REST API, real-time webhooks, and practical code examples. Accept crypto payments with a few lines of code.
Everything you need to integrate
A single, consistent REST API for creating payments, managing webhooks, and querying transaction data.
Base URL
https://zateway.com/api/v1
Authentication
API key via X-API-Key header
Format
JSON request & response bodies
Key Endpoints
Accept crypto in 3 steps
From zero to live payments in under five minutes.
Get your API key
Sign up and grab your API key from the Dashboard under Settings → API Keys. Your key starts with zate_live_.
Create a payment
Send a POST request to create a payment session. You'll receive a checkout URL to redirect your customer. Required fields: amount, currency, and chain. merchantWalletis optional when you've already configured a verified wallet in the dashboard.
curl -X POST https://zateway.com/api/v1/payments \ -H "X-API-Key: zate_live_..." \ -H "Content-Type: application/json" \ -d '{"amount": "50.00", "currency": "USDT", "chain": "polygon"}'Handle the webhook
Register a webhook URL in the Dashboard. We'll notify you when a payment is confirmed, failed, or expired.
Real-time event notifications
Subscribe to payment lifecycle events. Every webhook is signed with HMAC-SHA256 so you can verify authenticity.
Events
Signature Verification
Every webhook includes three headers for verification: X-Zateway-Signature (format: sha256=<hmac>), X-Zateway-Timestamp (unix seconds), and X-Zateway-Nonce (unique string). Compute the signature over the raw request body with HMAC-SHA256(secret, timestamp.nonce.raw_body).
Predictable error responses
All errors return a JSON object with a single error string field.
HTTP Status Codes
Retry-After header. See full rate limit table.Error Response Format
Ready to integrate?
Start building with Zateway today. Full API reference, guides, and support are just a click away.