They won't restrict it, I mean there is no way to get paid "directly" from Iran but if you can receive the payments indirectly it's allowed and they won't ban your account or the payments. As you know Google and Apple already know where we live all so if they want they can easily restrict access to their services. I already use some paid services from both and I know a lot of people are receiving payments from Youtube here.