Appearance
Self-Host
Endpoints for the self-host purchase flow and licence read-back. The checkout endpoint is session-only — automation can't initiate a purchase, but it can introspect the entitlement once one exists.
Read the caller's self-host entitlement
GET
/api/self-host/me
Returns the SelfHostCustomer row for the current user as a sanitized DTO — licence dates, support state, registry username (password is never returned; it was shown once at issue time). 404 when the user has not bought a licence.
Authorizations
bearer
Type
HTTP (bearer)
Responses
application/json
{
}
Start a self-host licence checkout
POST
/api/self-host/checkout
Creates a Stripe Checkout session in payment mode for the one-time perpetual licence. The annual support subscription is created server-side after payment lands. Returns the Checkout URL the caller should redirect to. Session-only — the user must be logged in via cookie, not bearer token.
Authorizations
bearer
Type
HTTP (bearer)