{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getoneprofile-ai/json-schema/getoneprofile-ai-credit-pack-checkout-request-schema-schema.json",
  "title": "CreditPackCheckoutRequestSchema",
  "description": "Request schema for starting a one-time credit pack purchase.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getoneprofile-ai-billing-api-openapi.yml#/components/schemas/CreditPackCheckoutRequestSchema",
  "properties": {
    "cancel_path": {
      "description": "Partial path (e.g. /billing) of where the stripe Checkout session should redirect the user if payment is cancelled.",
      "maxLength": 255,
      "minLength": 1,
      "title": "Cancel Path",
      "type": "string"
    },
    "credits": {
      "description": "The number of credits to purchase.",
      "maximum": 100000000.0,
      "minimum": 1.0,
      "title": "Credits",
      "type": "integer"
    },
    "success_path": {
      "description": "Partial path (e.g. /billing) of where the stripe Checkout session should redirect the user if payment is successful.",
      "maxLength": 255,
      "minLength": 1,
      "title": "Success Path",
      "type": "string"
    }
  },
  "required": [
    "credits",
    "success_path",
    "cancel_path"
  ],
  "type": "object"
}