public

GET /v1/pay/invoices/{token}

An invoice, for the person paying it. Unauthenticated.

Bütün public nöqtələri

Bütün tərtibatçı sənədləri

Doğrulama

Bu nöqtə açıqdır. O, heç bir etimadnamə və təşkilat tələb etmir — bu, öz marketinq saytımızın və süni intellekt cavab mühərriklərimizin oxuduğu hissədir.

Bu endpoint heç bir təşkilat ID-si tələb etmir. Sizin açarınız artıq aid olduğu təşkilatı müəyyən edir və cavab həmin təşkilat üçün məhdudlaşdırılır.

Sınaqdan keçir

Bucaqlı mötərizələrdə olan hór şeyi öz qiymətlərinizlə, açar yertutucusunu isə idarə panelinizdən bir açarla əvəz edin.

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

Sistemə daxil olmusunuz? İdarə panelinizdəki API konsolu real təşkilatınızın identifikatorunu və öz açarınızı avtomatik doldurur, sorğunu canlı API-yə qarşı icra edir ki, siz faktiki cavabı görə biləsiniz. Bu son nöqtəni API konsolunda açın

Təfərrüatlar

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.

Parametrlər

AdTipTələb olunurNədir
token (path)stringBəli

Cavab

AdTipTələb olunurNədir
referencestringBəli
statusstring<sent, paid>Bəli
currencystringBəli
issue_datestringBəli
due_datestringXeyr
due_date_displaystringXeyrThe due date in the reader's own convention, already formatted.
buyerobjectBəli
linesobject[]Bəli
subtotalstringBəli
tax_totalstringBəli
totalstringBəli
total_minorintegerXeyr
amount_duestringBəliZero once paid. Computed, never stored — a page saying money is due beside a Paid badge is the worst thing this can render.
amount_due_minorintegerBəli
notesstringXeyr
labelsobjectBəliEvery label on the document, in the reader's language.
localestringXeyr
directionstring<ltr, rtl>Bəli
payablebooleanBəli

Bu son nöqtənin qaytara biləcəyi xətalar

404 · 429