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

Get MobilExpress Payment Complete OTP Page context

Returns the context for the OTP completion step after the initial payment attempt returned ResultCode: OTPRequired.

Preconditions:

  • Basket must not be empty

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

  • Initial payment attempt must have returned OTPRequired as the result code (check_needs_otp)

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 completion page context retrieved

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

OTP completion page context retrieved

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

Last updated

Was this helpful?