EN

Crypto payments for online casinos and betting: player deposits in crypto and winnings paid out through the API

8 min read

Crypto payments for online casinos and betting: player deposits in crypto and winnings paid out through the API

This article is for anyone building an online casino, a sportsbook, a poker room, crash games or a casino in a Telegram bot. Such a project has two money tasks: take a player's deposit and pay out winnings fast. The first one runs into refusals: card acquiring and many payment services don't onboard gambling, or ask for a licence and a business check. The second one runs into manual work: someone has to send the players' withdrawals.

At SnapEX Pay, gambling and betting are explicitly allowed by the merchant rules, there are no documents and no KYC for you or your players, and no country restrictions. But the rules on gambling, licences and taxes differ from country to country, and a crypto payment doesn't cancel them. Check with a lawyer what applies where you and your players are.

  • 1%fee per deposit, no monthly fee and no setup fee
  • 0KYC and KYB checks — for the casino and for players; no excluded countries
  • 0%service fee on payouts, network fee only; no holds and no reserves

What's allowed and what isn't

SnapEX Pay rules for merchants

Allowedall that isn't prohibited
  1. Gambling and bettingcasinos, sportsbooks, poker, crash games
  2. Adultpaid sites, fan platforms, dating
  3. Any online businesshosting, VPN, shops, games
Prohibitedaccount blocked
  1. Fraudphishing, fake shops
  2. Stolen goodsdata, accounts, cards
  3. Weapons, drugs, terrorismand the rest of the list

The full list is on the rules page. As long as you follow the rules, the account isn't blocked.

Our own casino, SnapEX Games, works the same way: its players' withdrawals go through the same SnapEX Pay merchant our clients use.

Step 1. Create a merchant account and an API key

  • Sign up at pay.snapex.pro: a login and a password are enough, email and Telegram are optional. No documents, no licence and no business check — neither at sign-up nor later.
  • In the dashboard, create an API key and add a webhook: it gets a signal about every deposit and every payout. Webhook signatures and retries are covered in the guide Crypto payment webhooks.
  • All requests and fields are in the Merchant API docs.

Step 2. Choose how players top up

  • For casinos

    A fixed address per player

    One request with the player's ID (customer_ref) returns an address that never changes. The player tops it up with any amount from the minimum (for USDT — $0.50), as many times as they like — each transfer is credited as a separate payment.

    Fits when players top up often and choose the amount themselves: no invoice expiry and no underpayments.

  • For set amounts

    An invoice per deposit

    The player picks an amount, your site or bot creates an invoice through the API, the player pays on the payment page in any of 70+ coins, and you get USDT.

    Fits when you need an exact amount or a wider choice of coins than fixed addresses offer.

Fixed addresses work for USDT on TRC20, ERC20, BEP20 and Polygon, USDC on Polygon, and BTC, LTC, ETH and TRX. A coin is credited in USDT at the rate at the moment the network confirms the transfer. Transfers below the address minimum aren't credited. Show the player the coin and the network next to the address: any other token sent to it isn't credited automatically — it can only be returned through support.

An invoice starts from $0.50 in USDT TRC20, ERC20, BEP20, and LTC, ETH and TRX; other coins appear in invoices from $8. If the player sent less than the invoice amount, they can top up the rest to the same address within 72 hours — more in the guide What happens when a customer sends less.

Step 3. Credit the deposit on a webhook

A deposit to a fixed address

Playersends USDT or a coin to their address
detectedseen on chain, waiting for confirmations
creditedon your balance in USDT
Player balanceyou credit credited_amount
  • The static_deposit.detected webhook arrives when the transfer is seen on chain. You can show it to the player as "deposit on the way", but the money isn't credited yet.
  • The static_deposit.credited webhook means the transfer is on your balance. Credit the player here and credit exactly credited_amount: that's the amount after the fee. You know the player by customer_ref.
  • Each transfer is credited once, and the API lists every address's transfers for reconciliation. A webhook is a signal: check the signature and re-read the payment through the API before important decisions.

Invoices work the same way, only the webhook is about the invoice being paid, and you find the player by your own order ID.

Step 4. Pay out winnings through the API

A player withdrawal

Requestthe player enters an address and an amount
Previewamount and network fee
Payoutfrom your USDT balance
completeda link to the transaction on the player's network
  • A payout is two requests: first the quote (POST /payouts/preview), then the execution (POST /payouts). Put the withdrawal request number in external_id — then one request can't be paid twice. If the connection drops, repeat the request with the same Idempotency-Key: you get the original payout back, no new one is created.
  • You can pay out in USDT or in another coin. There's no service fee, only the network fee; no upper limit, no holds and no reserves.
  • The minimum depends on the coin: from $0.50 for LTC, ETH, TRX and USDT ERC20, about $7.7 for USDT TRC20, $10 for the rest. The API returns the exact minimum in the payout_min_usd field.
  • The payout status arrives in payout.* webhooks. payout.sent and payout.completed carry a link to the transaction on the recipient's network — you can show it to the player right away.
  • Payouts through the API have their own request limit: 5 per minute and 30 per hour per key. Keep it in mind if you have many withdrawals per hour.

Step 5. Check everything in test mode

In the dashboard, switch the mode to Test and walk the player's path: create an invoice and pay it — the test payment confirms by itself in about 10 seconds, there's no money to send. Check that your site or bot received the webhook, checked the signature and credited the balance. Test invoices go through the same statuses and send the same webhooks, but never change the real balance. There's no test mode for payouts — make the first payout a small amount to your own address. How test mode works is covered in the guide How to test crypto payments without real money.

Checklist before launch

Before you open the cashier to players

  • Rules for merchants read, your project isn't prohibited there.
  • Deposits: fixed addresses or invoices decided, the coin and network shown next to the address.
  • Webhook checks the signature, and the player's balance grows only on credited.
  • Withdrawals: the request number goes into external_id, the limit of 5 payouts per minute is accounted for.
  • Cashback from SnapEX Games on the payment page: if you don't want your players to see it, turn it off in Shop settings.
  • Test: a Test-mode invoice paid and credited, the first real payout made for a small amount.
  • Laws: you've checked with a lawyer what's required in the countries where you and your players are.

Why crypto fits this niche

  • A transfer can't be pulled back. A crypto payment has no chargebacks: a player can't dispute a deposit through their bank after losing.
  • Players from any country. A player needs only a wallet or an exchange, and you get USDT on your balance either way.
  • Money doesn't sit idle. The balance is available right after crediting, with no holds or reserves — and you pay out winnings from it.

If you already have a payment provider, SnapEX Pay can be a second way to top up: it has its own balance and payouts, and players who prefer crypto get a way to pay.

Ready to accept crypto?

Create a merchant account and get an API key. 1% per payment, no monthly fee.

← All articles

$200 giveaway

To a random member.

Subscribe @snapex_pay