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 ရယူနိုင်သည်။
သင့်ဘက် လုပ်ရမည့် အဆင့်များ
- Sign — MD5 sign ကို သင့် backend မှ ထုတ်ပါ (Authentication)။
- Callbacks —
balance/bet/winendpoints implement လုပ်ပါ။ - Launch — Player ကစားမည်ဆို
POST /launchခေါ်ပြီးgame_urlသို့ redirect / iframe။ - Catalog (optional) — UI အတွက် games / rooms list ခေါ်ပါ။
- 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။