SAN FRANCISCO — As part of a deal to settle a class action lawsuit, Facebook Inc. has agreed to make it simpler for minors to get refunds for online purchases.

In court papers Friday, the company agreed to make it clearer to minors that they need their parents’ permission when making purchases on Facebook.