Skip to content
Last updated

Response Codes

All the possible results of the request can be presented with the following codes:

CodeDescription
0Success
100Player account does not exist
101Invalid currency
102Player account blocked/inactive
103Insufficient funds
104Invalid player sessionToken
105Invalid credentials
106Duplicate transaction ID
107Game round closed
199Custom error
501Retry/cancel triggered

If the response code is not "0" (Success), the request is considered failed.

If the response code is "199" (Custom error), the request is considered failed. It will not be canceled/retried, the error dialog will be displayed. This error dialog will contain the text from the received "description" field as is (without translation).

If the response code is "501" (Retry / cancel triggered), the corresponding request is also considered failed but it will be retried (available for the Cancel and Credit requests only) or canceled (available for the Debit request only).

Important warning

RubyPlay doesn't process responses depending on the error codes from the table above (the exception is 501 code and it suitable for the Debit, Cancel, Credit requests only). All these Codes and Descriptions must be provided by the Operator just to be able to resolve possible issue on both sides.