Guides/Monetize your site/Upload an Apple Pay verification file

Upload an Apple Pay verification file

Last reviewed on November 27, 2025

When enabling Apple Pay and integrating it into your website, you may need to upload an Apple Pay verification file to the .well-known folder of your website. This guide will walk you through uploading the file using SFTP.

This feature is available on sites with the WordPress.com Business and Commerce plans. If you have a Business plan, make sure to activate it. For free sites and sites on the Personal and Premium plans, upgrade your plan to access this feature.

Upload the Apple Pay verification file

You can upload the Apple Pay verification file to the .well-known folder (location: https://yourwebsiteaddress.com/.well-known) using SFTP. Follow these steps to upload the file:

Step 1: Create your SFTP credentials

To access SFTP, you will need to create your SFTP credentials. Follow these steps to create your credentials:

  1. Visit your Sites list.
  2. Click on the title of the site in the list of your sites.
  3. Navigate to the Settings tab.
The tab labeled "Settings" highlighted in a site's Hosting Overview dashboard.
Settings
  1. Click the SFTP/SSH section:
The SFTP/SSH section of the Settings section in the Hosting Overview dashboard.
  1. Under “SFTP/SSH credentials“, click the button labeled “Create credentials” to create and copy your site’s SFTP username and password.

Step 2: Upload the Apple Pay verification file through SFTP

Now that you’ve created your SFTP credentials, you can upload the Apple Pay Verification file through SFTP following these steps:

  1. Open your preferred SFTP client (in this example, we are using FileZilla.)
  2. Connect using the credentials you created in Step 1.
The top of the FileZilla application with the host, username, password, and port filled out.
FileZilla quick connect
  1. Once connected, by default, the “Remote site” should open the /htdocs directory.
The Remote Site section of FileZilla with the folder "htdocs" highlighted.
SFTP Directory
  1. Right-click on the /htdocs folder, and click “Create directory and enter it”. The text may change depending on which SFTP client you are using.
Creating a new directory in FileZilla
New Directory
  1. Name the new directory .well-known and click the “Okay” button to create the directory.
The new directory created in htdocs labeled .well-known in FileZilla.
.well-known directory
  1. In the Local site section of FileZilla (or your preferred SFTP’s local directory panel), locate the apple-developer-merchantid-domain-association.txt file.
  2. Right click on the file and select the “Upload” option.
The upload option in FileZilla
Upload File
  1. Your file should be uploaded successfully on the website.
The bottom section of FileZilla displaying that there was a successful transfer of the file.
Successful transfer.

Was this guide helpful for you?

Not quite what you're looking for? Get Help!

Copied to clipboard!