Update webhook endpoint
Updates mutable fields of a webhook endpoint (url, events, description, status). 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.
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.miracle.com/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",
"url": "http://example.com",
"description": "string",
"events": [
"string"
],
"status": "active",
"createdAt": "string",
"updatedAt": "string",
"deletedAt": null
}
}Rotate webhook endpoint signing secret
Generates a new HMAC-SHA256 signing secret for the specified endpoint. The new secret is returned ONCE in this response — store it securely. The previous secret is replaced immediately.
Get withdrawal method catalog entry by type
Returns a single catalog entry by its machine-readable `type` key (e.g. "sepa_bank_transfer"). Use this when validating a saved method or when showing details of a specific method type.