Get BKM Express Installment Selection Page context
Returns the available installment options for the BKM Express payment. Installment options are determined by the card identified in the previous step (BexBinNumberPage).
Preconditions:
Basket must not be empty
Card info must have been entered (
pre_order.card_infomust be set, i.e.,BexBinNumberPagemust have been completed)
Page Context:
installments: List of available installment options for the resolved card. Each entry containspk,installment_count,label,price_with_accrued_interest, andmonthly_price_with_accrued_interestcalculated against the current unpaid basket amount.card_type: Card type details (name,slug,logo), derived frompre_order.card_info.card.card_type.installment_messages: List of informational strings returned byInstallmentService(e.g., filter messages or promotion notices).
Installment Filtering:
InstallmentService.get_pre_order_installments()is called, which applies theINSTALLMENT_FILTERSdynamic setting rules before returning the list.
available_for_post_order: true
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>)
BKM Express installment selection page context retrieved
GET /orders/checkout/?page=BexInstallmentSelectionPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
BKM Express installment selection page context retrieved
{
"context_list": [
{
"page_name": "BexInstallmentSelectionPage",
"page_slug": "bexinstallmentselectionpage",
"page_context": {
"installments": [
{
"pk": 1,
"installment_count": 1,
"label": "Single Payment",
"price_with_accrued_interest": "159.99",
"monthly_price_with_accrued_interest": "159.99"
},
{
"pk": 2,
"installment_count": 3,
"label": "3 Installments",
"price_with_accrued_interest": "165.59",
"monthly_price_with_accrued_interest": "55.20"
}
],
"card_type": {
"name": "Visa",
"slug": "visa",
"logo": "https://cdn.akinon.com/logos/visa.png"
},
"installment_messages": []
}
}
],
"pre_order": {
"basket": {
"pk": 123,
"total_amount": "150.00"
},
"payment_option": {
"pk": 5,
"name": "BKM Express",
"slug": "bkm-express",
"payment_type": "bkm_express",
"payment_type_label": "BKM Express"
},
"number": "ORD-2026-0001",
"card_info": {
"bin_number": "542119",
"card": {
"pk": 1,
"name": "Visa"
}
},
"installment": null,
"total_amount": "159.99",
"currency_type_label": "TRY"
},
"errors": [],
"template_name": "orders/checkout.html"
}Last updated
Was this helpful?

