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

Get Send Checkout URL SMS Page context

Returns the context for sending the checkout URL via SMS. This page is used when the customer does not have a QR code reader and cannot scan the barcode directly. An SMS with the checkout URL is sent instead. This is an independent page — submitting it does not advance the checkout flow.

Preconditions:

  • SMS must not have been sent within the cooldown period (check_is_sent_sms_before)

  • Request must originate from an in-store client (check_client_type_is_instore)

Difference from SendBarcodeSmsPage:

  • SendBarcodeSmsPage sends a direct link to the barcode image

  • SendCheckoutUrlSmsPage sends the checkout URL with an authentication token, allowing the customer to continue the checkout on their own device

Page Context: Returns an empty page context.

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

Send checkout URL SMS page context retrieved

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

Send checkout URL SMS page context retrieved

{
  "context_list": [
    {
      "page_name": "SendCheckoutUrlSmsPage",
      "page_slug": "sendcheckouturlsmspage",
      "page_context": {}
    }
  ]
}

Last updated

Was this helpful?