These endpoints are called from your checkout UI before the subscriber completes their order. All are public (no auth required) unless noted.

Check email availability

Check whether an email address is available for a new subscriber account under a given provider.

Request body

Response

available: false means a subscriber account already exists for this email under the provider. Your checkout UI should prompt the subscriber to log in instead of creating a new account.

Check subscription at location

Check whether a subscriber is already active at a given location. Prevents duplicate subscriptions.

Query parameters

Response

has_subscription: true means the location already has an active subscription — your checkout UI should show an error or redirect.

Validate discount code

Validate a discount code and return its terms so you can display them in the checkout UI before applying.

Request body

Response — 200 OK (valid)

Response — 200 OK (invalid)

Pass the discount.id to the provisioning endpoint (discount_id field) after validation.