agency-invoicing
GET /v1/agency-invoicing/portal/{token}
The invoice, for the person paying it. Unauthenticated.
Аутентификација
Ова крајња тачка је јавна. Не захтева никакве акредитиве нити организацију — то је оно што читају наш сопствени маркетиншки сајт и машине за одговоре са вештачком интелигенцијом.
Ова крајња тачка не прихвата id организације. Ваш кључ већ идентификује организацију којој припада, а одговор је ограничен на њу.
Испробајте
Замените све што је у угластим заградама сопственим вредностима, а чувар места кључа кључем са своје контролне табле.
curl -X GET https://api.zinndigital.com/v1/agency-invoicing/portal/{token}Пријављени сте? API конзола на вашој контролној табли попуњава ваш прави id организације и ваш сопствени кључ, и покреће захтев према живом 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… |
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