{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azurade-com/json-schema/azurade-com-checkout-schema.json",
  "title": "Checkout",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azurade-com-openapi.json#/components/schemas/Checkout",
  "properties": {
    "checkout_url": {
      "description": "Single-use card checkout for the account holder to open",
      "format": "uri",
      "type": "string"
    },
    "country": {
      "description": "ISO 3166-1 alpha-2 code of the country priced for, which the checkout opens with and does not let the account holder change. Absent when none was sent",
      "type": "string"
    },
    "credits": {
      "description": "Credits added when the payment goes through",
      "type": "number"
    },
    "currency": {
      "description": "ISO 4217 code of the amounts",
      "type": "string"
    },
    "pack": {
      "type": "string"
    },
    "subtotal": {
      "description": "The price before tax, in currency",
      "type": "number"
    },
    "tax": {
      "description": "Sales tax or VAT in country, in currency. Absent when no country was sent: the checkout then adds the tax of the country the account holder picks",
      "type": "number"
    },
    "total": {
      "description": "What the account holder pays, tax included, in currency. Absent when no country was sent",
      "type": "number"
    }
  },
  "type": "object"
}