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

Get Saved Card 3D Secure Page context

Returns the redirect URL for the 3D Secure authentication flow. The customer is redirected to this URL to complete bank authentication before the payment is finalised.

Preconditions:

  • Basket must not be empty.

  • All previous saved card steps must be complete.

  • A 3D Secure redirect must have been flagged during the confirmation step.

  • An order number must have been assigned.

Page Context:

  • redirect_url: The URL the client must redirect the customer to in order to complete 3D Secure authentication with the bank.

Step Completion: This page is considered already completed when the order has been finalised.

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

3D Secure redirect URL retrieved

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

3D Secure redirect URL retrieved

{
  "context_list": [
    {
      "page_name": "SavedCardThreeDSecurePage",
      "page_slug": "savedcardthreedsecurepage",
      "page_context": {
        "redirect_url": "/orders/saved-card-redirect/"
      }
    }
  ],
  "errors": [],
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?