Webhooks

Rotate a webhook signing secret

Immediately replaces the endpoint's prior secret. The new secret is returned only in this response.

post/api/v1/webhooks/{id}/secret

Request

  • Base URL: https://api.xrpay.it
  • URL: https://api.xrpay.it/api/v1/webhooks/{id}/secret
  • Auth: HTTP bearer

Path parameters

idstring required

Response

Secret rotated and revealed once

object'webhook_secret' required
webhook_idstring required
secretstring required
secret_revealedunknown required
livemodeboolean required
rotated_atstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.