{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-billing-portal-session-request-schema.json",
  "title": "BillingPortalSessionRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crevio-co-billing-portal-api-openapi.yml#/components/schemas/BillingPortalSessionRequest",
  "type": "object",
  "properties": {
    "customer": {
      "type": "string",
      "description": "ID of the customer (cus_...) the billing page is for. Required."
    },
    "return_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Where the billing page Return link sends the customer. Defaults to your site."
    }
  }
}