Skip to main content
Paygentic uses API keys as bearer tokens for authentication. Every request must include a valid key.

Key Structure

Keys are tied to users and environments:
  • Each key belongs to one user
  • Inherits that user’s permissions
  • Environment-specific: sk_test_ (sandbox) or sk_live_ (production)
  • Work only with their matching API endpoint
See Environments for details on sandbox vs production.

Getting Keys

After logging into the Paygentic dashboard:
  1. Navigate to Settings
  2. Select API Keys tab
  3. Copy your key
Store securely in environment variables or secret managers. Never expose in client-side code or commit to version control.

Making Requests

Include keys in the Authorization header using Bearer authentication scheme. All requests must use HTTPS. HTTP requests will fail. Unauthenticated requests will fail. For user permission management, see Organizations.