vellTRDocs
API Referansına DönAboneliklerKart Güncelleme Oturumu

Kart Güncelleme Oturumu

POST/v1/public/subscriptions/{hash}/update-card-sessionOptional

Alıcı "Kartı güncelle"ye tıkladığında bu uç nokta tetiklenir: bir card_update_only ödeme oturumu oluşturur ve URL'sini döndürür.

Kimlik Doğrulama

İmza Deseni

None — public buyer endpoint, the subscription publicHash is the bearer.

İstek Örneği

JSONİstek Gövdesi
{}

Yanıt Parametreleri

AlanTürÖrnek
sessionIdstring"2a7b8c9d-0e1f-3f1c-9a2e-6b4d4e8a9c1f"
checkoutUrlstring"https://pay.kvell.group/s/2a7b8c9d-0e1f-…
expiresAtstring"2026-04-13T11:00:00Z"

Yanıt Örneği

JSONYanıt
{
  "sessionId": "2a7b8c9d-0e1f-3f1c-9a2e-6b4d4e8a9c1f",
  "checkoutUrl": "https://pay.kvell.group/s/2a7b8c9d-0e1f-3f1c-9a2e-6b4d4e8a9c1f",
  "expiresAt": "2026-04-13T11:00:00Z"
}

Durum Kodları

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