Key format
Keys are environment-specific:
Sandbox keys only work with sandbox endpoints. Live keys only work with production endpoints.
Creating keys
- Log in to the Paygentic Dashboard
- Navigate to More → Developer → API Keys
- Select Create New Key
- Name the key descriptively
- Copy immediately - it won’t be shown again
Managing keys
Viewing keys- See all active keys
- Check creation and last-used dates
- Identify by descriptive names
- View partial values (last 4 characters)
Usage
Include keys in the Authorization header using Bearer authentication scheme.Security practices
Mandatory- Never commit keys to git
- Use environment variables
- Rotate keys regularly
- Revoke compromised keys immediately
- Use sandbox keys for development only
- Separate keys per application
- Monitor usage to find inactive keys
- Document which applications use which keys
- Use descriptive key names
Troubleshooting
Authentication failures- Verify correct key format
- Check key hasn’t been revoked
- Confirm environment match (test vs live)
- Use correct base URL for environment
- Verify user permissions for the key
- Check organization context
- Contact admin for permission changes