(WFLA/CNN Newsource) – Disturbing revelations on how Facebook tricked children and their parents into spending money on the social media platform have been revealed.

The revelations were uncovered in 135 pages of documents relating to a since-settled 2012 class action case.

The documents were unsealed by a federal judge following a legal request by Reveal, which is part of the Center for Investigative Reporting.

Reveal reports the documents included evidence that Facebook allegedly encouraged game developers to get kids to spend money without their parents’ permission.

The papers also allege that Facebook refused to issue refunds in some cases and that the social media giant would not try to block kids from spending money because it would reduce revenues.

In a statement to USA Today, Facebook says it now works with parents and experts to offer tools for families navigating the internet.

The company says it’s also updated its terms of service to make it easier to request and receive refunds.