Skip to main content

Structure

State codes

A state code is a 4 digit number that stores information about a request. It allows you to tell whether a certain request was successful or unsuccessful, and in some cases, what kind of action was taken. State codes can be decoded in the following way: 2011
  • **20 - **tells what kind of method was executed (eg. activate, deactivate). here it is activation.
  • 1 - tells if the request was successful or unsuccessful. here, it is successful.
  • 1 - is an optional digit that gives additional information about the request. (usually zero)

The first 2 digits

The 3rd digit (success or failure)

Optional digit (4th)

At the moment, activation (20**), key generation (30**) and optional field (40**) provide an optional digit with more information about the request.