patch
https://sandbox-api.bxnk.com/api/v1/product-apis/psp//webhooks//status
Enable or disable a webhook endpoint.
Authentication
Requires X-Access-Key and X-Secret-Key headers.
Path parameters
pspId(number): the PSP identifierendpointId(number): the webhook endpoint identifier
Request body
JSON payload matching UpdateWebhookStatusDto.
Required fields:
isActive(boolean)
Response
200: Webhook endpoint updated successfully. Returneddata(WebhookEndpointResponseDto) includes:idpspIdmerchantId(nullable)urlisActivecreatedAtupdatedAt
400: Bad request401: Unauthorized403: Forbidden404: Not found500: Internal server error