PlaceBetCancel

If a PlaceBet request timeout or partner system responded an error, a PlaceBetCancel request will send to partner system. The SimplePlay platform will treat it as bet failed and report to the player that his bet has been failed. Partner system must handle this request once and only once and must respond to our platform. In case you cannot find the previous transaction by the txn_reverse_id, you have to send us error = 0, else we will keep sending this request.

Parameters:
NameDescriptionType and LimitRequired?
usernameUsername of the userString (28)Y
currencyISO 3 characters e.g. USDString (16)Y
amountAmount to add back (decimal format and max. 2 decimal places)DecimalY
txnidA unique id for all fund transferString (16)Y
timestampTimestamp in yyyy-MM-dd HH:mm:ss.fff (GMT +8)
E.g. 2020-03-22 12:34:56.123
DateTimeY
gametypeGame type
slot - Slot Game
table - Table Game
multiplayer - Fishing Game
StringY
gamecodeGame code of the gameStringY
gameidGame IDStringY
txn_reverse_idPrevious txnid in PlaceBet request which the response was not received within 3 seconds or responded with an error.String (16)Y
Response parameters:
NameDescriptionType and LimitRequired?
usernameUsername of the userString (28)Y
currencyISO 3 characters e.g. USD. Except mXBTString (16)Y
amount Amount after adjustment (decimal format and max. 2 decimal places)DecimalY
errorError codeIntY

Leave a Reply