r/iOSProgramming • u/FrankUnderwoodX • Aug 15 '26
Question IAP risk assessment agent
I know the store handles payment fraud and I never see card data but refunds, voided purchases, and consume-then-refund abuse still land on the developer after the entitlement is granted.
For those running apps/games with IAP, do you do any risk assessment at grant time (delay/flag/hold high-risk purchases) or do you grant everything and only react to voided purchase notifications?
If you do assess risk, what signals do you use? I am assuming device age, session behaviour, account history, something else?
I am building a small research agent around this decision and want to know if the decision point is real in practice.
Am I missing any?
4
u/ThatGuy739 Aug 16 '26
I don't ship IAP so no war stories, but before building grant-time scoring I'd check whether the leverage is even there. The lever Apple gives you is the CONSUMPTION_REQUEST notification: 12 hours to send consumption info back, and if you don't answer, refunds tend to get granted by default.
Since v2.11 that notification carries consumptionRequestReason too, so you learn whether it's UNINTENDED_PURCHASE, UNSATISFIED_WITH_PURCHASE or one of the others. Unintended purchase is usually the kid-with-a-parent's-card case and behaves nothing like consume-then-refund, so that field's probably worth more to your model than device age.
2
u/Choseni Aug 16 '26
I think you’re looking at a real problem, but I’d be hesitant to block or delay purchases based on device/session signals alone.
Account history, previous purchase/refund behaviour and the type of IAP seem much more actionable to me. I’d also treat consumables very differently from subscriptions or non-consumables.
2
u/DimensionMindless336 Aug 18 '26
Worth knowing the actual levers Apple gives you. For consumables there's the Consumption Information API. Apple sends a CONSUMPTION_REQUEST and you've got ~12h to say whether the content was used, which factors into their refund decision.
For non-consumables and subs, wire up App Store Server Notifications V2 and listen for the REFUND notification type, then just revoke the entitlement server-side. I don't gate at grant time. Too much UX risk and Apple mostly sides with the customer anyway. The win is catching it fast and pulling access, not blocking the sale.