Herkese Açık Fatura Görüntüleme
GET
/v1/public/invoices/{hash}OptionalHerkese açık bağlantı üzerinden alıcıya yönelik görüntüleme (publicHash bearer görevi görür; üye işyeri imzası gerekmez). İlk erişimde durum sent/activated → viewed olarak değişir.
Kimlik Doğrulama
İmza Deseni
None — public buyer endpoint, the invoice publicHash is the bearer.Yanıt Parametreleri
| Alan | Tür | Örnek |
|---|---|---|
publicHash | string | "aB3xK9mN2pQ7rS1tV5wY8z" |
merchantName | string | "Acme Store" |
status | string | "viewed" |
amountMinor | integer | 50000 |
currency | string | "TRY" |
lineItems | array | […] |
lineItems[].name | string | "Monthly subscription" |
lineItems[].qty | integer | 1 |
lineItems[].unitPriceMinor | integer | 50000 |
lineItems[].lineTotalMinor | integer | 50000 |
Yanıt Örneği
JSONYanıt
{
"publicHash": "aB3xK9mN2pQ7rS1tV5wY8z",
"merchantName": "Acme Store",
"status": "viewed",
"amountMinor": 50000,
"currency": "TRY",
"lineItems": [
{
"name": "Monthly subscription",
"qty": 1,
"unitPriceMinor": 50000,
"lineTotalMinor": 50000
}
]
}Durum Kodları
200Success
201Created
400Bad Request
401Unauthorized
404Not Found
429Rate Limited
DeneSahte
GEThttps://api.pay.sandbox.kvell.group