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