HTML Mode Pages

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.

post/v3/pages/{page_unique_id}/checkout/summary

Request body

payment_methodstring
discount_code_codestring nullable

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

Example request

{
  "items": [
    {
      "type": "product",
      "variant_unique_id": "variant_x7f2a9",
      "bundle_price_option_unique_id": "bundle_price_option_p4k8q2",
      "quantity": 1
    }
  ],
  "destination": {
    "address": "Jl. Kopi No. 1",
    "postal_code": "10510"
  },
  "payment_method": "bank_transfer",
  "shipping_option": {
    "courier_code": "jne",
    "service_code": "REG",
    "name": "Regular"
  }
}

Response

HTML Mode checkout summary

other_income_namestring nullable required

Changes

Changed in 2 of the 4 revisions of this API.4

    • added the new optional request property /

      new-optional-request-property

    • added the required property to the response with the status

      response-required-property-added

    • added to the response property allOf list for the response status

      response-property-all-of-added

    • removed subschema #1 subschema #2 from the response property oneOf list for the response status

      response-property-one-of-removed