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 Parameter

Type

Description

SessionID

string

The SessionId received from InitiateSession

Token

string

The token for the payment

TokenType

string

Specifies 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

SecurityCode

string

The 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"
  }
}