public

GET /v1/pay/invoices/{token}

An invoice, for the person paying it. Unauthenticated.

Tất cả các điểm cuối public

Tất cả tài liệu dành cho nhà phát triển

Xác thực

Điểm cuối này là công khai. Nó không yêu cầu thông tin xác thực hay tổ chức nào — đây chính là nội dung mà trang web tiếp thị và các công cụ trả lời bằng AI của chúng tôi đọc.

Endpoint này không nhận ID tổ chức. Khóa của bạn đã xác định tổ chức mà nó thuộc về và phản hồi được giới hạn trong phạm vi đó.

Dùng thử

Thay thế bất kỳ nội dung nào trong ngoعل (angle brackets) bằng giá trị của riêng bạn và trình giữ chỗ key bằng một key từ trang tổng quan của bạn.

curl -X GET https://api.zinndigital.com/v1/pay/invoices/{token}

Đã đăng nhập? Bảng điều khiển API trong trang quản lý của bạn sẽ tự điền ID tổ chức thực tế và khóa của riêng bạn, sau đó chạy yêu cầu đối với API trực tiếp để bạn có thể xem phản hồi thực tế. Mở điểm cuối này trong bảng điều khiển API

Chi tiết

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.

Tham số

TênLoạiBắt buộcNội dung này là gì
token (path)string

Phản hồi

TênLoạiBắt buộcNội dung này là gì
referencestring
statusstring<sent, paid>
currencystring
issue_datestring
due_datestringKhông
due_date_displaystringKhôngThe due date in the reader's own convention, already formatted.
buyerobject
linesobject[]
subtotalstring
tax_totalstring
totalstring
total_minorintegerKhông
amount_duestringZero 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
notesstringKhông
labelsobjectEvery label on the document, in the reader's language.
localestringKhông
directionstring<ltr, rtl>
payableboolean

Các lỗi điểm cuối này có thể trả về

404 · 429