4

I'd like to be able to generate links that allow users of my iOS app to redeem promo codes for in app purchases. So, they might receive an email with a button that says, "Redeem Code" that takes them to the app store redemption page with the code prefilled, or redeems it for them. However, I've been unable to find the correct url for this.

A related question has an answer for mac store apps, but it doesn't work for iOS codes: URL for redeeming Mac App Store promo codes

frodo2975
  • 6,794
  • 1
  • 24
  • 34

3 Answers3

5

To open the redeem page of the App Store use the following link:

itms-apps://apps.apple.com/account/freeProductCodeWizard?code=YOUR_CODE

EDIT: As Kamil Rykowski pointed out the above url only works till iOS 13. Since iOS 14 (also works for iOS 13) you have to use

itms-apps://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/freeProductCodeWizard?code=YOUR_CODE

Paul Schröder
  • 1,138
  • 8
  • 19
  • The link worked fine on iOS 13, but after upgrading to iOS 14 it stopped working. The App Store just displays an error page. It's definitely about iOS version, nothing else changed. – Kamil Rykowski Jan 21 '21 at 10:45
  • What is MZFinance? – Kurt Lane Apr 26 '21 at 20:54
  • It is part of the App Store and I think it is responsible for processing payments and everything around that (like handling payment info, subscription management, ...) – Paul Schröder Apr 27 '21 at 18:58
2

What worked for me is:

iOS 13:

itms-apps://apps.apple.com/account/freeProductCodeWizard?code=YOUR_CODE

iOS 14:

itms-apps://buy.itunes.apple.com/WebObjects/MZFinance.woa/wa/freeProductCodeWizard?code=YOUR_CODE

Not sure about previous iOS versions, probably using the iOS 13 format, but didn't test it due to lack of appropriate devices.

Kamil Rykowski
  • 1,268
  • 12
  • 25
1

Short link also works: https://apple.co/2RtWNMU?code=YOUR_CODE

Short link source - App Store help page https://support.apple.com/en-us/HT201209 Link "Redeem your gift card"