PA
Payments · x402 · early usage

PaidPilot Invoice API: Due date, status and early-pay discount for payment terms

PaidPilot Invoice API: Due date, status and early-pay discount for payment terms. Parses Net N, D/N Net M (e.g. 2/10 Net 30), Due on receipt, EOM, Net N EOM. Returns due date, days until due/overdue, discount amount and deadline, the annualized cost of skippi…

by api.paidpilot.io · discovered, not yet claimed by its owner · updated 2026-10-11

30d calls2
30d payers2
MethodPOST
Outputjson

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: Due date, status and early-pay discount for payment terms. Parses Net N, D/N Net M (e.g. 2/10 Net 30), Due on receipt, EOM, Net N EOM. Returns due date, days until due/overdue, discount amount and deadline, the annualized cost of skipping the discount, and suggested reminder dates.

Tags: invoice · pdf · billing · document-generation · payment-reminder · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-11
Input example from Bazaar metadata
{
  "amount": 1610.35,
  "as_of": "2026-10-11",
  "currency": "USD",
  "invoice_date": "2026-10-01",
  "terms": "2/10 Net 30"
}
Output example
{
  "amount": 1610.35,
  "currency": "USD",
  "days_from_invoice_to_due": 30,
  "due_date": "2026-10-31",
  "early_payment_discount": {
    "annualized_cost_note": "Simple annualized rate the buyer implicitly pays by skipping the discount: d/(100-d) x 365/(net days - discount days).",
    "annualized_cost_of_skipping_percent": 37.24,
    "deadline": "2026-10-11",
    "discount_amount": 32.21,
    "display": "Pay $1,578.14 by 2026-10-11 (save $32.21), otherwise $1,610.35 by 2026-10-31.",
    "pay_if_early": 1578.14,
    "percent": 2,
    "still_available_as_of": true
  },
  "invoice_date": "2026-10-01",
  "notes": [
    "Calendar days from the invoice date; weekends and holidays are not adjusted. Your contract terms control if they differ."
  ],
  "status": {
    "as_of": "2026-10-11",
    "days_overdue": 0,
    "days_until_due": 20,
    "state": "not_yet_due",
    "text": "Due in 20 days"
  },
  "suggested_reminders": [
    {
      "date": "2026-10-28",
      "label": "Friendly heads-up, 3 days before due",
      "tone": "friendly"
    },
    {
      "date": "2026-10-31",
      "label": "On the due date",
      "tone": "friendly"
    },
    {
      "date": "2026-11-07",
      "label": "7 days overdue",
      "tone": "firm"
    },
    {
      "date": "2026-11-14",
      "label": "14 days overdue",
      "tone": "final"
    }
  ],
  "terms": "2/10 Net 30"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/35480.json for the price and payment options.
  3. Pay. Call GET https://api.paidpilot.io/v1/payment-terms. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with 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.01 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
2 calls · 2 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.010x2dAF658B01e257206375798a15832E9f547D65dD120s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x2dAF658B01e257206375798a15832E9f547D65dD",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "amountUsd": 0.01,
    "maxTimeoutSeconds": 120
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl "https://api.paidpilot.io/v1/payment-terms"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.paidpilot.io/v1/payment-terms");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.paidpilot.io/v1/payment-terms")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.paidpilot.io
Endpoint
https://api.paidpilot.io/v1/payment-terms
Machine-readable
/resources/35480.json