agency-invoicing
GET /v1/agency-invoicing/portal/{token}
The invoice, for the person paying it. Unauthenticated.
Упълномощаване
Този крайpoint е публичен. Той не изисква данни за удостоверяване и организация — това е съдържанието, което нашият собствен маркетинг сайт и AI машини за отговори четат.
Този ендпойнт не изисква идентификатор на организация. Вашият ключ вече идентифицира организацията, към която принадлежи, и отговорът е ограничен до нея.
Опитайте
Заменете всичко в квадратни скоби със собствени стойности, а ключовия заместващ символ – с ключ от вашето табло за управление.
curl -X GET https://api.zinndigital.com/v1/agency-invoicing/portal/{token}Влязохте ли в профила си? API конзолата във вашето табло за управление попълва действителното идентификационно число на вашата организация и вашия собствен ключ и изпълнява заявката спрямо реалното API, за да можете да видите действителния отговор. Отворете този крайpoint в API конзолата
Детайли
⛔ **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.
Параметри
| Име | Тип | Задължително | Какво представлява |
|---|---|---|---|
token (path) | string | Да | The capability token from the payment link on the invoice. |
Отговор
| Име | Тип | Задължително | Какво представлява |
|---|---|---|---|
number | string | Да | — |
status | string | Да | — |
currency | string | Да | — |
issue_date | string | Не | — |
due_date | string | Не | — |
seller | object | Не | The issuing agency, frozen at issue. |
buyer | object | Не | — |
lines | object[] | Не | — |
tax_groups | object[] | Не | — |
subtotal | string | Не | — |
tax_total | string | Не | — |
total | string | Да | — |
amount_due | string | Не | — |
amount_due_minor | integer | Да | — |
labels | object | Не | 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> | Не | — |
notes | string | Не | — |
offline | object | Не | 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… |
Грешки, които този крайpoint може да върне
404 · 429