{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentry-com/json-schema/agentry-com-payment-status-response-schema.json",
  "title": "PaymentStatusResponse",
  "description": "Stripe payment status.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentry-com-payments-api-openapi.yml#/components/schemas/PaymentStatusResponse",
  "properties": {
    "session_id": {
      "type": "string",
      "title": "Session Id"
    },
    "status": {
      "type": "string",
      "title": "Status",
      "description": "paid, unpaid, or expired"
    },
    "agent_id": {
      "type": "string",
      "title": "Agent Id",
      "default": ""
    },
    "amount_cents": {
      "type": "integer",
      "title": "Amount Cents",
      "default": 0
    },
    "currency": {
      "type": "string",
      "title": "Currency",
      "default": "usd"
    },
    "payment_intent": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Payment Intent"
    }
  },
  "type": "object",
  "required": [
    "session_id",
    "status"
  ]
}