public
GET /v1/pay/invoices/{token}
An invoice, for the person paying it. Unauthenticated.
توثيقِ شناخت
یہ اینڈ پوائنٹ عوامی ہے۔ یہ کوئی اسناد اور کوئی تنظیم نہیں لیتا — یہ وہ ہے جسے ہماری اپنی مارکیٹنگ سائٹ اور 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 | ہاں | — |
جواب
| نام | قسم | لازمی | یہ کیا ہے |
|---|---|---|---|
reference | string | ہاں | — |
status | string<sent, paid> | ہاں | — |
currency | string | ہاں | — |
issue_date | string | ہاں | — |
due_date | string | نہیں | — |
due_date_display | string | نہیں | The due date in the reader's own convention, already formatted. |
buyer | object | ہاں | — |
lines | object[] | ہاں | — |
subtotal | string | ہاں | — |
tax_total | string | ہاں | — |
total | string | ہاں | — |
total_minor | integer | نہیں | — |
amount_due | string | ہاں | 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_minor | integer | ہاں | — |
notes | string | نہیں | — |
labels | object | ہاں | Every label on the document, in the reader's language. |
locale | string | نہیں | — |
direction | string<ltr, rtl> | ہاں | — |
payable | boolean | ہاں | — |
وہ خرابیان جو یہ اینڈ پوائنٹ واپس کر سکتا ہے
404 · 429