Skip to main content

Regulatory Compliance Overview

The Baanx Consent Management API is designed to help you meet data privacy regulations including GDPR, CCPA, and other regional requirements. This guide covers compliance considerations and best practices.
This guide provides technical implementation guidance. Consult with legal counsel to ensure your specific implementation meets all applicable regulatory requirements.

GDPR Compliance

The General Data Protection Regulation (GDPR) applies to organizations processing personal data of EU residents.

Key GDPR Requirements

Lawful Basis

Establish legal basis for data processing (consent, contract, legitimate interest)

Explicit Consent

Consent must be freely given, specific, informed, and unambiguous

Right to Withdraw

Users can withdraw consent as easily as they gave it

Records of Consent

Maintain proof of when and how consent was obtained
1

Clear Communication

Inform users before data collection about:
  • What data you’re collecting
  • Why you’re collecting it
  • How long you’ll retain it
  • Who you’ll share it with
  • Their rights (access, rectification, erasure, portability)
2

Granular Consent

Separate consent for different purposes:
Users must be able to opt-in to marketing separately from service requirements.
3

Affirmative Action

Require explicit opt-in (no pre-checked boxes):
4

Record Keeping

Capture comprehensive metadata:
5

Easy Withdrawal

Implement straightforward revocation:

Right to Be Forgotten (GDPR Article 17)

When users request data deletion:
  1. Revoke all consents:
  2. Export audit trail (for your records):
  3. Process deletion in your systems (user data, accounts, etc.)
The Baanx API maintains consent records even after revocation for regulatory compliance. This is permissible under GDPR as legitimate interest for legal defense.

CCPA Compliance

The California Consumer Privacy Act (CCPA) applies to businesses collecting personal information of California residents.

Key CCPA Requirements

CCPA-Compliant Implementation

Notice at Collection

Display clear privacy notice:

Opt-Out Mechanisms

Implement opt-out for data sales/sharing:
The denied status in consent records documents the user’s opt-out decision for regulatory compliance.

Audit Trail Management

The API maintains an immutable audit trail for all consent changes. Use this for regulatory compliance and investigations.

What’s Recorded in Audit Trail

Each audit record contains:

Audit Trail Use Cases

Export complete consent history for regulatory examinations:
Users can request their consent history:
Generate periodic compliance reports:

Best Practices

1. Version Your Policies

Track policy versions in metadata to prove which version users consented to:
When policies change significantly, require re-consent:
Consider re-confirming consent periodically:

3. Separate Required vs Optional Consents

Make it clear which consents are necessary for service:
UI Example:
Build user-facing consent preferences:
Maintain application-level logs for consent operations:
Guide users to complete required consents:

Data Retention

  • Active consent records: Retain indefinitely while user account is active
  • Revoked consents: Retain for legal defense (typically 7 years minimum)
  • Audit trail: Retain according to regulatory requirements (GDPR: 6 years, CCPA: varies)

Deletion After Account Closure

When a user closes their account:
  1. Retain consent audit trail for legal hold period
  2. Mark records as “account closed” but don’t delete
  3. After legal hold expires, anonymize consent records (remove PII from metadata)

Regional Considerations

US-Specific Requirements

  • Use policyType: "US" for US-based users
  • Requires eSignAct consent for E-Sign Act compliance
  • Consider state-specific laws (CCPA in California, VCDPA in Virginia, etc.)
  • All 5 consent types required

EU-Specific Requirements

  • Use policyType: "global" for EU users
  • 4 consent types (excludes eSignAct)
  • Implement “Right to Object” for automated processing
  • Provide data portability mechanisms

Multi-Region Deployments

Use the x-us-env header to route requests correctly:

Next Steps

Implementation Guide

Technical integration steps

Troubleshooting

Common issues and solutions

API Reference

Complete endpoint documentation

Overview

Back to consent management overview