Skip to content

Environments

Creditas provides separate environments so you can validate your integration before sending real applications. Credentials and tokens belong to one environment and are not interchangeable.

Environment Authentication endpoint Auto Equity base URL
Staging https://auth-staging.creditas.com.br/api/affiliate_clients/tokens https://stg-api.creditas.io/mx/b2b/autoequity
Production https://auth.creditas.com.br/api/affiliate_clients/tokens https://api.creditas.io/mx/b2b/autoequity

Documented resources append their path to the Auto Equity base URL. For example, creating a lead in staging uses:

https://stg-api.creditas.io/mx/b2b/autoequity/api/leads

Use staging to develop and validate the complete flow. This environment preserves the integration rules and validations, but it must not be used with real customer information.

  • Use staging credentials only.
  • Work with the test data specified in the documentation.
  • Validate approved, rejected, and manual-review scenarios before certifying the integration.

Use production only after completing the validations agreed with Creditas.

  • Change both the authentication endpoint and the Auto Equity base URL.
  • Load production credentials from your secrets manager.
  • Avoid logging request bodies, tokens, or personal information.

Continue to Authentication to generate a token for the selected environment.