API Reference

Obtaining your API key is a critical step in integrating Herepay's payment gateway. Follow this step-by-step guide to retrieve your key:

Step 1: Log In to Your Herepay Account

  • Visit the Herepay portal
  • Use your registered email and password to sign in.
  • If you don’t have an account, create one and complete the verification process.

Step 2: Navigate to API Settings

  • Once logged in, access the dashboard.
  • Go to the Settings section, then select Personal.

Step 3: Generate Your API Key

  • Locate the API area within the settings.
  • Click on Regenerate API Token to create a new key.
  • Your API key will be displayed once generated.

Step 4: Secure Your API Key

  • Copy and securely store the API key.
  • Treat this key like a password—it grants access to Herepay’s APIs.
  • Avoid sharing it publicly or exposing it in your codebase.