# 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.

| Key | Required | Who uses it |
|---|---|---|
| `terms` | yes | Linked inside the checkout |
| `checkout` | yes | Where the checkout snippet is rendered |
| `confirmation` | yes | Browser redirect after purchase. `{checkout.order.id}` is substituted |
| `push` | yes | Server-to-server after purchase |
| `validation` | no | Server-to-server just before purchase |
| `address_update`, `country_change` | no | Server-to-server when the customer changes address or country. Return updated lines and shipping |
| `shipping_address_update` | no | An older name for `address_update`, used only when that's absent |
| `shipping_option_update` | no | Server-to-server when the shipping option changes |
| `notification` | no | Pending-order status changes |
| `upsell`, `upsell_validation`, `upsell_notification` | no | Server-to-server around confirmation-page upsell |
| `cancellation_terms` | no | Linked inside the checkout, beside `terms` |

See [Server-side callbacks](/checkout/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.

## The terms in the checkout

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](/checkout/checkout-options/#custom-checkboxes).

## Next steps

- [Confirm the order](/checkout/integrate/confirmation-and-push/) — the `confirmation` and `push` URLs in action.
- [Handle callbacks](/checkout/integrate/validation-callback/) — the `validation` URL in action.
