Skip to content

Checkout URLs and callbacks

Configure required and optional merchant_urls for Kustom Checkout, including HTTPS callback endpoints and links to your terms.

merchant_urls defines your checkout pages and callback endpoints. Four URLs are required. Use https:// for every URL.

KeyRequiredWho uses it
termsyesLinked inside the checkout
checkoutyesWhere the checkout snippet is rendered
confirmationyesBrowser redirect after purchase. {checkout.order.id} is substituted
pushyesServer-to-server after purchase
validationnoServer-to-server just before purchase
address_update, country_changenoServer-to-server when the customer changes address or country. Return updated lines and shipping
shipping_address_updatenoAn older name for address_update, used only when that’s absent
shipping_option_updatenoServer-to-server when the shipping option changes
notificationnoPending-order status changes
upsell, upsell_validation, upsell_notificationnoServer-to-server around confirmation-page upsell
cancellation_termsnoLinked inside the checkout, beside terms

See Server-side callbacks for request and response formats.

The live demos preserve any https:// URL you supply. They replace missing or non-HTTPS values with the docs’ endpoints.

Set terms to your own HTTPS terms page. Below Pay order, Kustom displays your merchant name and terms link alongside Kustom’s terms of use and privacy notice. Kustom localizes its two documents for the billing country and locale.

cancellation_terms takes a URL to your cancellation terms. It’s appended to the merchant terms and updates the Right to Withdrawal link.

For explicit consent, use a required checkbox above Pay order. See Custom checkboxes.

This page is also available as Markdown — append .md to its URL — and is indexed in llms.txt.