Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Zetesis engine Billing API
version: 0.2.1
tags:
- name: Billing
paths:
/billing/webhook:
post:
summary: Billing Webhook
description: 'Self-serve provisioning. Lemon Squeezy posts here; a paid checkout becomes a
token with nobody in the loop. Enterprise still goes through /request-access,
where the conversation is the point.
Lemon Squeezy rather than Stripe because Stripe does not support Israel, and
because a Merchant of Record remits VAT and sales tax worldwide, which a sole
trader cannot do alone.'
operationId: billing_webhook_billing_webhook_post
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
tags:
- Billing
/billing/success:
get:
summary: Billing Success
description: 'Where the checkout returns the buyer, showing the token the webhook created.
Accepts several identifiers because the checkout provider''s redirect variables
differ by product and can change; whichever one arrives is used, and a recent
row for the buyer''s email is the last resort. The webhook can also land after
the redirect, so an unmatched request says "being set up" rather than erroring,
which is true and actionable rather than alarming.'
operationId: billing_success_billing_success_get
parameters:
- name: session_id
in: query
required: false
schema:
type: string
default: ''
title: Session Id
- name: order_id
in: query
required: false
schema:
type: string
default: ''
title: Order Id
- name: subscription_id
in: query
required: false
schema:
type: string
default: ''
title: Subscription Id
- name: email
in: query
required: false
schema:
type: string
default: ''
title: Email
responses:
'200':
description: Successful Response
content:
text/html:
schema:
type: string
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Billing
components:
schemas:
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError