Get Gift Card OTP Page context
Returns the masked phone number and OTP expiry time for the pending gift card candidate. Displayed after GiftCardPage when the gateway required OTP verification during the balance check call.
Preconditions:
A pending gift card must exist in the session that requires OTP verification and has not yet been verified
Skip Conditions:
Page is skipped if the pending card's OTP has already been verified
Next Pages:
GiftCardApplyPage— after successful OTP verification
get
Header parameters
x-requested-withstring · enumRequiredDefault:
Required header for AJAX requests. Must be set to XMLHttpRequest for all checkout requests.
XMLHttpRequestPossible values: CookiestringOptional
Session cookie header (e.g. sessionid=abc123 or osessionid=<session_id>)
Responses
200
Gift Card OTP Page context retrieved
application/json
errorsone of · nullableOptional
or
string[]Optional
template_namestringOptional
get/orders/checkout/?page=GiftCardOtpPage
GET /orders/checkout/?page=GiftCardOtpPage HTTP/1.1
Host: sandbox.akinon.com
x-requested-with: XMLHttpRequest
Accept: */*
200
Gift Card OTP Page context retrieved
{
"context_list": [
{
"page_name": "GiftCardOtpPage",
"page_slug": "giftcardotppage",
"page_context": {
"card_number_masked": "****-****-****-3456",
"masked_phone": "+90 5** *** ** 78",
"otp_expires_at": "2026-04-28T12:05:00Z"
}
}
],
"pre_order": {
"user_email": "user@akinon.com"
},
"errors": [],
"template_name": "orders/checkout.html"
}PreviousApply the verified gift card as a reservation
NextVerify the OTP code for the pending gift card
Last updated
Was this helpful?

