Developer Documentation v2.0

Game Voucher Reseller API

Automate your game top-up business with our lightning-fast B2B API. We provide a single integration point for Smile One Codes, Mobile Legends, PUBG Mobile, and Honor of Kings.

Instant Fulfillment

Orders are processed and delivered in under a second directly to the player's account.

HMAC Security

Bank-level HMAC-SHA256 request signing ensures your wallet balance is fully protected.

Simple REST JSON

Standardized JSON endpoints with clear error codes make integration a breeze in any language.

Authentication Overview

The Smile Code Global API uses HMAC-SHA256 signatures to authenticate requests. This ensures that even if your request is intercepted, it cannot be modified or replayed.

Every API request must include the following headers:

  • X-Client-Id - Your unique reseller Client ID
  • X-Timestamp - The current UNIX timestamp
  • X-Nonce - A random unique string for this request
  • X-Signature - The HMAC-SHA256 signature of the payload, timestamp, and nonce

Available Endpoints

1. Check Wallet Balance

Returns your current available wholesale balance.

POST https://www.smilecode.in/api/v2/smilecode_service/wallet_balance

2. List Products

Retrieve the catalog of supported games and top-up types.

POST https://www.smilecode.in/api/v2/smilecode_service/products_list

3. Check Player ID

Validate a player's Game ID (and Zone ID) before placing an order to prevent failed top-ups.

POST https://www.smilecode.in/api/v2/smilecode_service/check_id

Required payload: product_id, user_id, zone_id

4. Create Order

Place a live top-up order. The cost will be deducted from your wallet balance.

POST https://www.smilecode.in/api/v2/smilecode_service/create_order

Required payload: product_id, sku, user_id, zone_id, client_order_id


Ready to integrate?

Register a reseller account to access your live API keys and our interactive API testing console.

Create Reseller Account