Stripe · Schema

PostQuotesRequest

CommerceFinancial ServicesFintechPaymentsT1StripeAgentic CommercePoint-of-SalePayment Processing

Properties

Name Type Description
application_fee_amount object The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. There cannot be any line items with recurring
application_fee_percent object A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe a
automatic_tax object Settings for automatic tax lookup for this quote and resulting invoices and subscriptions.
collection_method string Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or at invoice finalization using the default pay
customer string The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.
default_tax_rates object The tax rates that will apply to any line item that does not have `tax_rates` set.
description object A description that will be displayed on the quote PDF. If no value is passed, the default description configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote)
discounts object The discounts applied to the quote. You can only set up to one discount.
expand array Specifies which fields in the response should be expanded.
expires_at integer A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch. If no value is passed, the default expiration date configured in your [
footer object A footer that will be displayed on the quote PDF. If no value is passed, the default footer configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be us
from_quote object Clone an existing quote. The new quote will be created in `status=draft`. When using this parameter, you cannot specify any other parameters except for `expires_at`.
header object A header that will be displayed on the quote PDF. If no value is passed, the default header configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be us
invoice_settings object All invoices will be billed using the specified settings.
line_items array A list of line items the customer is being quoted for. Each line item includes information about the product, the quantity, and the resulting cost.
metadata object Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individu
on_behalf_of object The account on behalf of which to charge.
subscription_data object When creating a subscription or subscription schedule, the specified configuration data will be used. There must be at least one line item with a recurring price for a subscription or subscription sch
test_clock string ID of the test clock to attach to the quote.
transfer_data object The data with which to automatically create a Transfer for each of the invoices.
View JSON Schema on GitHub

JSON Schema

stripe-post-quotes-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/stripe/main/json-schema/stripe-post-quotes-request-schema.json",
  "title": "PostQuotesRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/stripe-quotes-api-openapi.yml#/components/schemas/PostQuotesRequest",
  "type": "object",
  "properties": {
    "application_fee_amount": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        }
      ],
      "description": "The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. There cannot be any line items with recurring prices when using this field."
    },
    "application_fee_percent": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        }
      ],
      "description": "A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. There must be at least 1 line item with a recurring price to use this field."
    },
    "automatic_tax": {
      "description": "Settings for automatic tax lookup for this quote and resulting invoices and subscriptions.",
      "properties": {
        "enabled": {
          "type": "boolean"
        }
      },
      "required": [
        "enabled"
      ],
      "title": "automatic_tax_param",
      "type": "object"
    },
    "collection_method": {
      "description": "Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay invoices at the end of the subscription cycle or at invoice finalization using the default payment method attached to the subscription or customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions and mark the subscription as `active`. Defaults to `charge_automatically`.",
      "enum": [
        "charge_automatically",
        "send_invoice"
      ],
      "type": "string"
    },
    "customer": {
      "description": "The customer for which this quote belongs to. A customer is required before finalizing the quote. Once specified, it cannot be changed.",
      "maxLength": 5000,
      "type": "string"
    },
    "default_tax_rates": {
      "anyOf": [
        {
          "items": {
            "maxLength": 5000,
            "type": "string"
          },
          "type": "array"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        }
      ],
      "description": "The tax rates that will apply to any line item that does not have `tax_rates` set."
    },
    "description": {
      "anyOf": [
        {
          "maxLength": 500,
          "type": "string"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        }
      ],
      "description": "A description that will be displayed on the quote PDF. If no value is passed, the default description configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used."
    },
    "discounts": {
      "anyOf": [
        {
          "items": {
            "properties": {
              "coupon": {
                "maxLength": 5000,
                "type": "string"
              },
              "discount": {
                "maxLength": 5000,
                "type": "string"
              }
            },
            "title": "discounts_data_param",
            "type": "object"
          },
          "type": "array"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        }
      ],
      "description": "The discounts applied to the quote. You can only set up to one discount."
    },
    "expand": {
      "description": "Specifies which fields in the response should be expanded.",
      "items": {
        "maxLength": 5000,
        "type": "string"
      },
      "type": "array"
    },
    "expires_at": {
      "description": "A future timestamp on which the quote will be canceled if in `open` or `draft` status. Measured in seconds since the Unix epoch. If no value is passed, the default expiration date configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used.",
      "format": "unix-time",
      "type": "integer"
    },
    "footer": {
      "anyOf": [
        {
          "maxLength": 500,
          "type": "string"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        }
      ],
      "description": "A footer that will be displayed on the quote PDF. If no value is passed, the default footer configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used."
    },
    "from_quote": {
      "description": "Clone an existing quote. The new quote will be created in `status=draft`. When using this parameter, you cannot specify any other parameters except for `expires_at`.",
      "properties": {
        "is_revision": {
          "type": "boolean"
        },
        "quote": {
          "maxLength": 5000,
          "type": "string"
        }
      },
      "required": [
        "quote"
      ],
      "title": "from_quote_params",
      "type": "object"
    },
    "header": {
      "anyOf": [
        {
          "maxLength": 50,
          "type": "string"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        }
      ],
      "description": "A header that will be displayed on the quote PDF. If no value is passed, the default header configured in your [quote template settings](https://dashboard.stripe.com/settings/billing/quote) will be used."
    },
    "invoice_settings": {
      "description": "All invoices will be billed using the specified settings.",
      "properties": {
        "days_until_due": {
          "type": "integer"
        }
      },
      "title": "quote_param",
      "type": "object"
    },
    "line_items": {
      "description": "A list of line items the customer is being quoted for. Each line item includes information about the product, the quantity, and the resulting cost.",
      "items": {
        "properties": {
          "price": {
            "maxLength": 5000,
            "type": "string"
          },
          "price_data": {
            "properties": {
              "currency": {
                "type": "string"
              },
              "product": {
                "maxLength": 5000,
                "type": "string"
              },
              "recurring": {
                "properties": {
                  "interval": {
                    "enum": [
                      "day",
                      "month",
                      "week",
                      "year"
                    ],
                    "type": "string"
                  },
                  "interval_count": {
                    "type": "integer"
                  }
                },
                "required": [
                  "interval"
                ],
                "title": "recurring_adhoc",
                "type": "object"
              },
              "tax_behavior": {
                "enum": [
                  "exclusive",
                  "inclusive",
                  "unspecified"
                ],
                "type": "string"
              },
              "unit_amount": {
                "type": "integer"
              },
              "unit_amount_decimal": {
                "format": "decimal",
                "type": "string"
              }
            },
            "required": [
              "currency",
              "product"
            ],
            "title": "price_data",
            "type": "object"
          },
          "quantity": {
            "type": "integer"
          },
          "tax_rates": {
            "anyOf": [
              {
                "items": {
                  "maxLength": 5000,
                  "type": "string"
                },
                "type": "array"
              },
              {
                "enum": [
                  ""
                ],
                "type": "string"
              }
            ]
          }
        },
        "title": "line_item_create_params",
        "type": "object"
      },
      "type": "array"
    },
    "metadata": {
      "additionalProperties": {
        "type": "string"
      },
      "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.",
      "type": "object"
    },
    "on_behalf_of": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        }
      ],
      "description": "The account on behalf of which to charge."
    },
    "subscription_data": {
      "description": "When creating a subscription or subscription schedule, the specified configuration data will be used. There must be at least one line item with a recurring price for a subscription or subscription schedule to be created. A subscription schedule is created if `subscription_data[effective_date]` is present and in the future, otherwise a subscription is created.",
      "properties": {
        "description": {
          "maxLength": 500,
          "type": "string"
        },
        "effective_date": {
          "anyOf": [
            {
              "enum": [
                "current_period_end"
              ],
              "maxLength": 5000,
              "type": "string"
            },
            {
              "format": "unix-time",
              "type": "integer"
            },
            {
              "enum": [
                ""
              ],
              "type": "string"
            }
          ]
        },
        "metadata": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "trial_period_days": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "enum": [
                ""
              ],
              "type": "string"
            }
          ]
        }
      },
      "title": "subscription_data_create_params",
      "type": "object"
    },
    "test_clock": {
      "description": "ID of the test clock to attach to the quote.",
      "maxLength": 5000,
      "type": "string"
    },
    "transfer_data": {
      "anyOf": [
        {
          "properties": {
            "amount": {
              "type": "integer"
            },
            "amount_percent": {
              "type": "number"
            },
            "destination": {
              "type": "string"
            }
          },
          "required": [
            "destination"
          ],
          "title": "transfer_data_specs",
          "type": "object"
        },
        {
          "enum": [
            ""
          ],
          "type": "string"
        }
      ],
      "description": "The data with which to automatically create a Transfer for each of the invoices."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/stripe-post-quotes-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.