sajn ID - Identity Verification
sajn ID enables secure identity verification using Swedish BankID, allowing you to verify the identity of individuals before granting access to services or completing transactions.Overview
sajn ID provides two verification methods:- SSN-based verification: Verifies both identity and Swedish personal number (personnummer)
- Name-based verification: Verifies identity and name match without requiring SSN
How It Works
Verification Lifecycle
Status | Description |
---|---|
CREATED | Verification created but not sent |
SENT | Verification sent to recipient |
OPENED | Recipient opened verification link |
VERIFIED | Successfully verified |
FAILED | Verification failed |
EXPIRED | Verification link expired |
CANCELED | Verification was canceled |
Creating a Verification
SSN-Based Verification
Verify both identity and SSN:Name-Based Verification
Verify identity without SSN requirement:Delivery Channels
SMS
Send verification link via SMS:Verification Data
After successful verification, retrieve the BankID response data:Sensitive information like SSN is encrypted and only accessible to authorized users.
Use Cases
Customer Onboarding
Verify customer identity during account creation:Age Verification
Verify age without collecting SSN:Contract Signing Prerequisites
Verify identity before allowing document signing:Linking to Contacts
Link verifications to existing contacts:Audit Logs
Every verification includes a complete audit log:Expiration
Verification links expire after a set period (default: 7 days). Set custom expiration:Billing
Creating a sajn ID verification counts toward your monthly sajn ID quota and is billed according to your plan.
Security Considerations
Token security
Token security
Verification tokens are single-use and expire after completion or timeout.
SSN encryption
SSN encryption
SSNs are encrypted at rest and only accessible to authorized users with proper permissions.
Audit trail
Audit trail
Complete audit logs track every step of the verification process for compliance.
BankID security
BankID security
Leverages BankID’s robust security infrastructure for identity verification.
Best Practices
Clear Purpose
Use the
note
field to document why verification is neededReference IDs
Always include a reference to link verification to your workflow
Appropriate Method
Use SSN-based only when legally required; prefer name-based for privacy
Immediate Sending
Set
sendImmediately: true
for better user experience