Recovery
Let a customer who was denied or sent to review prove themselves and continue. About Recovery
The call
POST /v1/recoveries, when you deny or review someone.
curl https://signetsentry.com/v1/recoveries \
-H "Authorization: Bearer sk_live_..." -H "Content-Type: application/json" \
-d '{"session_id":"s_...","account_id":"u_42","amount":49.90,"currency":"USD",
"return_url":"https://shop.example/checkout",
"expected":{"first_name":"Jordan","last_name":"Rivera"}}'
# -> 201 { "id": "rc_...", "url": "https://signetsentry.com/r/rt_...", "step": "id", "eligible": true, "reason": null, "expires_at": "..." }
| Field | Meaning |
|---|---|
session_id | Required. The session that was denied or sent to review. |
account_id, reference | Your IDs for the customer and the order. |
amount, currency | Counted as revenue that came back. |
return_url | Where the customer goes after. ?recovery=rc_... is appended. |
steps | device, id. Only stricter than Signet’s minimum. |
expected | The account holder’s first_name, last_name, date_of_birth, compared with the ID. Only then can the device become trusted. |
What to do
- Send the customer to
url. - They come back to your
return_url. - Read
GET /v1/recoveries/{id}from your server. Continue only whenstatusisrecovered.
The ?recovery= in the address is not proof.
In a workflow it is the step recovery, after the device check.
The answer
| Field | Meaning |
|---|---|
status | created, started, pending_review, recovered, failed, expired |
step, step_used | What is asked for, and what was passed: device or id. |
identity | matched: the ID is the account holder’s. not_compared: you sent no expected. |
trusted_device_id | The trusted device it created, if any. |
fail_reason | not_recoverable, device_not_confirmed, id_declined, id_erased, too_many_attempts, revoked, simulated |
Not eligible answers 200 with eligible: false and a reason:
reason | Meaning |
|---|---|
not_recoverable, fraud_label | This block cannot be undone here. |
not_denied, not_assessed | There is nothing to undo. |
too_many_recoveries | This visitor has had too many recently. |
stronger_step_required, id_unavailable | Your steps leave out the one needed, or ID verifications are not available. |
recovery_in_review | An ID check is waiting for your reviewer. |
A recovered visitor carries VISITOR_RECOVERED, which lowers the risk.
Webhook events
| Event | When |
|---|---|
recovery.completed | It ended. data: the recovery, recovered or failed. |
recovery.revoked | A reviewer took back the ID approval it rested on. |
Test values
The page offers Recovered and Failed.
session_id | Answer |
|---|---|
test_deny | Eligible, step id |
test_review | Eligible, step device |
test_allow | not_denied |
test_automation | not_recoverable |
Limits and errors
Starter and above. Free; an ID step uses 1 ID verification. The link lasts 24 hours, and asking again returns the same recovery with a new link. An ID proves who someone is, not what they intend. Also the common errors.
| Status | Code | When |
|---|---|---|
| 400 | session_required, invalid_steps, invalid_amount, invalid_currency, invalid_return_url, invalid_expected | Fix the field. |
| 403 | plan_feature_required | The account has no plan with Recovery. |
| 404 | session_not_found | The session is not your account’s. |
| 409 | try_again | Two requests for one visitor at the same moment. |
expected is encrypted and deleted when the recovery ends: what is stored.