removedOutput schema / properties / quote
Removed value: -{
- "description": "The authoritative, machine-readable quote for this stay, for the rate stay_total prices (the non-refundable rate). Amounts ending in _minor are integer cents in `currency`. total_stay_price_minor is exactly what the guest is charged in total, including taxes and the card processing fee, and the amounts add up: total_stay_price_minor = nightly_subtotal_minor + mandatory_fees_minor + optional_fees_minor + taxes_minor + card_fee_minor - discounts_minor. When available is false only availability_status, inventory_held, checked_at, canonical_url, incomplete and missing are present. The itemised _minor amounts are null only when missing includes price_breakdown.",
- "properties": {
- "availability_status": {
- "enum": [
- "available",
- "unavailable"
- ],
- "type": "string"
- },
- "cancellation_policy_id": {
- "description": "The rate this quote prices; rate_options lists both.",
- "enum": [
- "non_refundable",
- "refundable"
- ],
- "type": "string"
- },
- "cancellation_summary": {
- "type": "string"
- },
- "canonical_url": {
- "description": "The home's property page, not the booking link.",
- "type": "string"
- },
- "card_fee_minor": {
- "description": "The 3.5% card processing fee, added at checkout and included in the total.",
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "charges": {
- "description": "Every charge, itemised. The amounts of the rows with paid_at checkout add up to total_stay_price_minor exactly; a discount row is negative.",
- "items": {
- "properties": {
- "amount_minor": {
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "paid_at": {
- "description": "checkout: part of the total. outside_checkout: not part of it (the security hold).",
- "enum": [
- "checkout",
- "outside_checkout"
- ],
- "type": "string"
- },
- "type": {
- "enum": [
- "nightly",
- "fee",
- "tax",
- "discount",
- "card_fee",
- "security_hold",
- "adjustment"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "name",
- "amount_minor",
- "paid_at"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "checked_at": {
- "description": "When this quote was fetched, ISO 8601.",
- "type": "string"
- },
- "currency": {
- "description": "ISO 4217 code, e.g. USD.",
- "type": "string"
- },
- "discounts_minor": {
- "description": "A positive amount subtracted from the total; 0 when there is none.",
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "due_later_minor": {
- "description": "The rest, charged automatically to the same card 60 days before check-in; 0 when everything is due now.",
- "minimum": 0,
- "type": "integer"
- },
- "due_now_minor": {
- "description": "Charged when the guest books: 50% of the total when check-in is more than 60 days away, otherwise all of it.",
- "minimum": 0,
- "type": "integer"
- },
- "expires_at": {
- "description": "When the quote lapses, ISO 8601; the same instant as quote_expires_at.",
- "type": "string"
- },
- "incomplete": {
- "description": "True when a required input or tax could not be determined; missing says which.",
- "type": "boolean"
- },
- "inventory_held": {
- "description": "False: a quote does not hold the home.",
- "type": "boolean"
- },
- "mandatory_fees_minor": {
- "description": "Cleaning and every other required fee.",
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "missing": {
- "description": "rent_tax_rate: the provider's fee table could not be read, so the refundable rate cannot be priced. price_breakdown: the provider sent only a total. line_items_mismatch: the itemised charges add up to more than the total.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "nightly_subtotal_minor": {
- "description": "Rent for the nights before any discount, plus the refundable-rate premium when that rate is quoted.",
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "nights": {
- "type": [
- "integer",
- "null"
- ]
- },
- "optional_fees_minor": {
- "description": "Fees the guest chose, the pet fee for the pets in this quote.",
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "quote_id": {
- "description": "Stable id for this priced stay: the same home, dates, guests, pets, rate and total give the same id; any change gives a new one. Not a hold or a reservation.",
- "type": "string"
- },
- "refundable": {
- "description": "True when the rate this quote prices can be cancelled for a refund until its free-cancellation deadline; false for the non-refundable rate.",
- "type": "boolean"
- },
- "refundable_security_hold_minor": {
- "description": "A refundable hold on the card on file, separate from the total. The home's own amount, or the standard hold when it states none.",
- "minimum": 0,
- "type": "integer"
- },
- "tax_source": {
- "description": "Where the tax comes from: the provider's own quote, or our verified rate table for the home's jurisdiction when the provider's quote had none. Either way the tax is collected and in the total.",
- "enum": [
- "provider",
- "jurisdiction_table"
- ],
- "type": "string"
- },
- "taxes_included": {
- "description": "True: the total includes lodging tax, which is collected on every stay.",
- "type": "boolean"
- },
- "taxes_minor": {
- "description": "Lodging tax.",
- "minimum": 0,
- "type": [
- "integer",
- "null"
- ]
- },
- "timezone": {
- "description": "IANA zone of the home: the provider's own zone when it states one, otherwise the zone of the home's US state (timezone_source says which). Null when unknown.",
- "type": [
- "string",
- "null"
- ]
- },
- "timezone_source": {
- "enum": [
- "listing",
- "market",
- "unknown"
- ],
- "type": "string"
- },
- "total_stay_price_minor": {
- "description": "The whole price of the stay, equal to stay_total in cents.",
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "availability_status",
- "inventory_held",
- "checked_at",
- "canonical_url",
- "incomplete",
- "missing"
- ],
- "type": "object"
-}