Apple has requested approval for a settlement related to claims that the company encouraged children to make game-related in-app purchases without parental consent, Reuters reports.

According to a court filing, the agreement requires Apple to send notice of its terms to more than 23 million iTunes account holders, which will provide instructions on how to implement parental controls that can disable purchases.

It also allows for complainants to choose a $5 iTunes store credit or an iTunes refund for all of their child’s purchases within a 45 day period. Those claiming they were charged $30 or more without their consent can choose a cash refund instead of iTunes credit.

Apple lawyers appeared before US District Judge Edward Davila in San Jose, California this week, seeking preliminary approval of the agreement. Davila said he will consider refinements to the agreement once it has been submitted.

The original complaint dates back to 2011 and concerns in-app purchases of virtual goods and currency used to play games on the iPhone and iPad.