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
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Primary key (pk) of the installment plan to select. Must reference an
active installment linked to the card resolved in SavedCardSelectionPage.
1Installment selected
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"Installment selected
{
"context_list": [
{
"page_name": "SavedCardConfirmationPage",
"page_slug": "savedcardconfirmationpage",
"page_context": {}
}
],
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

