Base URL
Specific endpoints will be referenced in subsequent sections of this documentation.
API Keys
ProfiledRisk uses a single Secret Key for live transactionsDevelopers → API KeysTreat your Secret Key like a password.
Do not expose it in client-side, browser, or mobile applications.
Header Authentication
Every API request must include your Secret Key in theAuthorization header.
Header Format
[POST]
Body
Security Best Practices
To maintain compliance and protect your risk infrastructure:- Never store credentials directly in code repositories
- Use a secure secrets manager for environment variables
- Restrict access to keys based on least privilege
- Rotate credentials if leakage is suspected
- Disable and regenerate unused keys regularly
Error Handling
If authentication fails, ProfiledRisk returns standard HTTP error responses:| Code | Error | Reason |
|---|---|---|
401 Unauthorized | Authentication failed | Missing or invalid Secret Key |
403 Forbidden | Access denied | Key restricted or disabled |

