Update webhook endpoint
Updates mutable fields of a webhook endpoint (url, events, description, status, maxAttempts). Only fields included in the body are changed. Events, if provided, REPLACE the previous subscription set — no partial merge. Use status: "disabled" to pause deliveries without deleting the endpoint. Send maxAttempts: null to fall back to the platform default; stripe_compat endpoints ignore it and keep their own retry schedule.
Authorization
bearer In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://<api-host>/v1/webhooks/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
Generates a new signing secret for the specified endpoint. 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 merchant withdrawal method
Creates a new saved withdrawal method for a merchant. Validates `methodType` against the platform catalog and `details` against the catalog entry’s field schema. New methods enter a cooling period (status "cooling") and become usable only after `activatesAt`.