Opening a feature request per Brendan's comment here: https://community.playfab.com/comments/53389/view.html
To give background, Apple has recently (in 2020) added a REFUND server notification that is sent as soon as a refund is processed on App Store's side. https://developer.apple.com/documentation/storekit/in-app_purchase/handling_refund_notifications
If this could be integrated into PlayFab, it would save us a lot of headaches trying to preventing refund abuse.
Ideally, once the notification is received, PlayFab can automatically revoke item instances and deduct currencies associated with the grant record of refunded purchases.
It would also be ideal if PlayFab can allow us to trigger some form of administrative actions when a refund happens, like triggering a CloudScripts function to deduct currencies or unused item instances to make up for the item instances that have been consumed before refund and thus cannot be revoked.
PS.
Brendan said that this notification "[is] not scheduled for inclusion in the legacy commerce service," so may I assume this is under consideration for the upcoming Economy V2?
While my project does not need this feature immediately and migrating to new Economy system is an option, I think other projects in production would benefit from this.