Skip to main content

Rotate API Key

POST 

/partner/wallets/:identifier/api-keys/:keyId/rotate

Atomically rotate a wallet API key: a new key is created with the same configuration (name, permissions, allowed IPs, allowed recipients) as the old one, then the old key is deactivated. The new secret is returned once — store it securely.

Use this instead of the manual create-then-revoke flow when you want zero-downtime rotation with identical settings.

Request

Responses

Key rotated; new secret returned once.