SDK Token Parameters
Request Parameters
service_command(String, mandatory)
Maximum Length | Possible/ expected values | Special Character | Description |
---|---|---|---|
20 | SDK_TOKEN | _ | Command |
access_code(alphanumeric, mandatory)
Maximum Length | Example | Description |
---|---|---|
20 | zx0IPmPy5jp1vAz8Kpg7 | Merchant access code that can be found in the backoffice |
merchant_identifier(alphanumeric, mandatory)
Maximum Length | Example | Description |
---|---|---|
20 | CycHZxVj | Merchant ID that can be found in the backoffice |
signature(alphanumeric, mandatory)
Maximum Length | Example | Description |
---|---|---|
200 | 7cad05f0212ed933c9a5d5dffa31661acf2c827a | A string hashed using the Secure Hash Algorithm. Please refer to section Signature |
language(String, mandatory)
Maximum Length | Possible/ expected values | Description |
---|---|---|
2 | en/ar | The checkout page and messages language where en is for english and ar for Arabic |
device_id(alphanumeric, mandatory)
Maximum Length | Example | Special characters | Description |
---|---|---|---|
100 | ffffffff-a9fa-0b44-7b27-29e70033c587 | _ - . @ + | A unique device identifier. |
Response Parameters
service_command(String)
Maximum Length | Possible/ expected values | Special Character | Description |
---|---|---|---|
20 | SDK_TOKEN | _ | Command |
access_code(alphanumeric)
Maximum Length | Example | Description |
---|---|---|
20 | zx0IPmPy5jp1vAz8Kpg7 | Merchant access code that can be found in the backoffice |
merchant_identifier(alphanumeric)
Maximum Length | Example | Description |
---|---|---|
20 | CycHZxVj | Merchant ID that can be found in the backoffice |
signature(alphanumeric)
Maximum Length | Example | Description |
---|---|---|
200 | 7cad05f0212ed933c9a5d5dffa31661acf2c827a | A string hashed using the Secure Hash Algorithm. Please refer to section Signature |
language(String)
Maximum Length | Possible/ expected values | Description |
---|---|---|
2 | en/ar | The checkout page and messages language where en is for english and ar for Arabic |
sdk_token(alphanumeric)
Maximum Length | Example | Description |
---|---|---|
100 | dwp78q3 | A unique device identifier. |
response_message(alphanumeric)
Maximum Length | Possible/Expected Values | Description |
---|---|---|
100 | Possible/ expected values: Please refer to section messages | Message description of the response code. It returns according to the request language. |
response_code(numeric)
Maximum Length | Possible/Expected Values | Description |
---|---|---|
5 | Response Code carries the value of our system’s response. *The code consists of five digits, the first 2 digits represent the response status, and the last 3 digits represent the response messages. | Message description of the response code. It returns according to the request language. |
status(numeric)
Maximum Length | Possible/Expected Values | Description |
---|---|---|
2 | Please refer to section statuses | A two-digit numeric value that indicates the status of the transaction. |
Every parameter the Merchant sends in the Request should be received by the Merchant in the Response -even the optional ones