Docs Open Console

URL Rewrite

Serve checkouts, invoices, and payment pages under clean URLs on your own domain instead of query strings.

URL shapes#

Every buyer-facing surface has a clean path. The path prefix for each is configurable under Settings:

SurfaceDefault prefixExample
Saved checkout/checkout/https://pay.u.cash/checkout/donate
Invoice page/invoice/https://pay.u.cash/invoice/<encrypted-id>
One-off payment/pay/https://pay.u.cash/pay/<encrypted-id>

Without rewrites, the same pages answer on pay.php?checkout_id=, ?invoice=, and ?id= - the clean URLs redirect into the same handlers.

Custom prefixes#

Change any prefix to fit your brand or existing site structure (for example /pay//order/). Rules:

  • Keep a trailing slash convention - the prefix is matched as a path segment
  • Existing links embedding the old prefix keep working only if you keep the rewrite rules for them - treat a prefix change as a breaking change for links you have already shared
  • The encrypted-id segment is opaque and per-transaction; slugs for saved checkouts are yours to choose

Your own domain#

Clean URLs shine on a custom domain - checkouts served from https://pay.yourbrand.com/checkout/... with your logo and colors. See Custom Domain and White-Label for the full branded setup.