agency-invoicing
GET /v1/agency-invoicing/portal/{token}
The invoice, for the person paying it. Unauthenticated.
Autenticazione
Questo endpoint è pubblico. Non richiede credenziali né alcuna organizzazione: è ciò che leggono il nostro sito di marketing e i nostri motori di risposta basati su IA.
Questo endpoint non richiede alcun ID organizzazione. La tua chiave identifica già l'organizzazione a cui appartiene e la risposta è limitata ad essa.
Provalo
Sostituisci qualsiasi elemento tra parentesi angolari con i tuoi valori e il segnaposto key con una chiave dalla tua dashboard.
curl -X GET https://api.zinndigital.com/v1/agency-invoicing/portal/{token}Hai effettuato l'accesso? La console API nella tua dashboard inserisce il tuo ID organizzazione reale e la tua chiave personale, ed esegue la richiesta sull'API live in modo da poter vedere la risposta effettiva. Apri questo endpoint nella console API
Dettagli
⛔ **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.
Parametri
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
token (path) | string | Sì | The capability token from the payment link on the invoice. |
Risposta
| Nome | Tipo | Obbligatorio | Che cos'è |
|---|---|---|---|
number | string | Sì | — |
status | string | Sì | — |
currency | string | Sì | — |
issue_date | string | No | — |
due_date | string | No | — |
seller | object | No | The issuing agency, frozen at issue. |
buyer | object | No | — |
lines | object[] | No | — |
tax_groups | object[] | No | — |
subtotal | string | No | — |
tax_total | string | No | — |
total | string | Sì | — |
amount_due | string | No | — |
amount_due_minor | integer | Sì | — |
labels | object | No | 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> | No | — |
notes | string | No | — |
offline | object | No | 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… |
Errori che questo endpoint può restituire
404 · 429