Get started
Authentication
Learn how to authenticate with the Plexy API
Authentication
All API requests require authentication using your API key.
API Keys
You can find your API keys in the Plexy Dashboard.
Never expose your secret API key in client-side code or public repositories.
Making Authenticated Requests
Include your secret key in the x-api-key header:
curl https://api.plexypay.com/v2/payments \
-H "x-api-key: YOUR_API_KEY"Security Best Practices
- Use environment variables - Never hardcode API keys
- Rotate keys regularly - Generate new keys periodically
- Use test keys for development - Only use live keys in production
- Restrict key permissions - Use the minimum required permissions
- Monitor usage - Review API logs for suspicious activity