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

Confirm MobilExpress card-list lookup

Triggers a card-list lookup on the MobilExpress gateway for the current user. Based on the gateway response, the flow proceeds to the OTP phone entry page (if OTP is required) or directly to the card list page.

Required Fields:

  • clear: Set to true to cancel the MobilExpress flow and clear all stored MobilExpress data from the pre-order. Set to false (default) to proceed.

State Changes (when clear is false):

  • pre_order.number is assigned

  • pre_order.data['me_user_checked'] is set to true

  • pre_order.data['me_needs_otp'] is set based on the gateway's otp_required flag

  • Forward MobilExpress data (me_otp_sent, me_phone_number, etc.) is cleared

State Changes (when clear is true):

  • All me_* keys are removed from pre_order.data

Next Page:

  • MobilExpressCardFoundOtpRequiredPhonePage — when me_needs_otp is true

  • MobilExpressCardListPage — otherwise

post
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>)

Body
clearbooleanOptional

Set to true to cancel the MobilExpress flow and clear all stored MobilExpress data from the pre-order. Set to false (default) to proceed with the card-list lookup.

Default: false
Responses
200

MobilExpress selection processed

application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
post/orders/checkout/?page=MobilExpressSelectionPage
POST /orders/checkout/?page=MobilExpressSelectionPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 15

"clear=false"
200

MobilExpress selection processed

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

Last updated

Was this helpful?