Guides

UpdateSession

Introduction

You will be using this endpoint to add a token to a SessionID created using the InitiateSession endpoint.

The endpoint on Swagger is Payment UpdateSession

Input ParameterTypeDescription
SessionIDstringThe SessionId received from InitiateSession
TokenstringThe token for the payment
TokenTypestringSpecifies the type of the token used
mftoken: Tokenized Embedded Payment
applepay: Token for Apple Pay
googlepay: Token for Google Pay
samsungpay: Token for Samsung Pay
SecurityCodestringThe security code of the tokenized card

Tokenized Embedded Payment

{
  "SessionId": "5d4d46de-b23c-4717-9457-6bea5d60e476",
  "Token": "Token0505121801530150",
  "TokenType": "mftoken",
  "SecurityCode": "321"
}
{
  "IsSuccess": true,
  "Message": null,
  "ValidationErrors": null,
  "Data": {
    "SessionId": "5d4d46de-b23c-4717-9457-6bea5d60e476",
    "CountryCode": "KWT"
  }
}