Esta documentação descreve como integrar com a API unificada da Stell Games. Ela centraliza jogos PG Soft, Blaze Double e Pragmatic Play.
Configure em seu painel ou sistema apenas a URL abaixo.
https://api.craftplayers.online
Nota: Esta API substitui URLs antigas como apipp.craftplayers.online.
Cria um novo agente no sistema.
{
"agentCode": "AGENTE_001",
"saldo": 1000,
"agentToken": "SEU_AGENT_TOKEN_NOVO",
"secretKey": "SUA_SECRET_KEY_NOVA",
"callbackurl": "https://seu-servidor.com/callback"
}
Consulta dados de um agente existente.
{
"agentToken": "SEU_AGENT_TOKEN",
"secretKey": "SUA_SECRET_KEY"
}
Atualiza as probabilidades e configurações RTP do agente.
{
"agentToken": "SEU_AGENT_TOKEN",
"secretKey": "SUA_SECRET_KEY",
"probganho": "0",
"probbonus": "0",
"probganhortp": "96.5",
"probganhoinfluencer": "98.0"
}
Endpoint único para iniciar sessões de jogos PG Soft, Blaze Double e Pragmatic Play.
Content-Type: application/json
| Campo | Tipo | Obrigatório | Descrição |
|---|---|---|---|
| agentToken | string | SIM | Token do agente. |
| secretKey | string | SIM | Chave secreta do agente. |
| user_code | string | SIM | ID único do usuário. |
| game_code | string | SIM | Código do jogo (ver lista abaixo). |
| provider_code | string | SIM | PG, BLAZE_DOUBLE ou PRAGMATIC. |
| user_balance | number | SIM | Saldo atual do usuário. |
| is_influencer | boolean | NÃO | Define se o usuário é influenciador (default: false). |
{
"agentToken": "seu_token",
"secretKey": "sua_chave",
"user_code": "user123",
"game_code": "fortune-tiger",
"provider_code": "PG",
"user_balance": 100.00,
"is_influencer": false
}
{
"status": 1,
"msg": "SUCCESS",
"launch_url": "https://api.craftplayers.online/126/index.html?...",
"user_code": "user123",
"user_balance": 100.00,
"user_created": true,
"currency": "BRL"
}
Caminho da rota: /pp/ (Adicione este caminho à Base URL)
Proxy reverso para operações diretas da API Pragmatic Play.
{
"method": "game_list",
"agent_code": "seu_codigo",
"agent_token": "seu_token",
"provider_code": "PRAGMATIC"
}
O sistema envia requisições POST para a callbackurl do agente a cada transação.
{
"agent_code": "seu_agent_code",
"agent_secret": "sua_secret_key",
"user_code": "user123",
"game_code": "fortune-tiger",
"type": "bet",
"amount": 2.00,
"user_balance": 98.00,
"transaction_id": "tx_123456"
}
| Nome do Jogo | Game Code | Provedor |
|---|---|---|
| Fortune Tiger | fortune-tiger | PG |
| Fortune Ox | fortune-ox | PG |
| Fortune Mouse | fortune-mouse | PG |
| Fortune Dragon | fortune-dragon | PG |
| Fortune Rabbit | fortune-rabbit | PG |
| Bikini Paradise | bikini-paradise | PG |
| Jungle Delight | jungle-delight | PG |
| Ganesha Gold | ganesha-gold | PG |
| Double Fortune | double-fortune | PG |
| Dragon Tiger Luck | dragon-tiger-luck | PG |
| Ninja Raccoon | ninja-raccoon | PG |
| Lucky Clover | lucky-clover | PG |
| Ultimate Striker | ultimate-striker | PG |
| Prosperity Fortune Tree | prosper-ftree | PG |
| Chicky Run | chicky-run | PG |
| Butterfly Blossom | butterfly-blossom | PG |
| Cash Mania | cash-mania | PG |
| Treasures of Aztec | treasures-aztec | PG |
| Ice & Fire | gdn-ice-fire | PG |
| Piggy Gold | piggy-gold | PG |
| Wild Bandito | wild-bandito | PG |
| Zombie Outbreak | zombie-outbreak | PG |
| Majestic TS | majestic-ts | PG |
| Thai River Wonders | thai-river | PG |
| Rise of Apollo | rise-apollo | PG |
| Wild Bounty Showdown | wild-bounty-sd | PG |
| Three Crazy Pigs | three-cz-pigs | PG |
| Fortune Snake | fortune-snake | PG |
| Blaze Double | blaze-double | BLAZE |