{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/everyn-ai/json-schema/everyn-ai-top-up-intent-response-schema.json",
  "title": "TopUpIntentResponse",
  "x-generated": "2026-11-07",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/everyn-ai-openapi.json#/components/schemas/TopUpIntentResponse",
  "additionalProperties": false,
  "properties": {
    "amountMinorUnits": {
      "minimum": 1.0,
      "title": "Amountminorunits",
      "type": "integer"
    },
    "amountUsd": {
      "enum": [
        10,
        25,
        50,
        100
      ],
      "title": "Amountusd",
      "type": "integer"
    },
    "automaticTaxStatus": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Automatictaxstatus"
    },
    "clientRequestId": {
      "title": "Clientrequestid",
      "type": "string"
    },
    "currencyCode": {
      "maxLength": 3,
      "minLength": 3,
      "title": "Currencycode",
      "type": "string"
    },
    "failureCode": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Failurecode"
    },
    "hostedInvoiceUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Hostedinvoiceurl"
    },
    "openedAt": {
      "description": "UTC RFC 3339 timestamp string.",
      "title": "Openedat",
      "type": "string"
    },
    "repairReason": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Repairreason"
    },
    "status": {
      "enum": [
        "pending",
        "succeeded",
        "failed",
        "repair_required"
      ],
      "title": "Status",
      "type": "string"
    },
    "stripeInvoiceId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stripeinvoiceid"
    },
    "stripePaymentIntentId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stripepaymentintentid"
    },
    "stripeReceiptUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Stripereceipturl"
    },
    "stripeRefundId": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Striperefundid"
    },
    "taxAmountMinorUnits": {
      "anyOf": [
        {
          "minimum": 0.0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Taxamountminorunits"
    },
    "terminalAt": {
      "anyOf": [
        {
          "description": "UTC RFC 3339 timestamp string.",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Terminalat"
    },
    "topUpIntentId": {
      "minLength": 1,
      "title": "Topupintentid",
      "type": "string"
    },
    "totalAmountMinorUnits": {
      "anyOf": [
        {
          "minimum": 1.0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Totalamountminorunits"
    },
    "walletLotId": {
      "anyOf": [
        {
          "minLength": 1,
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Walletlotid"
    }
  },
  "required": [
    "topUpIntentId",
    "clientRequestId",
    "status",
    "currencyCode",
    "amountUsd",
    "amountMinorUnits",
    "openedAt"
  ],
  "type": "object"
}