Integration
Mangoplay offers agents two integration options: Seamless Mode and Transfer Mode.
Integration Mode
Seamless
In Seamless Mode, the credit wallet is managed within the agent's system. The Mangoplay system will generate events that notify the agent's system when users perform actions such as placing bets, voiding bills, or when bills are settled or voided.
The following webhooks are required to integrate with our system through the open api:
- Create player : Our system allow you to create the player
- Play game : Our system will generate the URL with token to play the game
- Sign out : Our system allow you to terminate the session of your users
- Edit Password : Our system allow you able to update the player password
- Edit Player Status : Our system allow you able to update the player status
In Seamless Mode you also expose a callback endpoint that Mangoplay calls for every bet and every settlement. The contract for that endpoint, including idempotency and retry behaviour, is documented on the Wallet Callback page — please read it before you start building.
For more details please visit : Agent API Docs
Transfer
In Transfer Mode, the credit wallet is managed by the Mangoplay system. Agents are required to adjust user credits by interacting with the Mangoplay API, which is used for both credit deposits and withdrawals.
The following API endpoint must be called to integrate with our system:
- Create player : Our system allow you to create the player
- Play game : Our system will generate the URL with token to play the game
- Sign out : Our system allow you to terminate the session of your users
- Edit Password : Our system allow you able to update the player password
- Edit Player Status : Our system allow you able to update the player status
- Edit Player bet limit : Our system allow you able to update the player bet limit
- Deposit player credit : Our system allow you able to deposit the player credits
- Withdraw player credit : Our system allow you able to withdraw the player credits
For more details please visit : Agent API Docs
Webhook
We also provide you with a webhook testing tool through Swagger, ensuring that our platform is compatible with your system. please visit : Webhook Swagger
Reconciliation
Network timeouts happen. When a bill ends up in a different state on your side than on ours — a bet showing as failed although you debited it, or a settle still pending although the round is over — you can inspect and close it yourself with the Reconciliation APIs rather than raising a ticket:
- betInfo : shows the bet, its settle status, and the last request/response we exchanged with you for that deal
- reSettle : flips a bet we marked failed to success and settles it, idempotently
For more details please visit : Agent API Docs