XML 107 R62.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Segment reporting (Details Text) (Detail) | Mar. 31, 2018 | Dec. 31, 2017 | Mar. 31, 2017 | Dec. 31, 2016 | Dec. 31, 2015
--- | --- | --- | --- | --- | ---
Segment Reporting Details Text [Abstract] |  |  |  |  |
Revenue arising, customers located abroad | 2.00% | 2.00% | 2.00% | 5.00% | 8.00%

X
- Definition Revenue arising, customers located abroad + References No definition available. + Details
Name: | pags_RevenueArisingCustomersLocatedAbroad
Namespace Prefix: | pags_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Segment reporting (Details Text) + References No definition available. + Details
Name: | pags_SegmentReportingDetailsTextAbstract
Namespace Prefix: | pags_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration