{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recruitmcp-com/json-schema/recruitmcp-com-checkout-session-schema.json",
  "title": "CheckoutSession",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recruitmcp-com-billing-api-openapi.yml#/components/schemas/CheckoutSession",
  "type": "object",
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "stripe",
        "unconfigured"
      ]
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Hosted checkout URL. Send the buyer here. Null when checkout is not configured."
    },
    "session_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Checkout session id."
    },
    "credits": {
      "type": "integer",
      "description": "Credits this checkout adds after payment."
    }
  },
  "required": [
    "mode",
    "url",
    "session_id",
    "credits"
  ]
}