Sending a /getSessionToken

Send the /getSessionToken request with its mandatory parameters.

When calculating the checksum parameter value:

  1. Concatenate the following fields in this order, with no spaces, and no separators between the fields:
    merchantId, merchantSiteId,clientRequestId,timeStamp, merchantSecretKey
  2. Calculate the SHA-256 hash of the concatenated fields.
Example /getSessionToken Request
  "merchantId":"<your merchantId>",
  "merchantSiteId":"<your merchantSiteId>",
  "clientRequestId":"<unique request ID in merchant system>",
  "checksum":"<calculated checksum>"
Example /getSessionToken Response

The response returns a sessionToken, which is used in sending the /payment request.