MG+ K2 Single Wallet API Integration Quick Guide
Breadcrumbs

MG+ K2 Single Wallet API Integration Quick Guide

Overview

This quick guide is designed to help operators understand the step-by-step process of executing our APIs. It provides instructions on how to successfully implement our most commonly used APIs and offers troubleshooting guidance for any API-related issues that may arise during the process.

Version Information

Version

Content

Publish Date

1.0.0

First version published.

1.1.0

Added MG Promotions.

1.2.0

Added FAQ section.

1.2.1

Updated IP for MG+ Single Wallet API.

1.2.2

Updated IP for MG+ Single Wallet API.

1.3.0

Added response codes, error status codes, retry rules and failed transaction sections. General edits to the documentation for spell check/grammar.

1.4.0

Formatting and content updates.

1.5.0

Added monitoring endpoint flowchart to Single Wallet Agent API Methods.

1.6.0

Updated the descriptions for the “Get a List of Failed Transactions” and “Patch Failed Transactions” API.

1.6.1

Updated the description for the “Get an STS Token” API, and updated the FAQ.

1.7.0

Updated Retry Rules section, and updated flow diagrams. Added Cryptocurrency Codes page.

1.7.1

Updated Failed Transactions Automatic Retry Mechanism intervals.

1.7.2

Updated Single Wallet Agent Login API and the Game Launch flow diagrams.

1.8.0

Added MG+ Promotions to the integration flow, updated Free Games flow diagram.

1.8.1

Conversion from Traditional Chinese into Simplified Chinese.


1.8.2

  • Added new page “Failed Transactions Handling”.

  • Edited content in the following pages:

    • Automatic Patching

    • Manual Patching

    • Failed Transactions

1.8.3

Updated “Sessions” page description to reflect reuse of operatorLoginToken.

MG+ Environment

The MG+ environment comprises of three main entities: Head Office, Master Agents, and Agents. A Head Office can manage multiple Master Agents, while Master Agents can manage multiple Agents.

Each Agent is assigned an API callback URL, a token, as well as an Agent Code ID and an API Secret Key.


Untitled Diagram-1694408254780.drawio.png


MG+ APIs

The MG+ Single Wallet API encompasses a range of common API methods that cover various functionalities. These include player creation, the generation of launch URLs, and the handling of failed transactions. For detailed instructions on utilizing these methods, please refer to the MG+ Single Wallet API Reference document or access the DevPortal .

The MG+ Single Wallet Agent API is for all wallet transactions sent to the operator. You can find comprehensive guidelines for implementing this API in the MG+ Agent Guide for Single Wallet Integrations document.


DocumentforSWReference.png