Update webhook endpoint (admin)
Admin variant of PATCH /v1/webhooks/endpoints/:id. Updates mutable fields (url, events, description, status, maxAttempts). Events, if provided, REPLACE the previous subscription set.
Authorization
bearer In: header
Path Parameters
Query Parameters
Selected merchant context
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://<api-host>/v1/admin/webhook-endpoints/string" \ -H "Content-Type: application/json" \ -d '{}'{
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"ownerType": "merchant",
"ownerId": "string",
"tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
"livemode": true,
"url": "http://example.com",
"description": "string",
"events": [
"string"
],
"status": "active",
"maxAttempts": 1,
"facadeCode": "native",
"createdAt": "string",
"updatedAt": "string",
"deletedAt": null
}
}Rotate webhook endpoint signing secret (admin)
Admin variant of POST /v1/webhooks/endpoints/:id/rotate-secret. Generates a new signing secret. The secret and exact deadline are returned in this non-cacheable response; reusing the same Idempotency-Key safely replays them after response loss. Store the secret securely and install it during the bounded grace period. Native and strp-compatible deliveries accept both secrets during grace; adn- and chkt-compatible deliveries keep using the previous secret until the deadline.
Create antifraud plan
Next Page