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 betrue. The user must explicitly accept the terms and conditions to proceed.
Validation:
agreementmust betrue; any other value returns a validation errorThe basket total must be greater than zero
Backward Navigation:
Navigating backward returns to
PaymentOptionSelectionPage
Next Pages:
ThankYouPage— after the order is successfully placed
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>)
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.
trueOrder placed or validation error returned
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"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?

