Checkout shopper access

Get delivery options

Use the shopper access token, never the backend API token. The Pango iframe supplies the verified merchant origin. Requests do not use cookies or an admin session. Returns checkout options and selection without cart, recipient, payment-lock, or order details.

get/api/checkout-widget/v1/checkouts/{token}

Request

  • Base URL: http://localhost
  • URL: http://localhost/api/checkout-widget/v1/checkouts/{token}
  • Auth: HTTP bearer

Headers

X-Pango-Parent-Originstring uri required
Originstring uri

Pango iframe origin. Send the merchant origin separately in X-Pango-Parent-Origin. Same-origin GET requests may omit Origin.

Response

Example response

{
  "data": {
    "checkout_token": "chk_example",
    "status": "open",
    "revision": 2,
    "currency": "SEK",
    "locale": "en",
    "ready": true,
    "expires_at": "2026-09-14T12:00:00+00:00",
    "quote": {
      "id": "quote_example",
      "expires_at": "2026-09-13T12:15:00+00:00",
      "options": [
        {
          "id": "option_example",
          "name": "Configured home delivery",
          "description": null,
          "amount_minor": 4900,
          "currency": "SEK",
          "delivery_type": "home",
          "preview": false,
          "carrier": {
            "name": "Configured carrier",
            "logo_url": null
          },
          "estimated_delivery": null,
          "badges": [
            "recommended"
          ],
          "service_points": [],
          "pickup_locations": []
        }
      ]
    },
    "selection": {
      "quote_id": "quote_example",
      "option_id": "option_example",
      "service_point_id": null,
      "pickup_location_id": null
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.