Test mode
Build and test the whole integration before a real visitor arrives.
Use the pk_test_ and sk_test_ keys from signup, or create a pair with POST /v1/test-keys and your live secret key. Sandbox calls need no plan, use no quota and store nothing. Answers carry "test_mode": true, or "test": true on some products.
curl -X POST https://signetsentry.com/v1/assess -H "Authorization: Bearer sk_test_..." \
-H "Content-Type: application/json" -d '{"session_id":"test_deny","event":"checkout"}'
| Session ID | Result |
|---|---|
test_allow | allow Score 5, RETURNING_DEVICE. |
test_review | review Score 50: datacenter, VPN and a new device. |
test_deny | deny Score 100: Tor, automation and many accounts. |
The tag can pick the outcome for you:
<script async src="https://signetsentry.com/v1/tag.js"
data-site-key="pk_test_..." data-test-outcome="review"></script>
Test values by product
| Product | Choose the answer with |
|---|---|
| Shield | The token |
| Email Risk | The start of the address |
| Phone Risk | The number |
| Link Risk | The link |
| Promo Guard | The campaign name |
| Bank Verification | The account number |
| Dispute Evidence | The transaction or session ID |
| Verify, age checks | The scenario: 27 scenarios |
| Photo Proof | The scenario |
| Recovery | The session ID |
| Workflows | Pass, Review or Fail at each step |
| Decoys | A code that contains decoy |
| Signed receipts | Nothing: always rcpt_test |
| Decision log | The ID: 1, 2, 3 or pending |
| Customers | The customer ID, or scenario on a write |
| Reports | Nothing: always the sample account |
Limits and errors
Test keys work under the paths below. Anything else answers 403 test_key_not_allowed. Also the common errors.
| Area | Paths |
|---|---|
| Decisions | /v1/assess, /v1/sessions, /v1/shield, /v1/feedback, /v1/cases, /v1/recoveries, /v1/receipts, /v1/log, and the passkey calls under /v1/accounts/{id}/passkeys |
| Checks | /v1/risk, /v1/email, /v1/phone, /v1/url, /v1/promo, /v1/bank, /v1/disputes, /v1/transactions, /v1/decoys |
| People | /v1/verifications, /v1/screenings, /v1/customers, /v1/photo-proofs, /v1/workflows, /v1/workflow-sessions, /v1/workflow-themes, /v1/domains |
| Account | /v1/account, /v1/reports |