Skip to main content
POST
Rotate the signing secret

Authorizations

DPoP
string
header
required

Per-request DPoP proof JWT (RFC 9449). MUST accompany the Authorization: DPoP <access_token> header on every protected operation. The proof is signed by the merchant's private DPoP key and carries htm, htu, iat, jti, and ath claims.

Headers

Idempotency-Key
string
required

Unique key identifying this operation. Sending the same key twice returns the original response instead of creating a duplicate. Keys are retained for 24 hours.

Maximum string length: 255

Path Parameters

id
string
required
Pattern: ^whk_[a-zA-Z0-9]+$

Query Parameters

immediate
boolean
default:false

When true, skip the dual-signature grace window: the previous secret is dropped at once and previous_secret_expires_at is null.

Response

Rotated. Response carries the new secret.

data
object
required