agency-invoicing
GET /v1/agency-invoicing/portal/{token}
The invoice, for the person paying it. Unauthenticated.
Doğrulama
Bu nöqtə açıqdır. O, heç bir etimadnamə və təşkilat tələb etmir — bu, öz marketinq saytımızın və süni intellekt cavab mühərriklərimizin oxuduğu hissədir.
Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.
Sınaqdan keçir
Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.
curl -X GET https://api.zinndigital.com/v1/agency-invoicing/portal/{token}Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın
Təfərrüatlar
⛔ **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.
Parametrlər
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
token (path) | string | Bəli | The capability token from the payment link on the invoice. |
Cavab
| Ad | Tip | Tələb olunur | Nədir |
|---|---|---|---|
number | string | Bəli | — |
status | string | Bəli | — |
currency | string | Bəli | — |
issue_date | string | Xeyr | — |
due_date | string | Xeyr | — |
seller | object | Xeyr | The issuing agency, frozen at issue. |
buyer | object | Xeyr | — |
lines | object[] | Xeyr | — |
tax_groups | object[] | Xeyr | — |
subtotal | string | Xeyr | — |
tax_total | string | Xeyr | — |
total | string | Bəli | — |
amount_due | string | Xeyr | — |
amount_due_minor | integer | Bəli | — |
labels | object | Xeyr | 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> | Xeyr | — |
notes | string | Xeyr | — |
offline | object | Xeyr | 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… |
Bu son nöqtənin qaytara biləcəyi xətalar
404 · 429