public

GET /v1/pay/invoices/{token}

An invoice, for the person paying it. Unauthenticated.

Барлық public соңғы нүктелері

Барлық әзірлеуші құжаттамасы

Аутентификация

Бұл соңғы нүкте жалпыға қолжетімді. Ол ешқандай тіркелгі деректерін және ешқандай ұйымды қажет етпейді — оны біздің өзіміздің маркетингтік сайтымыз бен жасанды интеллект жауап беретін жүйелеріміз оқиды.

Бұл соңғы нүкте ұйым идентификаторын қабылдамайды. Сіздің кілтіңіз оның қай ұйымға тиесілі екенін өзі анықтайды және жауап соған шектеледі.

Әрекет етіп көру

Бұрыштық жақшалардағы кез келген нәрсені өз мәндеріңізбен, ал кілт орналастырушысын басқару тақтасынан алынған кілтпен алмастырыңыз.

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

Жүйеге кіргенсіз бе? Бақылау тақтасындағы API консолі ұйымыңыздың нақты идентификаторы мен жеке кілтіңізді автоматты түрде толтырады да, нақты жауапты көре алуыңыз үшін сұрауды тікелей жұмыс істеп тұрған API арқылы орындайды. Бұл соңғы нүктені API консолінде ашыңыз

Мәліметтер

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.

Параметрлер

АтыTүріМіндеттіМазмұны
token (path)stringИә

Жауап

АтыTүріМіндеттіМазмұны
referencestringИә
statusstring<sent, paid>Иә
currencystringИә
issue_datestringИә
due_datestringЖоқ
due_date_displaystringЖоқThe due date in the reader's own convention, already formatted.
buyerobjectИә
linesobject[]Иә
subtotalstringИә
tax_totalstringИә
totalstringИә
total_minorintegerЖоқ
amount_duestringИәZero once paid. Computed, never stored — a page saying money is due beside a Paid badge is the worst thing this can render.
amount_due_minorintegerИә
notesstringЖоқ
labelsobjectИәEvery label on the document, in the reader's language.
localestringЖоқ
directionstring<ltr, rtl>Иә
payablebooleanИә

Бұл соңғы нүкте қайтара алатын қателер

404 · 429