Skip to main content
Use this page when you are setting up credentials, CI environments, or deployment policies.

Base URLs

EnvironmentBase URLUse case
Sandboxhttps://api-sandbox.pagou.aiLocal development, automated tests, pre-production verification
Productionhttps://api.pagou.aiLive 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

  1. Validate auth and network access in sandbox.
  2. Run your end-to-end happy path against sandbox.
  3. Verify webhook ingestion, deduplication, and reconciliation.
  4. 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.