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.