Public

Public pay-page view for an invoice payment token (unauthenticated)

AR charge rail (Stage 2). UNAUTHENTICATED; rate-limited per-IP and per-token. Resolves the token to the pay-page view: { merchant: { name, supportEmail? }, invoice: { number, issueDate, dueDate, terms, currency, subtotalCents, taxCents, totalCents, amountPaidCents, amountDueCents, status: open|partially_paid|paid, lines }, methods: { card: { available, feeMode, feeCents, amountToChargeCents }, bankTransfer: { available, details } } }. bankTransfer.details is the FULL (unmasked) structured bank block — the payer needs it to push an ACH/wire — and is non-null only when bank transfer is enabled AND the payer-required fields (holder, bank, routing, account) are all present. UNIFORM-404 SEMANTICS: an unknown/blank token, a draft/void/uncollectible invoice, a closed AR/AP surface, or a non-allowlisted/non-active company ALL return the same 404 shape so the endpoint never leaks whether a token, company, or invoice exists.

get/public/invoices/{token}

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    none required

Path parameters

token, string required

The 192-bit URL-safe payment token minted at invoice send. It is the SOLE capability handle — these routes are unauthenticated and not company-scoped by URL; the server derives the company scope and dark gate from the token.

Response

PublicInvoiceView (see description for shape)

Changes

No recorded changes to this operation across all 110 revisions of this API.