{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentry-com/json-schema/agentry-com-invoice-response-schema.json",
  "title": "InvoiceResponse",
  "description": "Lightning invoice for payment.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentry-com-lightning-api-openapi.yml#/components/schemas/InvoiceResponse",
  "properties": {
    "invoice": {
      "type": "string",
      "title": "Invoice"
    },
    "amount_sats": {
      "type": "integer",
      "title": "Amount Sats"
    },
    "operation_id": {
      "type": "string",
      "title": "Operation Id"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "platform_fee_sats": {
      "type": "integer",
      "title": "Platform Fee Sats"
    },
    "expires_in_seconds": {
      "type": "integer",
      "title": "Expires In Seconds",
      "default": 3600
    }
  },
  "type": "object",
  "required": [
    "invoice",
    "amount_sats",
    "operation_id",
    "description",
    "platform_fee_sats"
  ]
}