If you suspect your key has been compromised, or if you simply want to refresh your credentials as part of regular maintenance, you can easily generate a new one directly from your v2 dashboard.
Log in to your dashboard. Click on API Keys on the left navigation bar
Locate the specific environment key you want to change, either sandbox or production.
Look at the Actions column and click on the Rotate API Key icon (represented by circular arrows).
Confirm Action:
A confirmation modal will pop up on your screen. Click the red Rotate Key button to proceed.
The system will immediately replace your old key with a freshly generated one. You can now copy the new key and update your application's environment variables or configurations.
Warning: Rotating an API key takes effect immediately. Any applications currently using the old key will instantly lose access, and API requests will fail until the new key is implemented.

