Skip to content

Billing

Skilleo subscription for developer access. GPU and model usage is billed separately by your connected providers (Usage).

New accounts start on trial. Checkout moves billing to active.

GET /v1/billing/plans

Public plan catalog. No auth required.

bash
curl -s https://api.skilleo.org/v1/billing/plans

GET /v1/billing/status

Requires auth. Returns billing_status, billing_plan, paid, and related fields.

bash
curl -s https://api.skilleo.org/v1/billing/status \
  -H "Authorization: Bearer $SKILLEO_API_KEY"

POST /v1/billing/checkout

Start checkout. Returns 201 with checkout_url. Open that URL to complete payment.

bash
curl -s -X POST https://api.skilleo.org/v1/billing/checkout \
  -H "Authorization: Bearer $SKILLEO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"provider":"paddle","plan_id":"developer","return_url":"https://app.example.com/billing/complete"}'
FieldDescription
providerCheckout rail — value from your plan catalog
plan_idPlan id from GET /v1/billing/plans
return_urlWhere to send the user after checkout
CodeWhen
BILLING_NOT_CONFIGUREDCheckout unavailable on this deployment
VALIDATION_ERRORUnknown provider or plan
PAYMENT_REQUIREDActive subscription required for the route you called

SDK

python
plans = client.billing.plans()
status = client.billing.status()
checkout = client.billing.checkout(provider="paddle", plan_id="developer")
# Redirect user to checkout["data"]["checkout_url"]

Skilleo — /v1 at api.skilleo.org