Skip to content
Fourohtwo

api.paidpilot.io/v1/payment-terms

Work out an invoice due date and early-pay discount from terms like Net 30 or 2/10 Net 30. $0.01 USDC on Base per call. Parses Net N, D/N Net M, Due on receipt, EOM and Net N EOM. Returns due date, days until due or overdue, discount and deadline, the annualized cost of skipping it and reminder dates. Don't use this for late fees; use /v1/late-fee.

BaseAnswering
POSThttps://api.paidpilot.io/v1/payment-terms

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.paidpilot.io/v1/payment-terms", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"as_of":"2026-10-11","terms":"2/10 Net 30","amount":1610.35,"currency":"USD","invoice_date":"2026-10-01"}),
});
console.log(await res.json());

Example input

{
  "as_of": "2026-10-11",
  "terms": "2/10 Net 30",
  "amount": 1610.35,
  "currency": "USD",
  "invoice_date": "2026-10-01"
}

More from PaidPilot Invoice APIProvider status