API referenceWebhook endpoints
Retire the previous signing secret
Ends a rotation overlap now. Deliveries are then signed with the current secret only.
DELETE
Ends a rotation overlap now. Deliveries are then signed with the current secret only.
bearerAuthheader
AuthorizationBearer <token>A secret key, sk_test_… or sk_live_….
id*stringThe object id.
Success.
application/json- response
id*stringobject*stringurl*stringlivemode*booleanenabled_events*array<string>Event types to deliver, or ["*"] for all.
status*stringValue in
"enabled""disabled""deleted"api_version*stringdescription*string|nullmetadata*Your own key-value strings, returned as sent.
created*integerUnix timestamp in seconds.
curl -X DELETE 'https://runepay.co/api/v1/webhook_endpoints/string/previous_secret' \ -H 'Authorization: Bearer sk_test_...'Example Response
{ "id": "we_01KA9F6G8H0J2K4M6N8P0Q2R4S", "object": "webhook_endpoint", "url": "https://merchant.example/hooks", "livemode": false, "enabled_events": [ "*" ], "status": "enabled", "api_version": "2026-12-15", "description": null, "metadata": {}, "created": 1767225600}