Shan Koe Mee Integration

သင့် website / platform မှ Shan Koe Mee ကို ချိတ်ဆက်ရန် API နှင့် callback spec။ လက်ခံရရှိသော system_key / secret_key ဖြင့် အောက်ပါ API များကို ခေါ်ပါ။

1. Launch

Player အတွက် signed launch → game_url ရယူပြီး ဖွင့်ပေးပါ။

2. Catalog

/games နှင့် /rooms ဖြင့် game / room list ရယူပါ။

3. Wallet callbacks

သင့် balance_url / callback_url တွင် balance / bet / win လက်ခံပါ။

4. Betslip

Wager history နှင့် betslip view URL ရယူနိုင်သည်။

သင့်ဘက် လုပ်ရမည့် အဆင့်များ

  1. Sign — MD5 sign ကို သင့် backend မှ ထုတ်ပါ (Authentication)။
  2. Callbacks — balance / bet / win endpoints implement လုပ်ပါ။
  3. Launch — Player ကစားမည်ဆို POST /launch ခေါ်ပြီး game_url သို့ redirect / iframe။
  4. Catalog (optional) — UI အတွက် games / rooms list ခေါ်ပါ။
  5. Reports (optional) — betslip / daily / monthly ဖြင့် reconcile လုပ်ပါ။

Base URL

https://backend.shanboss.com/api/provider/v1

Response Format

{
  "status": 0,
  "message": "OK",
  "data": { ... }
}

status === 0 ဆိုလျှင် success။