dpdp

Compliance is an API, not a scramble

India's DPDP Act wants purpose-level consent, withdrawal, and Data Principal rights. NexAuth stores consent as records — hash-chained, tamper-evident.

Consent at auth-time

otp + consent
POST /v1/otp/verify
{
  "identifier": "+91…", "code": "…",
  "consent": [{ "purpose": "txn_auth", "version": "v1.2" }]
}
→ consent row persisted with the session — timestamped, versioned

Withdrawal + DSR