Rotate the webhook secret

Generates a new signing secret for the webhook. Paisr begins signing payloads with the new secret immediately, so update your endpoint before rotating to avoid rejected deliveries.

PATCH

Headers

string

The Bearer token for authentication.

string

The user agent of the request. Must contain at least two identifiers separated by a space.

string

The content type of the request.

Parameters

string

The ID of the webhook to rotate the secret for.

Response Body

application/json
boolean

Indicates that the request was successful.

object

The webhook secret.

string

The webhook signing secret.