PlexySDK DOCS
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

  1. Use environment variables - Never hardcode API keys
  2. Rotate keys regularly - Generate new keys periodically
  3. Use test keys for development - Only use live keys in production
  4. Restrict key permissions - Use the minimum required permissions
  5. Monitor usage - Review API logs for suspicious activity

On this page