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

Select a MobilExpress installment plan

Records the chosen installment plan on the pre-order.

Required Fields:

  • installment: Primary key of the Installment record to use. Must be an active installment option linked to the selected card.

State Changes:

  • pre_order.installment is set to the selected Installment instance

  • pre_order.selected_campaign, pre_order.selected_rewards, and pre_order.payment_choice are reset to null

  • Forward payment data (me_payment_tried, etc.) is cleared

Next Page: MobilExpressTryPaymentPage

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
installmentintegerRequired

Primary key of the Installment record to use. Must be an active installment option linked to the selected card type.

Example: 1
Responses
200

Installment selection result

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

"installment=1"
200

Installment selection result

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

Last updated

Was this helpful?