public

GET /v1/pay/invoices/{token}

An invoice, for the person paying it. Unauthenticated.

Tüm public uç noktaları

Tüm geliştirici belgeleri

Kimlik Doğrulama

Bu uç nokta arakatmana açıktır. Kimlik bilgisi ve organizasyon gerektirmez; kendi pazarlama sitemizin ve yapay zeka yanıt motorlarımızın okuduğu yerdir.

Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.

Dene

Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.

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

Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın

Ayrıntılar

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.

Parametreler

AdTürZorunluNe olduğu
token (path)stringEvet

Yanıt

AdTürZorunluNe olduğu
referencestringEvet
statusstring<sent, paid>Evet
currencystringEvet
issue_datestringEvet
due_datestringHayır
due_date_displaystringHayırThe due date in the reader's own convention, already formatted.
buyerobjectEvet
linesobject[]Evet
subtotalstringEvet
tax_totalstringEvet
totalstringEvet
total_minorintegerHayır
amount_duestringEvetZero once paid. Computed, never stored — a page saying money is due beside a Paid badge is the worst thing this can render.
amount_due_minorintegerEvet
notesstringHayır
labelsobjectEvetEvery label on the document, in the reader's language.
localestringHayır
directionstring<ltr, rtl>Evet
payablebooleanEvet

Bu uç noktanın dönderebileceği hatalar

404 · 429