Compute an HTML Mode checkout summary

Page-scoped public endpoint used by Scalev.checkout.estimateSummary(payload). It accepts HTML Mode items, destination, payment_method, shipping_option, and an optional discount_code_code. It recomputes shipping and applies backend-owned Other Income and service fees for display. The current Store settings are the authoritative customer-fee policy; clients do not submit that policy or a fee confirmation ID.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Public page unique ID.

Body Params

HTML Mode checkout summary payload. Pass the option returned by shippingOptions as shipping_option when the checkout contains physical items.

items
array of objects
length ≥ 1
items
destination
object

Buyer destination submitted by an HTML Mode page.

string
shipping_option
object
string | null

Optional discount code to revalidate and apply to this preview. Ineligible codes contribute zero discount.

Headers
string
required

Publishable page public API key for the page_unique_id path page. Storefront public API keys are not accepted on page-scoped public routes.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json