I believe visa/mastercard has a similar rule. You can't charge more(to compensate the fees) for credit card transaction either.
https://www.washingtonpost.com/business/economy/us-judge-app...
The same is pretty inevitable for Apple at this point.
https://www.gov.uk/government/news/card-surcharge-ban-means-...