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

Confirm and place pay-later order

Submits the final agreement and places the pay-later order. The customer must accept the terms and conditions; once accepted, the order is finalised immediately without a payment transaction.

Required Fields:

  • agreement: Must be true.

Backward Navigation:

  • No state is reset on backward navigation.

Next Page:

  • ThankYouPage

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
agreementboolean · enumRequired

Acceptance of the terms and conditions. Must be true to place the pay-later order.

Possible values:
Responses
200

Pay-later order placed

application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
post/orders/checkout/?page=PayLaterCompletePage
POST /orders/checkout/?page=PayLaterCompletePage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 18

"agreement=true"
200

Pay-later order placed

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

Last updated

Was this helpful?