agency-invoicing

GET /v1/agency-invoicing/portal/{token}

The invoice, for the person paying it. Unauthenticated.

Все эндпоинты agency-invoicing

Аутентификация

Этот эндпоинт является публичным. Он не требует учетных данных и организации — его читают наш собственный маркетинговый сайт и поисковые системы на базе ИИ.

Этот эндпоинт не принимает идентификатор организации. Ваш ключ уже определяет организацию, к которой он принадлежит, и ответ ограничивается ее рамками.

Попробовать

Замените всё в угловых скобках на собственные значения, а плейсхолдер ключа — на ключ из вашей панели управления.

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.

Ответ

ИмяТипОбязательноЧто это
numberstringДа
statusstringДа
currencystringДа
issue_datestringНет
due_datestringНет
sellerobjectНетThe issuing agency, frozen at issue.
buyerobjectНет
linesobject[]Нет
tax_groupsobject[]Нет
subtotalstringНет
tax_totalstringНет
totalstringДа
amount_duestringНет
amount_due_minorintegerДа
labelsobjectНет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…
directionstring<ltr, rtl>Нет
notesstringНет
offlineobjectНет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