public

GET /v1/pay/invoices/{token}

An invoice, for the person paying it. Unauthenticated.

כל נקודות הקצה מסוג public

כל תיעוד המפתחים

אימות

נקודת קצה זו היא ציבורית. היא אינה דורשת שורת פרטי זיהוי ואינה דורשת ארגון – זהו המידע שאתרי השיווק ומנועי התשובות מבוססי ה-AI שלנו קוראים.

נקודת קצה זו אינה דורשת מזהה ארגון. המפתח שלך כבר מזהה את הארגון שאליו הוא שייך, והתגובה מוגבלת אליו בלבד.

נסה זאת

החלף כל דבר בסוגריים זוויתיים בערכים משלך, ואת מציין מיקום המפתח במפתח מלוח הבקרה שלך.

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

מחובר? קונסולת ה-API בלוח הבקרה שלך מזינה את מזהה הארגון האמיתי שלך ואת המפתח שלך, ומריצה את הבקשה מול ה-API הפיזי כך שתוכל לראות את התגובה בפועל. פתח נקודת קצה זו במסוף ה-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