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

Place the order using gift card reservations

Confirms the user's agreement and places the order using the applied gift card reservations.

Required Fields:

  • agreement: Must be true. The user must explicitly accept the terms and conditions to proceed.

Validation:

  • agreement must be true; any other value returns a validation error

  • The basket total must be greater than zero

Backward Navigation:

  • Navigating backward returns to PaymentOptionSelectionPage

Next Pages:

  • ThankYouPage — after the order is successfully placed

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
agreementbooleanRequired

Must be true. The user must explicitly accept the terms and conditions to confirm the gift card payment. Any other value returns a validation error.

Example: true
Responses
200

Order placed or validation error returned

application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
post/orders/checkout/?page=GiftCardPaymentPage
POST /orders/checkout/?page=GiftCardPaymentPage 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

Order placed or validation error returned

{
  "context_list": [
    {
      "page_name": "GiftCardPaymentPage",
      "page_slug": "giftcardpaymentpage",
      "page_context": {}
    }
  ],
  "pre_order": {
    "user_email": "user@akinon.com",
    "order": {
      "pk": 6001,
      "number": "ORD-2026-0042",
      "status": "confirmed"
    },
    "number": "ORD-2026-0042",
    "total_amount": "100.00"
  },
  "errors": {},
  "template_name": "orders/checkout.html"
}

Last updated

Was this helpful?