public

GET /v1/pay/invoices/{token}

An invoice, for the person paying it. Unauthenticated.

جميع نقاط نهاية public

جميع مستندات المطورين

المصادقة

هذه نقطة النهاية عامة. فهي لا تتطلب أي بيانات اعتماد ولا أي مؤسسة - بل هي ما تقرؤه مواقعنا التسويقية ومحركات الإجابة بالذكاء الاصطناعي الخاصة بنا.

لا يقبل هذا الطرف أي معرف للمؤسسة. يحدد مفتاحك بالفعل المؤسسة التي ينتمي إليها، وتكون الاستجابة محصورة في نطاقها.

جربه الآن

استبدل أي شيء بين أقواس زاوية بقيمك الخاصة، والعنصر النائب للمفتاح بمفتاح من لوحة تحكمك.

curl -X GET https://api.zinndigital.com/v1/pay/invoices/{token}

هل سجلت الدخول؟ تقوم وحدة تحكم واجهة برمجة التطبيقات في لوحة التحكم الخاصة بك بربط معرف مؤسستك الحقيقي ومفتاحك الخاص، وتنفذ الطلب مقابل واجهة برمجة التطبيقات المباشرة لتتمكن من رؤية الاستجابة الفعلية. افتح هذه النهاية الطرفية في وحدة تحكم API

التفاصيل

No authentication and no session. The payer may have no account here at all; the capability token in the path is the whole authorisation and it reaches exactly one invoice. Every string in the response is already translated into the recipient's locale — the one stored on the document, not the one of whoever's browser opened the link. The page that renders this holds no copy of its own. Every refusal answers with the same sentence whatever the cause — a wrong token, a draft, a withdrawn or an unknown one. Distinguishing them would confirm to a stranger that a token is real, which is the oracle that makes a capability URL worth sweeping.

المعلمات

الاسمالنوعمطلوبما هو هذا
token (path)stringنعم

الاستجابة

الاسمالنوعمطلوبما هو هذا
referencestringنعم
statusstring<sent, paid>نعم
currencystringنعم
issue_datestringنعم
due_datestringلا
due_date_displaystringلاThe due date in the reader's own convention, already formatted.
buyerobjectنعم
linesobject[]نعم
subtotalstringنعم
tax_totalstringنعم
totalstringنعم
total_minorintegerلا
amount_duestringنعمZero once paid. Computed, never stored — a page saying money is due beside a Paid badge is the worst thing this can render.
amount_due_minorintegerنعم
notesstringلا
labelsobjectنعمEvery label on the document, in the reader's language.
localestringلا
directionstring<ltr, rtl>نعم
payablebooleanنعم

الأخطاء التي يمكن أن تُرجعها نقطة النهاية هذه

404 · 429