agency-invoicing
GET /v1/agency-invoicing/portal/{token}
The invoice, for the person paying it. Unauthenticated.
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/agency-invoicing/portal/{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.** The payer is the agency's client and has no account here; the token in the URL is the whole authorisation and reaches exactly one invoice. A revoked, void or draft link answers `404`, the same as a wrong token — telling them apart would confirm to a stranger that a token is real.
Parametry
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
token (path) | string | Ano | The capability token from the payment link on the invoice. |
Odpověď
| Název | Typ | Požadováno | Co to je |
|---|---|---|---|
number | string | Ano | — |
status | string | Ano | — |
currency | string | Ano | — |
issue_date | string | Ne | — |
due_date | string | Ne | — |
seller | object | Ne | The issuing agency, frozen at issue. |
buyer | object | Ne | — |
lines | object[] | Ne | — |
tax_groups | object[] | Ne | — |
subtotal | string | Ne | — |
tax_total | string | Ne | — |
total | string | Ano | — |
amount_due | string | Ne | — |
amount_due_minor | integer | Ano | — |
labels | object | Ne | Every label on the page, already in the client's language. ⛔ Served from the platform's translation catalogue rather than a gettext call: this engine has no `.po` files, so `get… |
direction | string<ltr, rtl> | Ne | — |
notes | string | Ne | — |
offline | object | Ne | How to pay when the agency has connected no gateway — their own written payment instructions and contact address, frozen onto the document. ⭐ A payment page that offered nothing… |
Chyby, které může tento koncový bod vrátit
404 · 429