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
التفاصيل
⛔ **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