PaidPilot Invoice API: Render one invoice PDF from JSON
PaidPilot Invoice API: Render one invoice PDF from JSON. Line items, tax, discount and totals computed server-side (integer minor units); 12 currencies; multi-page. Validate free first at POST /v1/invoice/validate.
by paidpilot-invoice-api.dario-9fa.workers.dev · discovered, not yet claimed by its owner · updated 2026-10-10
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
PaidPilot Invoice API: Render one invoice PDF from JSON. Line items, tax, discount and totals computed server-side (integer minor units); 12 currencies; multi-page. Validate free first at POST /v1/invoice/validate.
Tags: invoice · pdf · billing · document-generation · bazaar
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-10
{
"buyer": {
"address": "45 Dodge St, Omaha, NE 68102",
"name": "Blue River Bakery"
},
"currency": "USD",
"due_date": "2026-11-08",
"invoice_number": "INV-1001",
"issue_date": "2026-10-09",
"line_items": [
{
"description": "Website redesign (fixed fee)",
"quantity": 1,
"unit_price": 1200
},
{
"description": "Hosting, October",
"quantity": 1,
"unit_price": 25
},
{
"description": "Support hours",
"quantity": 3.5,
"unit_price": 80
}
],
"notes": "Thank you for your business.",
"payment_instructions": "ACH to account ending 1234 within 30 days.",
"seller": {
"address": "123 Main St, Omaha, NE 68102",
"email": "[email protected]",
"name": "Acme Web Studio LLC"
},
"tax_rate": 7
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/54183.jsonfor the price and payment options. - Pay. Call
GET https://paidpilot-invoice-api.dario-9fa.workers.dev/v1/invoice.pdf. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.02 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.02 | 0x2dAF658B01e257206375798a15832E9f547D65dD | 120s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2dAF658B01e257206375798a15832E9f547D65dD",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"amountUsd": 0.02,
"maxTimeoutSeconds": 120
}
]Examples
curl "https://paidpilot-invoice-api.dario-9fa.workers.dev/v1/invoice.pdf"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paidconst res = await fetch("https://paidpilot-invoice-api.dario-9fa.workers.dev/v1/invoice.pdf");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
res = httpx.get("https://paidpilot-invoice-api.dario-9fa.workers.dev/v1/invoice.pdf")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- paidpilot-invoice-api.dario-9fa.workers.dev
- Endpoint
- https://paidpilot-invoice-api.dario-9fa.workers.dev/v1/invoice.pdf
- Machine-readable
/resources/54183.json