public
GET /v1/pay/invoices/{token}
An invoice, for the person paying it. Unauthenticated.
Tabbatar da Asali
Wannan yankin ƙarshen jama'a ne. Ba ya ɗaukar wata takardar shaida ko ƙungiya — shi ne abin da shafin kasuwancinmu da injunan amsa na AI ke karantawa.
Wannan wurin ƙarewa ba ya buƙatar ID na ƙungiya. Maɓallin ku ya riga ya gano ƙungiyar da yake ciki, kuma an iyakance amsa a kanta.
Gwada
May gurbin komai da ke cikin kusurwa da ƙimar ka, kuma may gurbin maballi da maballi daga allon sarrafa ka.
curl -X GET https://api.zinndigital.com/v1/pay/invoices/{token}An shiga? Na'urar sarrafa API da ke cikin sashin kulawarka tana cika ainihin lambar ƙungiyarka da maɓallinka naka, sannan tana gudanar da buƙatar a kan ainihin API don haka zaka iya ganin amsar gaske. Buɗe wannan tashar a cikin na'urar kula da API
Bayani
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.
Sigogi
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
token (path) | string | Eh | — |
Martani
| Suna | Nau'i | Ana buƙata | Abin da yake |
|---|---|---|---|
reference | string | Eh | — |
status | string<sent, paid> | Eh | — |
currency | string | Eh | — |
issue_date | string | Eh | — |
due_date | string | A'a | — |
due_date_display | string | A'a | The due date in the reader's own convention, already formatted. |
buyer | object | Eh | — |
lines | object[] | Eh | — |
subtotal | string | Eh | — |
tax_total | string | Eh | — |
total | string | Eh | — |
total_minor | integer | A'a | — |
amount_due | string | Eh | 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 | Eh | — |
notes | string | A'a | — |
labels | object | Eh | Every label on the document, in the reader's language. |
locale | string | A'a | — |
direction | string<ltr, rtl> | Eh | — |
payable | boolean | Eh | — |
Kuskuren da wannan matsaya za ta iya maido wa
404 · 429