agency-invoicing
GET /v1/agency-invoicing/portal/{token}
The invoice, for the person paying it. Unauthenticated.
احراز هویت
این نقطه پایانی عمومی است. هیچ مدرک احراز هویت و هیچ سازمانی نمیپذیرد — این همان چیزی است که سایت بازاریابی خودمان و موتورهای پاسخدهنده هوش مصنوعی میخوانند.
این نقطه پایانی هیچ شناسه سازمانی را دریافت نمیکند. کلید شما در حال حاضر سازمان مربوطه را مشخص میکند و پاسخ در همان محدوده ارائه میشود.
امتحان کنید
هر چیزی را که داخل براکتهای زاویهدار قرار دارد با مقادیر خودتان جایگزین کنید، و نگهدارنده کلید را با کلیدی از داشبورد خود جایگزین نمایید.
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. |
پاسخ
| نام | نوع | الزامی | چیست |
|---|---|---|---|
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 `get… |
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