vellTRDocs

Faturaları Listele

GET/v1/invoicesOptional

Keyset sayfalama ile faturaları listeler. Filtreler: storeId, status.

Kimlik Doğrulama

İmza Deseni

HMAC-SHA256(secretKey, "{timestamp}\nGET\n/v1/invoices\n{sha256(\"\")}")
BaşlıkDeğerAçıklama
X-Api-Keypk_live_a1b2c3d4e5f6g7h8Merchant public API key
X-Signature{hmac_sha256_hex}Hex HMAC-SHA256 request signature
X-Timestamp2026-04-13T10:00:00ZISO 8601 UTC request time (±5 min)

İstek Parametreleri

AdTürZorunluAçıklama
storeIdstringİsteğe BağlıFilter by store
statusstringİsteğe Bağlıdraft|sent|activated|viewed|paid|expired|cancelled
limitintegerİsteğe BağlıPage size
cursorstringİsteğe BağlıOpaque keyset cursor

Yanıt Parametreleri

AlanTürÖrnek
itemsarray[…]
items[].idstring"inv_7a8b9c0d1e2f"
items[].storeIdstring"sto_5a6b7c8d"
items[].statusstring"sent"
items[].amountMinorinteger50000
items[].currencystring"TRY"
items[].createdAtstring"2026-04-13T10:00:00Z"
nextCursorstring"eyJjcmVhdGVkQXQiOiIyMDI2LTA0LTEzVDEwOjAw…

Yanıt Örneği

JSONYanıt
{
  "items": [
    {
      "id": "inv_7a8b9c0d1e2f",
      "storeId": "sto_5a6b7c8d",
      "status": "sent",
      "amountMinor": 50000,
      "currency": "TRY",
      "createdAt": "2026-04-13T10:00:00Z"
    }
  ],
  "nextCursor": "eyJjcmVhdGVkQXQiOiIyMDI2LTA0LTEzVDEwOjAwOjAwWiJ9"
}

Durum Kodları

200Success
201Created
400Bad Request
401Unauthorized
404Not Found
429Rate Limited
DeneSahte
GEThttps://api.pay.sandbox.kvell.group