80trust / 100

Quote Generate

by SendQuoteNow in Markets & finance

x402 APIPassing, checked 4 h ago

Generates branded, customer-ready quotes and estimates as hosted PDFs in about one second — line items, tax, discounts, a hosted approval page, a QR code and a Stripe payment link. Pay-per-call with x402 in USDC on Base; no account or API key. THIS ENDPOINT (the flagship): POST line items, get back the quote number, totals, a hosted page the customer can approve or decline, a PDF URL, a QR code, a Stripe payment link and an expiration date.

POST https://sendquotenow.com/v1/x402/quote/generate

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
92 ms typical, 92 ms slowest 5%
Last check
4 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://sendquotenow.com/v1/x402/quote/generate" \
  -H "content-type: application/json" \
  -d '{"company":{"name":"Apex Heating & Air","phone":"(949) 555-0142"},"currency":"USD","customer":{"email":"[email protected]","name":"John Doe"},"expiration_days":30,"services":[{"description":"3-ton unit, permits included","name":"HVAC installation","quantity":1,"unit_price":4500}],"tax_rate":0.08,"template":"slate"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fsendquotenow.com%2Fv1%2Fx402%2Fquote%2Fgenerate
const res = await pay("https://sendquotenow.com/v1/x402/quote/generate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"company":{"name":"Apex Heating & Air","phone":"(949) 555-0142"},"currency":"USD","customer":{"email":"[email protected]","name":"John Doe"},"expiration_days":30,"services":[{"description":"3-ton unit, permits included","name":"HVAC installation","quantity":1,"unit_price":4500}],"tax_rate":0.08,"template":"slate"}),
});
console.log(await res.json());

Example input

{
  "company": {
    "name": "Apex Heating & Air",
    "phone": "(949) 555-0142"
  },
  "currency": "USD",
  "customer": {
    "email": "[email protected]",
    "name": "John Doe"
  },
  "expiration_days": 30,
  "services": [
    {
      "description": "3-ton unit, permits included",
      "name": "HVAC installation",
      "quantity": 1,
      "unit_price": 4500
    }
  ],
  "tax_rate": 0.08,
  "template": "slate"
}

Example output

{
  "data": {
    "currency": "USD",
    "expires_at": "2026-08-02T00:00:00Z",
    "hosted_url": "https://sendquotenow.com/quote-view.html?token=...",
    "id": "uuid",
    "payment_link_url": "https://buy.stripe.com/...",
    "pdf_url": "https://sendquotenow.com/pub/quotes/.../pdf",
    "qr_code_url": "https://sendquotenow.com/pub/quotes/.../qr.png",
    "quote_number": "Q-0042",
    "status": "sent",
    "subtotal": 4500,
    "tax_amount": 360,
    "total": 4860
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoPassed40292 ms$0.1