Developers

Accept crypto with the Zeps API

Create an order on your server, send the customer to the Zeps hosted checkout, and get a callback when the payment status changes. No crypto handling on your side.

The Zeps API is in early access. Endpoint names and fields below show the integration flow; the full reference and API keys are issued with your account.

1. Get your API keys

Each account has a sandbox key for testing and a live key for real payments. Keep keys on your server and never expose them in browser code.

2. Create an order

Send the amount in your own currency. Zeps shows the customer the exact crypto amount at a locked rate.

curl -X POST https://api.zeps.com/v1/orders \
-H "Authorization: Bearer YOUR_API_KEY" \
-d price_amount=249.00 \
-d price_currency=USD \
-d receive_currency=USDC \
-d order_id=10482 \
-d callback_url=https://yourstore.com/zeps/callback \
-d success_url=https://yourstore.com/thanks

The response includes the order ID and a payment URL:

{
"id": "ord_8f2a71c9",
"status": "new",
"payment_url": "https://pay.zeps.com/i/8f2a71c9"
}

3. Redirect to checkout

Send the customer to payment_url. They choose a coin and network, scan the QR code and pay. When the payment completes they return to your success_url.

4. Handle the callback

Zeps sends a POST to your callback_url every time the order status changes. Before fulfilling an order, fetch it again by ID from the API to confirm the status.

{
"id": "ord_8f2a71c9",
"order_id": "10482",
"status": "paid",
"price_amount": "249.00",
"price_currency": "USD",
"pay_amount": "249.00",
"pay_currency": "USDT",
"receive_currency": "USDC"
}

Payment statuses

newOrder created; the customer hasn’t chosen a coin yet.
pendingThe customer chose a coin; waiting for the transaction.
confirmingTransaction seen on the blockchain; waiting for confirmations.
paidPayment confirmed. Safe to fulfill the order.
invalidUnderpaid or otherwise rejected; review it in the dashboard.
expiredNo payment arrived before the rate lock ended.
refundedAll or part of the payment was refunded to the customer.

5. Test, then go live

Run the full flow with your sandbox key and test payments, then switch to your live key. Using WooCommerce or WHMCS? Install the WooCommerce or WHMCS plugin instead of writing code.