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

Select installment plan for saved card payment

Submits the selected installment plan for the saved card transaction. The installment must be active and linked to the card resolved in SavedCardSelectionPage.

Required Fields:

  • installment: Primary key of the installment plan to select.

Validation:

  • The installment must be active and associated with the resolved card.

Next Page:

  • SavedCardConfirmationPage

available_for_post_order: false

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 (pk) of the installment plan to select. Must reference an active installment linked to the card resolved in SavedCardSelectionPage.

Example: 1
Responses
200

Installment selected

application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
post/orders/checkout/?page=SavedCardInstallmentSelectionPage
POST /orders/checkout/?page=SavedCardInstallmentSelectionPage 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 selected

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

Last updated

Was this helpful?