Billing

Create Payment Checkout Session

Initiates a Stripe checkout session for payment collection. Creates a pending subscription; the webhook activates it and provisions the resource after payment completes. Returns billing_disabled=true with no URL when billing is off. Requires org owner role.

post/v1/billing/checkout

Request

  • Base URL: https://api.robosystems.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.robosystems.ai/v1/billing/checkout
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Request body

plan_namestring required

Billing plan name (e.g., 'ladybug-standard')

resource_typestring required

Resource type ('graph' or 'repository')

resource_configobject required

Configuration for the resource to be provisioned. For repositories: {'repository_name': 'graph_id'} where graph_id is the repository slug (e.g., 'sec')

Response

Successful Response

checkout_urlstring nullable

URL to redirect user to for payment

session_idstring nullable

Checkout session ID for status polling

subscription_idstring nullable

Internal subscription ID

requires_checkoutboolean

Whether checkout is required

billing_disabledboolean

Whether billing is disabled on this instance

Changes

No recorded changes to this operation across all 1 revision of this API.