Environments and sandbox
Which host and key prefix to use, and what sandbox covers.
Base URL:
https://api.verifisha.comThe API key decides where it is routed from there.
| Key prefix | Routed to | Behaviour |
|---|---|---|
vrf_test_ | Staging | The staging environment. |
vrf_live_ | Production | The production environment. |
So moving from test to live is a change of key, not a change of URL.
What sandbox covers
Sandbox coverage is deliberately narrower than production. Fixtures exist for:
- creating and reading reports
- reading check definitions
Sandbox report fixtures include an IDENTITY result.
Telling the two apart
Every response carries X-Request-Id. Sandbox responses also carry:
X-Verifisha-Sandbox: trueAssert on that header in your integration tests. It is the cheapest guard against a live key reaching a test suite.