Get your credentials
1
Open the panel
Sign in at app.amplopay.com and go to Integrations → API.
2
Create a new credential
Click New credential, give it a descriptive name, and select the Create/Consult transactions scope.
3
Copy the values
Copy the Client ID and Client Secret. The Client Secret is shown only once, store it in a secret manager.
Sign a request
Pass the credentials as HTTP Basic authentication. TheAuthorization header is the base64 encoding of client_id:client_secret.
Security best practices
- Never commit credentials to source control. Load them from environment variables or a secret manager.
- Restrict credential scopes to only what your integration needs.
- Rotate credentials periodically, and immediately if you suspect a leak.
- Use HTTPS for every request. AmploPay refuses plaintext HTTP.
Errors
If authentication fails, the API responds with401 Unauthorized: