public
GET /v1/pay/invoices/{token}
An invoice, for the person paying it. Unauthenticated.
Аутентификация
Бұл соңғы нүкте жалпыға қолжетімді. Ол ешқандай тіркелгі деректерін және ешқандай ұйымды қажет етпейді — оны біздің өзіміздің маркетингтік сайтымыз бен жасанды интеллект жауап беретін жүйелеріміз оқиды.
Бұл соңғы нүкте ұйым идентификаторын қабылдамайды. Сіздің кілтіңіз оның қай ұйымға тиесілі екенін өзі анықтайды және жауап соған шектеледі.
Әрекет етіп көру
Бұрыштық жақшалардағы кез келген нәрсені өз мәндеріңізбен, ал кілт орналастырушысын басқару тақтасынан алынған кілтпен алмастырыңыз.
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үрі | Міндетті | Мазмұны |
|---|---|---|---|
reference | string | Иә | — |
status | string<sent, paid> | Иә | — |
currency | string | Иә | — |
issue_date | string | Иә | — |
due_date | string | Жоқ | — |
due_date_display | string | Жоқ | The due date in the reader's own convention, already formatted. |
buyer | object | Иә | — |
lines | object[] | Иә | — |
subtotal | string | Иә | — |
tax_total | string | Иә | — |
total | string | Иә | — |
total_minor | integer | Жоқ | — |
amount_due | string | Иә | 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_minor | integer | Иә | — |
notes | string | Жоқ | — |
labels | object | Иә | Every label on the document, in the reader's language. |
locale | string | Жоқ | — |
direction | string<ltr, rtl> | Иә | — |
payable | boolean | Иә | — |
Бұл соңғы нүкте қайтара алатын қателер
404 · 429