-
Set up a dedicated subdomain. For example,
my-subdomain.appcharge.com
. For more information, see Apple’s official guide on supporting associated domains. -
On this subdomain, host a public
.well-known/apple-app-site-association
file. This file allows iOS to recognize the redirect URL as a Universal Link, so your app can open automatically after payment. Without this file, players will see a confirmation dialog asking if they want to open the app.Note: The file cannot be a
.json
extension, and must be served with theapplication/json
MIME type. -
Run the following command with your domain to verify the MIME type:
The file content should follow this structure:curlMake sure to prefix your App ID with your Apple Developer Team ID, located on the Apple Developer Membership page.json
-
If you haven’t already, pass your
redirectUrl
to the Create Checkout Session API, pointing to your configured redirect domain.