Signet

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": "..." }
FieldMeaning
session_idRequired. The session that was denied or sent to review.
account_id, referenceYour IDs for the customer and the order.
amount, currencyCounted as revenue that came back.
return_urlWhere the customer goes after. ?recovery=rc_... is appended.
stepsdevice, id. Only stricter than Signet’s minimum.
expectedThe account holder’s first_name, last_name, date_of_birth, compared with the ID. Only then can the device become trusted.

What to do

  1. Send the customer to url.
  2. They come back to your return_url.
  3. Read GET /v1/recoveries/{id} from your server. Continue only when status is recovered.

The ?recovery= in the address is not proof.

In a workflow it is the step recovery, after the device check.

The answer

FieldMeaning
statuscreated, started, pending_review, recovered, failed, expired
step, step_usedWhat is asked for, and what was passed: device or id.
identitymatched: the ID is the account holder’s. not_compared: you sent no expected.
trusted_device_idThe trusted device it created, if any.
fail_reasonnot_recoverable, device_not_confirmed, id_declined, id_erased, too_many_attempts, revoked, simulated

Not eligible answers 200 with eligible: false and a reason:

reasonMeaning
not_recoverable, fraud_labelThis block cannot be undone here.
not_denied, not_assessedThere is nothing to undo.
too_many_recoveriesThis visitor has had too many recently.
stronger_step_required, id_unavailableYour steps leave out the one needed, or ID verifications are not available.
recovery_in_reviewAn ID check is waiting for your reviewer.

A recovered visitor carries VISITOR_RECOVERED, which lowers the risk.

Webhook events

EventWhen
recovery.completedIt ended. data: the recovery, recovered or failed.
recovery.revokedA reviewer took back the ID approval it rested on.

Test values

The page offers Recovered and Failed.

session_idAnswer
test_denyEligible, step id
test_reviewEligible, step device
test_allownot_denied
test_automationnot_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.

StatusCodeWhen
400session_required, invalid_steps, invalid_amount, invalid_currency, invalid_return_url, invalid_expectedFix the field.
403plan_feature_requiredThe account has no plan with Recovery.
404session_not_foundThe session is not your account’s.
409try_againTwo requests for one visitor at the same moment.

expected is encrypted and deleted when the recovery ends: what is stored.