MG+ K2 Single Wallet API Integration Quick Guide
Breadcrumbs

Single Wallet Agent API Methods

For all wallet transactions, MG+ uses the following four methods:

Login

Used to log in players, called at the start of game launch.

image-20240617-085252.png


Getbalance

Used to return the player’s current balance. This can be called at any time during game play.

image-20231004-060218.png


Updatebalance

Used to update the player’s wallet for gameplay (online) and for promotion cash payouts (offline). txnType is either DEBIT or CREDIT. The txnEventType defines which event the balance update is coming from.

image-20231004-060240.png


Rollback

Used as a mechanism to rollback a transaction.

image-20231004-060305.png


Monitor

Enables MG+ to detect any network issues between MG+ and the operators' application.

image-20231116-033031.png