<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:ifrs-full="https://xbrl.ifrs.org/taxonomy/2025-03-27/ifrs-full"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:pags="http://international.pagseguro.com/20251231"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="pags-20251231.xsd" xlink:type="simple"/>
    <context id="D20251231_3">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001712807</identifier>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="D20251231_BusinessContactMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001712807</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:EntityAddressesAddressTypeAxis">dei:BusinessContactMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-01-01</startDate>
            <endDate>2025-12-31</endDate>
        </period>
    </context>
    <context id="I20251231_ClassACommonSharesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001712807</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ifrs-full:ClassesOfShareCapitalAxis">pags:ClassACommonSharesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-12-31</instant>
        </period>
    </context>
    <context id="I20251231_ClassBCommonSharesMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001712807</identifier>
            <segment>
                <xbrldi:explicitMember dimension="ifrs-full:ClassesOfShareCapitalAxis">pags:ClassBCommonSharesMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <instant>2025-12-31</instant>
        </period>
    </context>
    <unit id="Shares">
        <measure>shares</measure>
    </unit>
    <dei:CurrentFiscalYearEndDate contextRef="D20251231_3" id="Tag43">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:EntityCentralIndexKey contextRef="D20251231_3" id="Tag44">0001712807</dei:EntityCentralIndexKey>
    <dei:DocumentFiscalPeriodFocus contextRef="D20251231_3" id="Tag45">FY</dei:DocumentFiscalPeriodFocus>
    <dei:DocumentFiscalYearFocus contextRef="D20251231_3" id="Tag46">2025</dei:DocumentFiscalYearFocus>
    <dei:AmendmentFlag contextRef="D20251231_3" id="Tag47">true</dei:AmendmentFlag>
    <dei:DocumentType contextRef="D20251231_3" id="Tag37">20-F/A</dei:DocumentType>
    <dei:DocumentRegistrationStatement contextRef="D20251231_3" id="Tag5">false</dei:DocumentRegistrationStatement>
    <dei:DocumentAnnualReport contextRef="D20251231_3" id="Tag6">true</dei:DocumentAnnualReport>
    <dei:DocumentPeriodEndDate contextRef="D20251231_3" id="Tag1">2025-12-31</dei:DocumentPeriodEndDate>
    <dei:DocumentTransitionReport contextRef="D20251231_3" id="Tag10">false</dei:DocumentTransitionReport>
    <dei:DocumentShellCompanyReport contextRef="D20251231_3" id="Tag11">false</dei:DocumentShellCompanyReport>
    <dei:EntityFileNumber contextRef="D20251231_3" id="Tag12">001-38353</dei:EntityFileNumber>
    <dei:EntityRegistrantName contextRef="D20251231_3" id="Tag13">PAGSEGURO DIGITAL LTD.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode contextRef="D20251231_3" id="Tag14">E9</dei:EntityIncorporationStateCountryCode>
    <dei:EntityAddressAddressLine1 contextRef="D20251231_3" id="Tag15">Cricket Square, Hutchins Drive</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="D20251231_3" id="Tag16">P.O. Box 2681</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="D20251231_3" id="Tag17">Grand Cayman</dei:EntityAddressCityOrTown>
    <dei:EntityAddressPostalZipCode contextRef="D20251231_3" id="Tag18">KY1-1111</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressCountry contextRef="D20251231_3" id="Tag19">KY</dei:EntityAddressCountry>
    <dei:ContactPersonnelName contextRef="D20251231_BusinessContactMember" id="Tag20">Gustavo Bahia Gama Sechin</dei:ContactPersonnelName>
    <dei:CountryRegion contextRef="D20251231_BusinessContactMember" id="Tag21">55</dei:CountryRegion>
    <dei:CityAreaCode contextRef="D20251231_BusinessContactMember" id="Tag22">11</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="D20251231_BusinessContactMember" id="Tag23">3914-9524</dei:LocalPhoneNumber>
    <dei:ContactPersonnelEmailAddress contextRef="D20251231_BusinessContactMember" id="Tag24">ir@pagbank.com</dei:ContactPersonnelEmailAddress>
    <dei:EntityAddressAddressLine1 contextRef="D20251231_BusinessContactMember" id="Tag25">Av. Brigadeiro Faria Lima, 1384, 1&#xba; ao 10&#xba; andares, Sal&#xe3;o e Mezanino</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown contextRef="D20251231_BusinessContactMember" id="Tag26">S&#xe3;o Paulo</dei:EntityAddressCityOrTown>
    <dei:EntityAddressPostalZipCode contextRef="D20251231_BusinessContactMember" id="Tag27">01451-001</dei:EntityAddressPostalZipCode>
    <dei:EntityAddressCountry contextRef="D20251231_BusinessContactMember" id="Tag28">BR</dei:EntityAddressCountry>
    <dei:Security12bTitle contextRef="D20251231_3" id="Tag7">Class&#160;A common shares, par&#160;value&#160;US$0.000025</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="D20251231_3" id="Tag8">PAGS</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="D20251231_3" id="Tag9">NYSE</dei:SecurityExchangeName>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="I20251231_ClassACommonSharesMember"
      decimals="0"
      id="Tag29"
      unitRef="Shares">185218201</dei:EntityCommonStockSharesOutstanding>
    <dei:EntityCommonStockSharesOutstanding
      contextRef="I20251231_ClassBCommonSharesMember"
      decimals="0"
      id="Tag30"
      unitRef="Shares">120459508</dei:EntityCommonStockSharesOutstanding>
    <dei:EntityWellKnownSeasonedIssuer contextRef="D20251231_3" id="Tag31">Yes</dei:EntityWellKnownSeasonedIssuer>
    <dei:EntityVoluntaryFilers contextRef="D20251231_3" id="Tag32">No</dei:EntityVoluntaryFilers>
    <dei:EntityCurrentReportingStatus contextRef="D20251231_3" id="Tag33">Yes</dei:EntityCurrentReportingStatus>
    <dei:EntityInteractiveDataCurrent contextRef="D20251231_3" id="Tag34">Yes</dei:EntityInteractiveDataCurrent>
    <dei:EntityFilerCategory contextRef="D20251231_3" id="Tag2">Large Accelerated Filer</dei:EntityFilerCategory>
    <dei:EntityEmergingGrowthCompany contextRef="D20251231_3" id="Tag3">false</dei:EntityEmergingGrowthCompany>
    <dei:IcfrAuditorAttestationFlag contextRef="D20251231_3" id="Tag35">true</dei:IcfrAuditorAttestationFlag>
    <dei:DocumentFinStmtErrorCorrectionFlag contextRef="D20251231_3" id="Tag36">false</dei:DocumentFinStmtErrorCorrectionFlag>
    <dei:DocumentAccountingStandard contextRef="D20251231_3" id="Tag4">International Financial Reporting Standards</dei:DocumentAccountingStandard>
    <dei:EntityShellCompany contextRef="D20251231_3" id="Tag38">false</dei:EntityShellCompany>
    <dei:AmendmentDescription contextRef="D20251231_3" id="Tag40">This Amendment No. 1 to the Annual Report on Form 20-F (&#x201c;Amendment No. 1&#x201d;) of PagSeguro Digital Ltd. (the &#x201c;Company&#x201d;) amends the Company&#x2019;s Annual Report on Form 20-F for the year ended December 31, 2025 (the &#x201c;Annual Report&#x201d;), originally filed with the Securities and Exchange Commission on April 29, 2026 (the &#x201c;Original Filing&#x201d;), is being filed to correct a typographical error in the Original Filing to reflect the correct signing date of the Report of Independent Registered Public Accounting Firm of PricewaterhouseCoopers Auditores Independentes Ltda. and inadvertent typographical errors.Other than as set forth above, this Amendment No. 1 does not amend or update any other information contained in the Original Filing, or reflect any events that have occurred after the filing of the Original Filing. Accordingly, this Amendment No. 1 should be read in conjunction with the Original Filing.This Amendment No. 1 comprises: (i) a cover page, (ii) this explanatory note, (iii) Item 15. Controls and Procedures and (iv) Item 18. Financial Statements; each of Item 15. Controls and Procedures and Item 18. Financial Statements in its entirety and without any amendments from the Original Filing other than the correction of the signing date of the Report of Independent Registered Public Accounting Firm of PricewaterhouseCoopers Auditores Independentes Ltda. and inadvertent typographical errors.In addition, pursuant to the rules of the SEC, the exhibit list included herewith reflects currently-dated certifications from the Company&#x2019;s principal executive officer and chief financial officer and chief accounting officer, which are filed as exhibits to this Amendment No. 1.</dei:AmendmentDescription>
</xbrl>
