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

Get MobilExpress OTP Phone Entry Page context

Returns the context for the phone number entry step when the MobilExpress gateway requires OTP verification before returning the card list.

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)

Page Context:

  • phone_number: The user's phone number pre-filled from pre_order.user.phone

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 phone entry page context retrieved

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

OTP phone entry page context retrieved

{
  "context_list": [
    {
      "page_name": "MobilExpressCardFoundOtpRequiredPhonePage",
      "page_slug": "mobilexpresscardfoundotprequiredphonepage",
      "page_context": {
        "phone_number": "+905551234567"
      }
    }
  ],
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?