Use this page when you are setting up credentials, CI environments, or deployment policies.
Base URLs
| Environment | Base URL | Use case |
|---|
| Sandbox | https://api-sandbox.pagou.ai | Local development, automated tests, pre-production verification |
| Production | https://api.pagou.ai | Live merchant traffic and operational reconciliation |
Environment policy
- Keep separate credentials for sandbox and production.
- Never expose production tokens in frontend code.
- Treat sandbox and production webhook destinations as different endpoints.
- Use the same request shapes across environments so your deployment delta is configuration, not code.
Release checklist
- Validate auth and network access in sandbox.
- Run your end-to-end happy path against sandbox.
- Verify webhook ingestion, deduplication, and reconciliation.
- Switch only credentials and base URL during production rollout.
Do not hardcode environment selection inside business logic. Inject it through configuration so production cutover is operationally safe.