public
GET /v1/pay/invoices/{token}
An invoice, for the person paying it. Unauthenticated.
Πισtoποίηση
Αυτό το τελικό σημείο είναι δημόσιο. Δεν απαιτεί διαπιστευτήρια ούτε οργανισμό — είναι αυτό που διαβάζουν ο δικός μας ιστότοπος μάρκετινγκ και οι μηχανές απαντήσεων τεχνητής νοημοσύνης.
Αυτό το τελικό σημείο δεν δέχεται αναγνωριστικό οργανισμού. Το κλειδί σας προσδιορίζει ήδη τον οργανισμό στον οποίο ανήκει, και η απάντηση περιορίζεται σε αυτόν.
Δοκιμάστε το
Ατικatastήstε ό,τι βρίskεtai μέσα σe γώniaδeς μe τis δikές sas timές, kai to placeholder klεidioύ μe éna klεidi apó ton pinaka ελέgchou sas.
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.
Παράμετροι
| Όνομα | Τύpος | Υποχρεωτικό | Τι είναι |
|---|---|---|---|
token (path) | string | Ναι | — |
Απάντηση
| Όνομα | Τύpος | Υποχρεωτικό | Τι είναι |
|---|---|---|---|
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