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

Submit phone number to receive MobilExpress OTP

Sends an OTP to the provided phone number via the MobilExpress gateway (send_otp_for_card_list). On success, the flow advances to the OTP entry page.

Required Fields:

  • phone_number: Recipient phone number. Must be exactly 10 characters.

State Changes:

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

  • pre_order.data['me_phone_number'] is set to the submitted phone number

  • Forward MobilExpress data (me_otp_valid, me_card_token, etc.) is cleared

Next Page: MobilExpressCardFoundOtpRequiredOtpPage

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
phone_numberstring · min: 10 · max: 10Required

Recipient phone number for the OTP SMS. Must be exactly 10 characters.

Example: 5551234567
Responses
200

OTP phone submission result

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

"phone_number='5551234567'"
200

OTP phone submission result

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

Last updated

Was this helpful?