post
https://sandbox-api.bxnk.com/api/v1/product-apis/psp//webhooks
Create a webhook endpoint for a PSP.
Authentication
Requires X-Access-Key and X-Secret-Key headers.
Path parameters
pspId(number): the PSP identifier
Request body
JSON payload matching CreateWebhookEndpointDto.
Required fields:
url(string)
Optional fields:
secret(string)isActive(boolean)
Response
201: Webhook endpoint created successfully. Returneddata(WebhookEndpointResponseDto) includes:idpspIdmerchantId(nullable)urlisActivecreatedAtupdatedAt
400: Bad request401: Unauthorized403: Forbidden500: Internal server error