How to Setup your web application for Apple Pay on Paystack
Paystack, a leading payment gateway in on the continent of Africa, now supports Apple Pay integration, enabling businesses to accept payments from customers using Apple devices on the continent.

Apple Pay is a mobile payment and digital wallet service developed by Apple. It allows users to make secure payments in stores, online, and within apps using their Apple devices, such as iPhones, iPads, Apple Watches, and Macs. Launched in 2014, Apple Pay leverages Near Field Communication (NFC) technology for contactless payments and uses tokenization to ensure the security of transactions. Instead of sharing actual card details with merchants, it generates a unique token for each transaction, enhancing privacy and security.
Paystack, a leading payment gateway in on the continent of Africa, now supports Apple Pay integration, enabling businesses to accept payments from customers using Apple devices on the continent.
Every Apple Pay request needs to be associated with a top-level domain or subdomain. To begin accepting payment with Apple Pay, you need to:
- Register your domain
- Host your domain verification file
- Verify your domain
Register your domain
To begin, head over to your Paystack Dashboard and take these steps:
- Click on the
Apple Pay
tab on the Settings page - Under the Web Domains section, click on
Add new domain
button

A modal will pop-up. On the modal, add your domain name and download the domain verification file. The verification file will be required in the next step. You would be uploading the file onto our webserver.
Host your domain verification file
For each top-level domain and/or subdomain registered, you need to host a verification file in the .well-known
folder in your website’s root directory.
For example, if you registered paystack.com, then the verification file should reside in: https://paystack.com/.well-known. Likewise, if you registered music.paystack.com, the verification file should reside in: https://music.paystack.com/.well-known.
Hosting the verification file is a two-step process:
- Create a .well-known folder in your website’s root directory
- Add the verification file previously downloaded to this folder
Do ensure the domain verification file is returned with a content-type
of application/text
. Using a different content-type
could cause your customer’s payment to fail.
This integration is particularly beneficial for e-commerce businesses looking to improve user experience and cater to tech-savvy customers who prioritize convenience and security. This verification proces can be achived with an API by following the Paytack Apple Pay configuration at https://paystack.com/docs/api/apple-pay