agency-invoicing

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

The invoice, for the person paying it. Unauthenticated.

Све agency-invoicing крајње тачке

Сва документација за програмере →

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

Ова крајња тачка је јавна. Не захтева никакве акредитиве нити организацију — то је оно што читају наш сопствени маркетиншки сајт и машине за одговоре са вештачком интелигенцијом.

Ова крајња тачка не прихвата 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.

Одговор

НазивТипОбавезноШта је ово
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…
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