Skip to content
veriffy
RUEN

Sandbox mode

A separate environment for development. Its keys, verifications, applicants and webhooks never mix with live ones.

Two environments

Every organisation has a live environment (live) and a sandbox (sandbox). The key that signs the request decides the environment.

Sandbox Live
Key vf_test_… vf_live_…
Data Test data only Real users
Webhooks Its own endpoints Its own endpoints
Forced decision Yes No

In the dashboard you switch environments with Sandbox mode in the menu. While it is on, you see only sandbox verifications, keys and webhooks.

Forcing a decision

To see how your server handles different outcomes, set the decision with a request. It works only with a sandbox key; a live key gets 403 sandbox_only.

Shell
curl https://api.veriffy.me/v1/sessions/{session_id}/simulate \
  -H "Authorization: Bearer $VERIFFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"decision": "resubmission_requested", "reason_codes": ["DOCUMENT_BLURRY"]}'
Field Values
decision approved, declined, resubmission_requested, review
reason_codes An optional list of reason codes

After the request an ordinary verification.decided webhook goes to your endpoint — exactly as after a real verification. The decision carries "decided_by": "simulation".

What to test in sandbox mode

  • The server accepts the webhook, verifies the signature and answers 2xx.
  • A second delivery of the same event does not change your data twice.
  • The interface behaves clearly on every outcome: approved, declined, resubmission, manual review.
  • An expired link: a new verification is created and the user is not left stuck.

Start typing: a section name, a parameter or an error code

↑↓ selectEnter openEsc close