The Sardine Identity integration lets you collect and reuse verified user identities through a hosted widget backed by a simple server-side API. Your backend holds the credentials; your frontend never touches them. There are two flows:Documentation Index
Fetch the complete documentation index at: https://docs.payments.sardine.ai/llms.txt
Use this file to discover all available pages before exploring further.
kyc_input— A new user verifies their identity for the first time. The widget collects personal information, captures a government ID, and runs a liveness check.kyc_sharing— A returning Sardine network user has already been verified by another partner. They consent to share their existing verified identity with you. This takes seconds.
GET /identity/entities/{customerId}.
Architecture
Key Concepts
customerId — A Sardine-assigned UUID created when you register a user viaPOST /identity/entities. Store this against your own user record; you’ll use it for all subsequent API calls.
scope — Controls which data the widget collects or shares. Common combinations:
["profile"]— Personal info only (name, DOB, address, email, phone)["profile", "doc_kyc"]— Full KYC with government ID and liveness check["doc_kyc"]— Document scan only (for users whose basic profile is already on file)
kyc_input for new verifications, kyc_sharing for reusing an existing verified identity from the Sardine network.
widgetUrl — A one-time URL generated server-side. Redirect the user to this URL or embed it in an iframe. The URL encodes a session token and consent ID — it does not need to be kept secret but should be used promptly.
Next Steps
- Quickstart — Go live in four steps
- API Integration — Full implementation reference