Larkspur Outfitters

A pretend outdoor-gear shop that uses Signet the way a real business would: at signup, login, checkout, when a customer links a bank account for payouts or store credit, for ID and age checks, when a chargeback arrives and when someone asks to have their data deleted. Every page shows the exact API calls the shop's server made.

Pick who is using the shop

The buttons in the green bar switch the visitor. Each one is a fixed session id, so you can see how every product answers a good customer, a borderline one and a fraudster.

Try a flow

How the pieces fit

  1. Browser: every page loads the Signet tag with the public site key. It produces a session_id (Signet.getSessionId(), or a hidden signet_session_id field in any <form data-signet>).
  2. Your server: the form posts the session id with the rest of the form. The server calls Signet with the secret key (Authorization: Bearer sk_...) and gets a decision: allow, review or deny.
  3. Your business logic: allow, ask for a second step (one-time code, ID check, micro-deposits) or block. Later, tell Signet what really happened (POST /v1/feedback) and listen for signed webhooks.

The secret key never reaches the browser. If Signet is unreachable the sample fails open (lets the customer through and logs it), so an outage never stops your shop.