The Apple Pay verification file is used to confirm that a domain is authorized to support Apple Pay on the web.
The purpose of this file is to allow Apple to verify that the domain is associated with a registered Apple Pay merchant account, ensuring secure transactions through Apple Pay on that site.
To set up Apple Pay, developers upload this verification file after registering their domain with Apple’s developer portal. Once Apple confirms the association between the website and the Apple Pay merchant account, the site is authorized to accept payments using Apple Pay, providing users with a faster, more secure payment option. This file is an essential step in enabling Apple Pay for websites
Technical Notes
This file, typically named apple-developer-merchantid-domain-association
, is placed in the .well-known/
directory of a website, such as https://example.com/.well-known/apple-developer-merchantid-domain-association
.
Webflow
Webflow does not directly support this file, but redirects may work.
Webflow has recommended this approach;
https://share.getcloudapp.com/v1um4rqz
- Create your file, with the content you want
- Upload it to your site assets
- Get the URL of the uploaded asset
- Create a redirect from the path you need to your URL
- Publish your site
To ensure no problems with the redirects you can use a reverse proxy solution like Sygnal's Hyperflow to deliver your files reliably.