Download quote PDF v1

GET /v1/quotes/:id/pdf

Download the PDF for a finalized quote. Explanation for special handling can be found here

Parameters

  • idstringRequired

    Unique identifier for the object.

Returns

The PDF file for the quote.

curl https://files.stripe.com/v1/quotes//pdf \
-u "sk_test_...sk_test_...:" \
-H "Stripe-Version: 2026-10-28.endive"
Response
{}

Finalize a quote v1

POST /v1/quotes/:id/finalize

Finalizes the quote.

Parameters

  • idstringRequired

    Unique identifier for the object.

  • expires_attimestamp

    A future timestamp on which the quote will be canceled if in open or draft status. Measured in seconds since the Unix epoch.

Returns

Returns an open quote. Raises an error otherwise.

curl -X POST https://api.stripe.com/v1/quotes//finalize \
-u "sk_test_...sk_test_...:" \
-H "Stripe-Version: 2026-10-28.endive"
Response
{
"object": "quote",
"amount_subtotal": 2198,
"amount_total": 2198,
"application": null,
"application_fee_amount": null,
"application_fee_percent": null,
"automatic_tax": {
"enabled": false,
"liability": null,
"status": null
},
"collection_method": "charge_automatically",
"computed": {
"recurring": null,
"upfront": {
"amount_subtotal": 2198,
"amount_total": 2198,
"total_details": {
"amount_discount": 0,
"amount_shipping": 0,
"amount_tax": 0
}
}
},
"created": 1680128852,
"currency": "usd",
"customer": "",
"default_tax_rates": [],
"description": null,
"discounts": [],
"expires_at": 1682720852,
"footer": null,
"from_quote": null,
"header": null,
"invoice": null,
"invoice_settings": {
"days_until_due": null,
"issuer": {
"type": "self"
}
},
"livemode": false,
"metadata": {},
"number": "QT-5B9DA057-0001-1",
"on_behalf_of": null,
"status": "open",
"status_transitions": {
"accepted_at": null,
"canceled_at": null,
"finalized_at": 1680128853
},
"subscription": null,
"subscription_data": {
"description": null,
"effective_date": null,
"trial_period_days": null
},
"subscription_schedule": null,
"test_clock": null,
"total_details": {
"amount_discount": 0,
"amount_shipping": 0,
"amount_tax": 0
},
"transfer_data": null
}