If authentication fails, the API returns
401 Unauthorized.
Credential handling
- Create API keys in the merchant dashboard.
- Store
X-Api-Secretin a secret manager. - Never expose API secrets in mobile apps, browsers, logs, or public repositories.
- Rotate or revoke credentials from the dashboard if a secret is exposed.