Generate a customer-ready quote (legacy alias of /v1/x402/quote/generate)

Legacy path — identical to /v1/x402/quote/generate: branded PDF, hosted approval page, QR code, and Stripe payment link in ~1s. Prefer the named path. x402-protected: unpaid requests receive HTTP 402 with USDC payment requirements on Base. Pay per call, no API key or account required.

post/v1/x402/quotes

Request

  • Base URL: https://sendquotenow.com
  • URL: https://sendquotenow.com/v1/x402/quotes
  • Auth: none required

Request body

companyobject

Optional branding override: name, email, phone, address, terms

customerobject

Quote recipient: name, email, phone

tax_ratenumber

Decimal, e.g. 0.08 for 8%

discountobject

{ type: "percent"|"fixed", value: n }

currency'USD' | 'CAD' | 'EUR' | 'GBP' | 'AUD'
expiration_daysinteger
template'standard' | 'slate' | 'emerald' | 'noir' | 'violet'
industrystring

Styling hint only, e.g. hvac, photography

notesstring
scope_of_workstring

Rendered as a Scope of Work section on the document.

auto_scopeboolean

If true and scope_of_work is omitted, the server writes it via the Claude API from the line items/notes/industry. Adds LLM latency (~2s) beyond the normal <2s response; no-ops (returns no scope) if the server has no Claude API key configured. Ignored if scope_of_work is provided.

deliveryobject

{ method: "email", to, cc, message }

document_type'quote' | 'invoice' | 'purchase_order'

"invoice" issues a standalone, immediately-payable invoice (same hosted page/PDF/payment link as a quote, just numbered INV-xxxx). To convert an existing quote after the fact, use POST /v1/quotes/{id}/convert-to-invoice instead.

Response

Quote or invoice-labeled quote created: hosted PDF, QR code, Stripe payment link, expiration

object required

Changes

No recorded changes to this operation across all 1 revision of this API.