Resolve Timed Out TX

โœ… Command 31 โ€“ Mark a Timed-Out Transaction as Resolved

This endpoint is used to manually mark a timed-out or reattempted transaction as resolved, ensuring that RGS-CWS does not retry or cancel it again.

Use this function when your system has already processed a transaction outside the standard flow, and you want to prevent additional retries from our server.


๐Ÿ“œ Sample JSON Request (from your server to the RGS-CWS server)

{ "command": "resolvetx", "original_uniqid": "TX123456abcdef" , "apiusername": "aaaaaa" , "apipass": "qwrqwrq" }

๐Ÿ” Note: All field names and values are case-sensitive.


๐Ÿ“ฅ Input Parameters

Parameter

Mandatory

Description

Type

*command

โœ…

Must be "31" or "resolvetx"

string

*original_uniqid

โœ…

The uniqid of the transaction to resolve (from List TimedOut Bets or Wins)

string

login

โœ…

Username (required unless userid is used)

string

userid

โŒ

RGS-CWS internal user ID (alternative to login, cannot be used together with it)

string

gameid

โŒ

(Optional) Game ID associated with the transaction

string

freespins_id

โŒ

(Optional) Freespin session ID if the transaction was related to freespins

string

You must send either login or userid, not both.


๐Ÿ“ƒ Sample JSON Responses (from RGS-CWS)

โœ… Success:

{ "status": "OK" }

โŒ Failure (e.g., invalid input):

{ "status": "ERROR", "message": "You cannot cancel" }

๐Ÿ“ค Output Parameters

Parameter

Required

Description

Type

status

โœ…

"OK" for success, or "ERROR" for failure

string

message

โŒ

Optional error description if status is "ERROR"

string


โœ… Operator Notes

  • This is a manual override tool โ€” only use it after your platform has confirmed that the transaction is finalized.

  • Particularly useful when your system processed a transaction late (e.g., via cronjob) and you want to avoid retry or cancellation from RGS-CWS.

  • Always retrieve the original uniqid via Command 27 (List TimedOut Bets) or Command 28 (List TimedOut Wins).

  • Use this command if you are not relying on automatic cancel mechanisms (cronjobs set by RGS-CWS) and want to take full control of transaction finalization.