public

GET /v1/pay/invoices/{token}

An invoice, for the person paying it. Unauthenticated.

Wszystkie punkty końcowe public

Wszystkie dokumentacje dla programistów

Uwierzytelnianie

Ten punkt końcowy jest publiczny. Nie wymaga żadnych poświadczeń ani organizacji — to z niego korzysta nasza własna strona marketingowa oraz silniki odpowiedzi AI.

Ten punkt końcowy nie wymaga identyfikatora organizacji. Twój klucz już identyfikuje organizację, do której należy, a odpowiedź jest do niej ograniczona.

Wypróbuj

Zastąp wszystko w nawiasach ostrych własnymi wartościami, a zastępczy znacznik klucza kluczem ze swojego pulpitu nawigacyjnego.

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

Zalogowany? Konsola API w Twoim panelu uzupełnia rzeczywiste identyfikator organizacji oraz Twój własny klucz i wykonuje żądanie względem aktywnego API, dzięki czemu możesz zobaczyć rzeczywistą odpowiedź. Otwórz ten punkt końcowy w konsoli API

Szczegóły

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

NazwaTypWymaganeCo to jest
token (path)stringTak

Odpowiedź

NazwaTypWymaganeCo to jest
referencestringTak
statusstring<sent, paid>Tak
currencystringTak
issue_datestringTak
due_datestringNie
due_date_displaystringNieThe due date in the reader's own convention, already formatted.
buyerobjectTak
linesobject[]Tak
subtotalstringTak
tax_totalstringTak
totalstringTak
total_minorintegerNie
amount_duestringTakZero once paid. Computed, never stored — a page saying money is due beside a Paid badge is the worst thing this can render.
amount_due_minorintegerTak
notesstringNie
labelsobjectTakEvery label on the document, in the reader's language.
localestringNie
directionstring<ltr, rtl>Tak
payablebooleanTak

Błędy, które ten punkt końcowy może zwrócić

404 · 429