public

GET /v1/pay/invoices/{token}

An invoice, for the person paying it. Unauthenticated.

Dukkan public wuraren ƙarshe

Dukan takardun mai haɓakawa

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

SunaNau'iAna buƙataAbin da yake
token (path)stringEh

Martani

SunaNau'iAna buƙataAbin da yake
referencestringEh
statusstring<sent, paid>Eh
currencystringEh
issue_datestringEh
due_datestringA'a
due_date_displaystringA'aThe due date in the reader's own convention, already formatted.
buyerobjectEh
linesobject[]Eh
subtotalstringEh
tax_totalstringEh
totalstringEh
total_minorintegerA'a
amount_duestringEhZero once paid. Computed, never stored — a page saying money is due beside a Paid badge is the worst thing this can render.
amount_due_minorintegerEh
notesstringA'a
labelsobjectEhEvery label on the document, in the reader's language.
localestringA'a
directionstring<ltr, rtl>Eh
payablebooleanEh

Kuskuren da wannan matsaya za ta iya maido wa

404 · 429