Apple In-App Purchase Refunds

iOS development, consumption application. For example, a user recharges gold coins after purchasing a product, and then maliciously applies for a refund after using the gold coins. How can we prevent this situation?

Replies

On this page:

https://developer.apple.com/documentation/appstoreserverapi

See the section "Refund information", and in particular "Send Consumption Information".

I believe there is a WWDC video that describes this.

When customers request a refund for a consumable purchase, you will receive a server notification (if enabled in App Store Connect) and this indicates to you a refund has been requested and you can optionally provide consumption info within 12 hours to assist in the refund request decision (approve/decline).

Check out WWDC21 with a full story of this feature: https://developer.apple.com/videos/play/wwdc2021/10175/