RevKeen Docs

Environments

Production, staging, and mock environments for the RevKeen API

RevKeen exposes separate environments for live traffic, persisted pre-production testing, and schema-only mocking.

Environment matrix

EnvironmentBase URLAuthPurpose
Productionhttps://api.revkeen.com/v2rk_live_* via x-api-keyLive transactions and real customer data
Staginghttps://staging-api.revkeen.com/v2rk_sandbox_* via x-api-keyIntegration testing, QA, demos, and release validation
Mockhttps://mock-api.revkeen.com/v2Auth not enforcedSchema validation, client prototyping, and CI smoke checks
  1. Start in Mock when you only need response shapes, frontend prototyping, or schema validation.
  2. Move to Staging when you need persisted data, webhook delivery, and realistic lifecycle testing.
  3. Promote to Production only after the same flows are stable in staging.

Choosing the right environment

ScenarioRecommended environment
UI prototyping or contract validationMock
Local app integration and QAStaging
End-to-end billing flow validationStaging
Webhook testingStaging
Real customer trafficProduction

Environment-specific behavior

  • Production creates live side effects and should only be used with live keys and real workflows.
  • Staging is the default integration environment and the right place for webhook and end-to-end validation.
  • Mock does not persist state, does not emit webhooks, and does not validate tenant auth.

Use Mock for shape validation. Use Staging when you need persistence, realistic lifecycle flows, or webhook testing.

Next Steps

On this page