public

GET /v1/pay/invoices/{token}

An invoice, for the person paying it. Unauthenticated.

Všechny koncové body public

Všechny dokumenty pro vývojáře

Autentizace

Tento koncový bod je veřejný. Nevyžaduje žádná pověření ani organizaci – je to to, co čte náš vlastní marketingový web a naše AI vyhledávače.

Tento koncový bod nevyžaduje žádné ID organizace. Váš klíč již identifikuje organizaci, ke které patří, a odpověď je na ni omezena.

Vyzvednout

Nahraďte cokoli v závorkách vlastními hodnotami a zástupný symbol klíče klíčem z vašeho řídicího panelu.

curl -X GET https://api.zinndigital.com/v1/pay/invoices/{token}

Přihlášeni? Konzole API ve vašem dashboardu automaticky doplní vaše skutečné ID organizace i váš vlastní klíč a odešle požadavek na živé API, abyste viděli reálnou odpověď. Otevřete tento koncový bod v konzoli API

Podrobnosti

No authentication and no session. The payer may have no account here at all; the capability token in the path is the whole authorisation and it reaches exactly one invoice. Every string in the response is already translated into the recipient's locale — the one stored on the document, not the one of whoever's browser opened the link. The page that renders this holds no copy of its own. Every refusal answers with the same sentence whatever the cause — a wrong token, a draft, a withdrawn or an unknown one. Distinguishing them would confirm to a stranger that a token is real, which is the oracle that makes a capability URL worth sweeping.

Parametry

NázevTypPožadovánoCo to je
token (path)stringAno

Odpověď

NázevTypPožadovánoCo to je
referencestringAno
statusstring<sent, paid>Ano
currencystringAno
issue_datestringAno
due_datestringNe
due_date_displaystringNeThe due date in the reader's own convention, already formatted.
buyerobjectAno
linesobject[]Ano
subtotalstringAno
tax_totalstringAno
totalstringAno
total_minorintegerNe
amount_duestringAnoZero once paid. Computed, never stored — a page saying money is due beside a Paid badge is the worst thing this can render.
amount_due_minorintegerAno
notesstringNe
labelsobjectAnoEvery label on the document, in the reader's language.
localestringNe
directionstring<ltr, rtl>Ano
payablebooleanAno

Chyby, které může tento koncový bod vrátit

404 · 429