{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/checkoutpage-com/json-schema/checkoutpage-com-price-snapshot-schema.json",
  "title": "PriceSnapshot",
  "description": "Frozen snapshot of the purchased price at the point of purchase.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/checkoutpage-com-subscriptions-api-openapi.yml#/components/schemas/PriceSnapshot",
  "properties": {
    "amount": {
      "type": [
        "number",
        "null"
      ]
    },
    "badge": {
      "type": [
        "string",
        "null"
      ]
    },
    "billingType": {
      "type": [
        "string",
        "null"
      ]
    },
    "currency": {
      "type": [
        "string",
        "null"
      ]
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "discountedFromPrice": {
      "type": [
        "number",
        "null"
      ]
    },
    "label": {
      "type": [
        "string",
        "null"
      ]
    },
    "managedInStripe": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "payWhatYouWant": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "paymentPlan": {
      "description": "Payment plan config the customer purchased on — recurring billing that completes after planIterations cycles. Never present together with recurring.",
      "properties": {
        "billingCycleAnchorConfig": {
          "properties": {
            "dayOfMonth": {
              "type": [
                "number",
                "null"
              ]
            },
            "enabled": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "month": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "interval": {
          "type": [
            "string",
            "null"
          ]
        },
        "intervalCount": {
          "type": [
            "number",
            "null"
          ]
        },
        "planIterations": {
          "type": [
            "number",
            "null"
          ]
        },
        "startDate": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "trialPeriodDays": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    },
    "priceId": {
      "type": [
        "string",
        "null"
      ]
    },
    "pwywSuggestedPrice": {
      "type": [
        "number",
        "null"
      ]
    },
    "recurring": {
      "description": "Recurring billing config the customer purchased on. Never present together with paymentPlan.",
      "properties": {
        "billingCycleAnchorConfig": {
          "properties": {
            "dayOfMonth": {
              "type": [
                "number",
                "null"
              ]
            },
            "enabled": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "month": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "interval": {
          "type": [
            "string",
            "null"
          ]
        },
        "intervalCount": {
          "type": [
            "number",
            "null"
          ]
        },
        "startDate": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "trialPeriodDays": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "type": [
        "object",
        "null"
      ]
    },
    "reference": {
      "type": [
        "string",
        "null"
      ]
    },
    "setupFee": {
      "type": [
        "number",
        "null"
      ]
    },
    "setupFeeMultipliesWithQuantity": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "stripePriceId": {
      "type": [
        "string",
        "null"
      ]
    },
    "stripePriceLivemode": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "type": [
    "object",
    "null"
  ]
}