vellTRDocs
API Referansına DönWebhook'larWebhook Uç Noktasını Güncelle

Webhook Uç Noktasını Güncelle

PATCH/v1/stores/{storeId}/webhooks/{webhookId}Core

Bir webhook uç noktasını etkinleştirir veya devre dışı bırakır.

Kimlik Doğrulama

İmza Deseni

Dashboard JWT bearer (not the HMAC public API).
BaşlıkDeğerAçıklama
AuthorizationBearer {jwt}Merchant dashboard JWT (from /v1/auth/login)
Content-Typeapplication/jsonRequest content type

İstek Parametreleri

AdTürZorunluAçıklama
activebooleanİsteğe BağlıEnable/disable delivery

İstek Örneği

JSONİstek Gövdesi
{
  "active": false
}

Yanıt Parametreleri

AlanTürÖrnek
idstring"whe_9a2e6b4d4e8a"
urlstring"https://merchant.example.com/kvell/webhook"
activebooleanfalse
statusstring"active"

Yanıt Örneği

JSONYanıt
{
  "id": "whe_9a2e6b4d4e8a",
  "url": "https://merchant.example.com/kvell/webhook",
  "active": false,
  "status": "active"
}

Durum Kodları

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