Check email availability
Request body
Response
Check subscription at location
Query parameters
Pass one of the two (there is no provider parameter):Response
has_active_subscription: true means the location already has an active subscription — your checkout UI should show an error or redirect.
Validate discount code
Request body
Response — 200 OK (valid)
Response — 200 OK (invalid)
error is free text (e.g. "Plan version not found", "Invalid or expired discount code").
Discounts apply automatically at kurnl-billed checkout. No partner provisioning
endpoint accepts a discount field — there is currently no way to attach a
discount to a subscription via the partner API.
Payments not configured (409)
The checkout-creation step that follows these helper calls — and the subscriber payment-method routes (see Subscriber Self-Service) — needs the provider’s own Stripe account. If that provider has not connected one, it returns 409:Only the Kurnl marketplace checkout needs Stripe — a provider using the external checkout
is unaffected. Check
service_providers.tenant_configs.stripe_connected on the plan version
(see Plans) before offering the Kurnl checkout in your UI.