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

Get MobilExpress Installment Selection Page context

Returns the list of available installment options for the selected MobilExpress card. Installment options are determined by the card type obtained from the BIN lookup.

Preconditions:

  • Basket must not be empty

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

  • A card must have been selected from the card list and BIN lookup must have been completed (check_card_selected)

Skip Conditions:

  • Page is skipped when pre_order.installment is already set (is_already_done).

Page Context:

  • installments: List of available installment plans for the selected card

  • installment_messages: List of informational messages from the installment service

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

Installment selection page context retrieved

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

Installment selection page context retrieved

{
  "context_list": [
    {
      "page_name": "MobilExpressInstallmentSelectionPage",
      "page_slug": "mobilexpressinstallmentselectionpage",
      "page_context": {
        "installments": [
          {
            "pk": 1,
            "installment_count": 1,
            "label": "Single Payment",
            "price_with_accrued_interest": "350.00",
            "monthly_price_with_accrued_interest": "350.00"
          },
          {
            "pk": 2,
            "installment_count": 3,
            "label": "3 Installments",
            "price_with_accrued_interest": "357.00",
            "monthly_price_with_accrued_interest": "119.00"
          }
        ],
        "installment_messages": [
          "Installments available for this card."
        ]
      }
    }
  ],
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?