Authentication is required to access protected endpoints in the AmploPay API.
Getting credentials
To use the API, you need a public key and a private key. These credentials can be generated in your account dashboard.
- Access the AmploPay dashboard.
- Go to the API section in the integrations area.
- Click
Generate credentials.
- Store the keys in a secure location. The private key will not be displayed again.
Include the headers below in every authenticated request:
Axios example
The example below is illustrative only. It shows how to send the headers, but it does not represent a specific endpoint.
Security
- Never share your private key.
- Store keys in environment variables, vaults, or secret managers.
- Never include keys in frontend code.
- Never commit credentials to repositories.
- Always use HTTPS.
- Monitor credential usage and regenerate keys if compromise is suspected.
Support
If you have questions about credentials or authentication, contact the AmploPay support team through your dashboard.