For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get MobilExpress OTP Entry Page context

Returns the context for the OTP entry step. The user enters the code that was sent to their phone on MobilExpressCardFoundOtpRequiredPhonePage.

Preconditions:

  • Basket must not be empty

  • Payment option must be selected and must be MobilExpress type (check_mobilexpress_payment_selected)

  • MobilExpressSelectionPage must have been completed and the MobilExpress gateway must have indicated that OTP verification is required to retrieve the card list (check_need_otp)

  • OTP SMS must have been sent and phone number must have been recorded (check_otp_sent)

Page Context: (empty)

get
Header parameters
x-requested-withstring · enumRequired

Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.

Default: XMLHttpRequestPossible values:
CookiestringOptional

Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)

Responses
200

OTP entry page context retrieved

application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
get/orders/checkout/?page=MobilExpressCardFoundOtpRequiredOtpPage
GET /orders/checkout/?page=MobilExpressCardFoundOtpRequiredOtpPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
200

OTP entry page context retrieved

{
  "context_list": [
    {
      "page_name": "MobilExpressCardFoundOtpRequiredOtpPage",
      "page_slug": "mobilexpresscardfoundotprequiredotppage",
      "page_context": {}
    }
  ],
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?