Update a webhook endpoint
Disabling fails pending deliveries; enabling does not resend them.
Disabling fails pending deliveries; enabling does not resend them.
bearerAuthAuthorizationBearer <token>A secret key, sk_test_… or sk_live_….
id*stringThe object id.
Idempotency-Key?stringMakes a retry safe: the same key and body within 24 hours does not repeat the request.
application/json- body
api_version?stringEvent envelope version. Defaults to 2026-12-15.
description?string|nullmetadata?Your own key-value strings, returned as sent.
url?stringA public HTTPS URL.
enabled_events?array<string>status?string"enabled""disabled"Success.
application/json- response
id*stringobject*stringurl*stringlivemode*booleanenabled_events*array<string>Event types to deliver, or ["*"] for all.
status*string"enabled""disabled""deleted"api_version*stringdescription*string|nullmetadata*Your own key-value strings, returned as sent.
created*integerUnix timestamp in seconds.
curl -X PATCH 'https://runepay.co/api/v1/webhook_endpoints/string' \ -H 'Authorization: Bearer sk_test_...' \ -H 'Content-Type: application/json' \ -d '{ "status": "disabled"}'{ "id": "we_01KA9F6G8H0J2K4M6N8P0Q2R4S", "object": "webhook_endpoint", "url": "https://merchant.example/hooks", "livemode": false, "enabled_events": [ "*" ], "status": "disabled", "api_version": "2026-12-15", "description": null, "metadata": {}, "created": 1767225600}Rotate the signing secret POST
Returns the new secret once. Deliveries are signed with both secrets during the overlap unless `immediate` is true. A retry with the same Idempotency-Key gets `409 secret_not_replayable`; rotate again for a new secret.
checkout.session.completed Webhook
Sent to your endpoint, signed with `RunePay-Signature`. The full object is snapshotted at emit time.