5. In Game Transaction Call:The operator wallet must support real‑time transaction handling initiated by the game platform. The following transaction types are mandatory. Primarily there would be 4 transaction types.[Text Wrapping Break]
5) Purchase (Optional) - similar to Place Bet Supported Protocols:
Additional formats can be supported based on requirements. Endpoints, request type, request body, request format has to be provided by operator along with encryption and security measures needed. 5.1 Balance FetchTriggered during game initialization to retrieve the player’s current balance. <font color="#ffffff">{
HOST: "....",
TYPE: "GET|POST",
ENDPOINT: "..."
} </font>This api fetches player balance, expected response would be <font color="#ffffff">{
balance: Integer,
currency: String
}</font>5.2 Deduct BetInvoked when a player places a bet or performs an in‑game purchase. <font color="#ffffff">{
HOST: "....",
TYPE: "GET|POST",
ENDPOINT: "...",
BODY OR PARAMS: "...",
} </font>This api deducts the required bet amount like rummy table fee, slot bet etc, expected response would be <font color="#ffffff">{
balance: Integer, // updated balance
currency: String
transactionId: String
} </font>5.3 Award WinningsCalled when a player wins and the amount is credited to their account. <font color="#ffffff">{
HOST: "....",
TYPE: "GET|POST",
ENDPOINT: "...",
BODY OR PARAMS: "...",
} </font>This api awards the winning amount of the game to the player balance, expected response would be <font color="#ffffff">{
balance: Integer, // updated balance
currency: String
transactionId: String
}
</font>5.4 RefundTo process a refund we call this api <font color="#ffffff">{
HOST: "....",
TYPE: "GET|POST",
ENDPOINT: "...",
BODY OR PARAMS: "...",
} </font>This api refunds the player bet or in-game purchases, expected response would be <font color="#ffffff">{
balance: Integer, // updated balance
currency: String
transactionId: String
} </font>5.5 Purchase (Optional)To process a purchase like in-game item, game feature etc we call this api <font color="#ffffff">{
HOST: "....",
TYPE: "GET|POST",
ENDPOINT: "...",
BODY OR PARAMS: "...",
} </font>This api performs purchase, similar to place bet, expected response would be <font color="#ffffff">{
balance: Integer, // updated balance
currency: String
transactionId: String
} </font> |