{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/makepartsnow-com/json-schema/makepartsnow-com-checkout-link-schema.json",
  "title": "CheckoutLink",
  "description": "A Stripe Checkout link for a person to pay the quote by card.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/makepartsnow-com-openapi.json#/components/schemas/CheckoutLink",
  "properties": {
    "checkout_url": {
      "type": "string",
      "title": "Checkout Url",
      "description": "Stripe Checkout URL for the person paying"
    },
    "expires_at": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expires At",
      "description": "When the link stops working, Unix seconds"
    },
    "amount_before_tax": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Amount Before Tax",
      "description": "Total in dollars before sales tax"
    },
    "note": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Note"
    },
    "quote_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Quote Url",
      "description": "The quote's share link"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "checkout_url"
  ]
}