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

Submit Cash Register Installment Selection

Submits the installment selection for the cash register payment. Exactly one of installment or no_installment must be provided.

Required Fields (mutually exclusive — exactly one must be submitted):

  • installment: Primary key of the selected installment option

  • no_installment: Explicit confirmation to proceed without installment (true)

Validation Rules:

  • Providing both installment and no_installment is invalid

  • Providing neither installment nor no_installment is invalid

  • The installment pk must reference an active installment record

Navigation After Success:

  • Routes to CashRegisterCompletePage

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
installmentintegerOptional

Primary key of the selected installment option. Must reference an active installment record. Mutually exclusive with no_installment — exactly one must be provided.

no_installmentboolean · enumOptional

Explicit confirmation to proceed without installment. Must be true when provided. Mutually exclusive with installment — exactly one must be provided.

Possible values:
Responses
200

Installment selection submitted successfully

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

"installment=10"
{
  "context_list": [
    {
      "page_name": "CashRegisterCompletePage"
    }
  ],
  "errors": {}
}

Last updated

Was this helpful?