{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pentonym-com/json-schema/pentonym-com-checkout-request-schema.json",
  "title": "CheckoutRequest",
  "description": "`extra=\"forbid\"` so a legacy client that tries to stamp `api_key_hash` /\n`email` / any credit target into the body is REJECTED (422) rather than\nsilently ignored — the credit anchor is resolved server-side only.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pentonym-com-openapi.json#/components/schemas/CheckoutRequest",
  "properties": {
    "sku": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "title": "Sku"
    },
    "success_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "type": "null"
        }
      ],
      "title": "Success Url"
    },
    "cancel_url": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2048
        },
        {
          "type": "null"
        }
      ],
      "title": "Cancel Url"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "sku"
  ]
}