Configuration
Configuring Binance Pay
- Log in to your Binance Merchant account and create an application to obtain your API Key and Secret Key.
- Set the Callback/Webhook URL in your Binance Pay settings to your Gulf GSM Pay webhook endpoint (see below).
- Paste the credentials into the Gulf GSM Pay admin panel → Settings → Payments (they are stored in your server environment, never in the database or code).
- Enable the Binance Pay payment method.
Your Binance Pay webhook URL is:
https://pay.gsmcool.online/webhook/binance-pay
Configuring USDT
- Create a USDT wallet on the TRC20 network and obtain your wallet address.
- Enter the wallet address and network in Admin → Settings → Payments.
- Choose your provider: Manual (confirm on-chain receipt manually) or a provider API.
Your USDT webhook URL is:
https://pay.gsmcool.online/webhook/usdt
Webhook security
- Binance Pay webhooks are verified using an HMAC-SHA512 signature over the raw body.
- Every webhook is processed idempotently — the same event is never applied twice.
- A licence is only activated after the gateway's server-side verification passes.
Testing payments
Use Binance Pay's sandbox/test mode while in development. Keep Binance Pay test mode enabled in the admin settings until you are ready to go live, then disable it and use production credentials.
💡 Tip: keep test mode on and run a small $1 payment to confirm the full flow end to end.