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

Get Saved Card Confirmation Page context

Returns the context for the saved card payment confirmation step. No additional data is exposed at GET time; the page serves as the final confirmation before the payment transaction is initiated.

Preconditions:

  • Basket must not be empty.

  • The selected payment option must be a saved card type.

  • Card information must have been recorded.

  • An installment plan must have been selected.

  • A card must have been selected.

Page Context:

  • Returns an empty object {}. All required data was collected in previous steps.

Step Completion: This page is considered already completed when all of the following are true:

  • All previous saved card steps are complete, and

  • The order has been finalised or a 3D Secure redirect has been flagged.

available_for_post_order: false

get
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>)

Responses
200

Saved card confirmation page context retrieved

application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
get/orders/checkout/?page=SavedCardConfirmationPage
GET /orders/checkout/?page=SavedCardConfirmationPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
200

Saved card confirmation page context retrieved

{
  "context_list": [
    {
      "page_name": "SavedCardConfirmationPage",
      "page_slug": "savedcardconfirmationpage",
      "page_context": {}
    }
  ],
  "pre_order": {
    "basket": {
      "pk": 123,
      "total_amount": "150.00"
    },
    "installment": {
      "pk": 1,
      "installment_count": 1
    }
  },
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?