Skip to main content

LGPD Compliance for Integrators

Quick Reference

WhatLGPD compliance requirements for A55 integrators
WhyBrazilian law requires lawful processing of personal data in payment transactions
Reading Time12 min
DifficultyIntermediate
PrerequisitesBasic understanding of data protection concepts

What is LGPD

The Lei Geral de Proteção de Dados (Law No. 13,709/2018) is Brazil's comprehensive data protection law, effective since September 2020. It governs how personal data is collected, processed, stored, and shared — including payment data.

LGPD is enforced by the ANPD (Autoridade Nacional de Proteção de Dados) and applies to any organization processing personal data of individuals in Brazil, regardless of where the organization is based.

Data A55 Processes

Data CategoryExamplesStorage
Cardholder nameAs provided in payer.nameField-level Fernet encryption in PostgreSQL
Card number (PAN)4111 1111 1111 1111Encrypted at field level (Fernet AES-128-CBC) — stored in PostgreSQL, never in plaintext
Card expirationMonth/yearField-level Fernet encryption in PostgreSQL
CVV3-digit codeNever stored — used only during authorization
CPF/CNPJpayer.documentEncrypted at rest
Emailpayer.emailEncrypted at rest
IP addressCollected for anti-fraudRetained per anti-fraud policy
Transaction dataAmount, status, timestampsRetained per regulatory requirements
CVV handling

A55 never stores CVV. It is transmitted in-memory to the acquirer during authorization and immediately discarded. You should never store CVV on your side either — it is a security risk.

A55 processes personal data under these LGPD legal bases:

Legal BasisLGPD ArticleApplies To
Contract executionArt. 7, VProcessing payments as part of a purchase contract between merchant and buyer
Legal obligationArt. 7, IIRetaining transaction records as required by BACEN and tax regulations
Legitimate interestArt. 7, IXAnti-fraud analysis and transaction monitoring
ConsentArt. 7, IMarketing communications (if applicable)

Merchant Responsibilities

As a merchant integrating with A55, you are a data controller for the personal data you collect. A55 acts as a data processor for payment operations.

You must:

  1. Collect valid consent — Inform users what data you collect and why before they pay
  2. Maintain a privacy policy — Your policy must disclose that payment data is processed by a third-party (A55)
  3. Appoint a DPO — Designate an Encarregado and publish their contact information
  4. Maintain a data processing record — Document what personal data you process, why, and for how long
  5. Report incidents — Notify ANPD and affected individuals in case of a data breach
  6. Honor data subject rights — Respond to access, correction, and deletion requests within 15 days

Privacy policy checklist:

  • Discloses which personal data is collected during checkout
  • Names A55 as a payment processor (data processor)
  • States the legal basis for processing (contract execution)
  • Describes data retention periods
  • Provides contact for data subject rights requests
  • Lists data subject rights under LGPD

Data Subject Rights

LGPD grants individuals these rights regarding their personal data:

RightLGPD ArticleYour Obligation
AccessArt. 18, IIProvide a copy of all personal data you hold
CorrectionArt. 18, IIIFix inaccurate personal data
Anonymization/blocking/deletionArt. 18, IVDelete data that is no longer necessary
PortabilityArt. 18, VTransfer data to another service provider
Information on sharingArt. 18, VIIDisclose which third parties received the data
Revocation of consentArt. 18, IXStop processing data based on consent
Deletion limitations

Some payment data cannot be deleted due to regulatory requirements. Transaction records must be retained for at least 5 years per BACEN regulations. Inform data subjects of this limitation when processing deletion requests.

Data Retention Periods

Data TypeRetentionReason
PAN / expiry / cardholder name (encrypted)Merchant active + 12 monthsRegulatory minimum storage
Transaction logs365 daysOperational and regulatory compliance
CVV0 seconds — never storedSecurity best practice — never stored post-authorization
Anti-fraud data (IP, device)Per anti-fraud policyFraud investigation window
Audit logs12+ monthsSecurity and compliance
Backups7 daysAzure-managed retention

ANPD Notification

In case of a security incident affecting personal data:

  1. Notify ANPD within a reasonable timeframe (LGPD does not specify exact hours, but ANPD recommends 2 business days)
  2. Notify affected data subjects if the incident poses risk to their rights
  3. Document the incident — nature, affected data, measures taken, and remediation plan

A55 will notify you if an incident on our side affects your customers' data, as required by our Data Processing Agreement.

Best Practices

  1. Collect only what you need — Do not request additional personal data beyond what is required for the transaction
  2. Use A55's tokenization — Never store raw card numbers; use tokens returned by A55
  3. Encrypt data at rest — All personal data stored on your side must be encrypted
  4. Implement access controls — Limit who in your organization can access personal data
  5. Document everything — Maintain records of processing activities, consent, and data subject requests
  6. Regular audits — Review your data processing practices quarterly
  7. Train your team — Ensure staff handling personal data understand LGPD obligations