agency-invoicing
GET /v1/agency-invoicing/portal/{token}
The invoice, for the person paying it. Unauthenticated.
Аутентификация
Этот эндпоинт является публичным. Он не требует учетных данных и организации — его читают наш собственный маркетинговый сайт и поисковые системы на базе ИИ.
Этот эндпоинт не принимает идентификатор организации. Ваш ключ уже определяет организацию, к которой он принадлежит, и ответ ограничивается ее рамками.
Попробовать
Замените всё в угловых скобках на собственные значения, а плейсхолдер ключа — на ключ из вашей панели управления.
curl -X GET https://api.zinndigital.com/v1/agency-invoicing/portal/{token}Вошли в систему? Консоль API в вашей панели управления автоматически подставляет реальный идентификатор вашей организации и ваш собственный ключ, а также выполняет запрос к работающему API, чтобы вы могли увидеть актуальный ответ. Откройте эту конечную точку в 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… |
Ошибки, которые может возвращать этот эндпоинт
404 · 429