agency-invoicing
GET /v1/agency-invoicing/portal/{token}
The invoice, for the person paying it. Unauthenticated.
Autentifikacija
Ova krajnja tačka je javna. Ona ne zahteva nikakve akreditive ni organizaciju — to je ono što čitaju naš sopstveni marketinški sajt i AI mašine za odgovore.
Ovaj krajnji tačka ne prihvata ID organizacije. Vaš ključ već identifikuje organizaciju kojoj pripada, a odgovor je ograničen na nju.
Isprobajte
Zamenite bilo šta u uglastim zagradama sopstvenim vrednostima, a ključni placeholder sa ključem sa vaše kontrolne table.
curl -X GET https://api.zinndigital.com/v1/agency-invoicing/portal/{token}Prijavljeni ste? API konzola na vašoj kontrolnoj tabli automatski popunjava ID vaše stvarne organizacije i vaš sopstveni ključ, i izvršava zahtev nad API-jem uživo tako da možete videti stvarni odgovor. Otvorite ovu krajnju tačku u API konzoli
Detalji
⛔ **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.
Parametri
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
token (path) | string | Da | The capability token from the payment link on the invoice. |
Odgovor
| Naziv | Vrsta | Obavezno | Šta je ovo |
|---|---|---|---|
number | string | Da | — |
status | string | Da | — |
currency | string | Da | — |
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 | Da | — |
amount_due | string | Ne | — |
amount_due_minor | integer | Da | — |
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… |
Greške koje ovaj krajnji tačka može da vrati
404 · 429