ავტორიზაცია

ეს ენდპოინტი საჯაროა. ის არ მოითხოვს არც რამედას და არც ორგანიზაციას — ეს არის ის, რასაც ჩვენი მარკეტინგული საიტი და AI პასუხების ძრავები კითხულობენ.

ეს ბოლო წერტილი არ იღებს ორგანიზაციის იდენტიფიკატორს. თქვენი გასაღები უკვე აიდენტიფიცირებს იმ ორგანიზაციას, რომელსაც ის ეკუთვნის, და პასუხი შემოფარგლულია მისით.

სცადეთ

შეSubstituted any value inside angle brackets with your own and the key placeholder with a key from your dashboard.

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

შესული ხართ? თქვენი სამართავ პანელში არსებული API კონსოლი ავტომატურად ამატებს თქვენი რეალური ორგანიზაციის ID-სა და საკუთარ გასაღებს და ატარებს მოთხოვნას ცოცხალ API-ს წინააღმდეგ, რათა იხილოთ რეალური პასუხი. გაAღით ეს ენდპოინტი 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