"newApiKeyId": "6801abcdef555444",
"prefix": "ak_yZ9tK3mQ",
"token": "ak_yZ9tK3mQwPx1rLs7nJd4bVf2hOu6cAi0eGk8jRnWqXsMnB",
"expiresAt": "2026-07-10T00:00:00.000Z",
"previousKeyId": "6801abcdef777666",
"previousKeyStatus": "rotating",
"previousKeyExpiresAt": "2026-04-12T12:00:00.000Z"
}curl --location --request POST 'https://stp.paydaymx.com/api/partner/v1/api-keys/69dc102bd6c14afe9b1266d2/rotate' \
--header 'Idempotency-Key: ' \
--header 'X-Request-Id: ' \
--header 'X-Timestamp: ' \
--header 'X-Nonce: ' \
--header 'Content-Digest: ' \
--header 'X-Signature: ' \
--header 'X-Signature-Key-Id: v1' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"newApiKeyId": "69dc1041d6c14afe9b1266ec",
"prefix": "ak_ncwUYnj4d",
"token": "ak_ncwUYnj4dNlkU5udEkaV36v9qsh9eowoj9Brgn3hHlU",
"expiresAt": "2026-07-11T21:35:39.983Z",
"previousKeyId": "69dc102bd6c14afe9b1266d2",
"previousKeyStatus": "rotating",
"previousKeyExpiresAt": "2026-04-13T21:36:01.035Z"
}