Refresh API Key

Refresh API key with grace period

post

Refreshes a merchant's API key, generating a new key while keeping the old key valid during a grace period. This allows merchants to rotate their API keys seamlessly without service interruption. Both keys will work during the grace period.

Body

Request to refresh an existing API key with a grace period

api_keystringRequired

The actual API key to refresh

grace_period_minutesinteger · min: 1 · max: 60 · nullableOptional

Grace period in minutes during which both old and new API keys are valid (1-60 minutes)

namestring · nullableOptional

Optional new name for the API key

Responses
chevron-right
200

API key refreshed successfully

application/json
post
/v1/merchant/api_key/refresh

Last updated