Apple Pay
By integrating Apple Pay into your website or Android application, your customers can securely make one-touch payments using any credit or debit card connected to their Apple account.
Apple Pay is currently available for EveryPay merchants based in Greece, for processing Purchases, Voids, Pre-Authorisations, Refunds and Partial Refunds.
Apple Pay Restrictions
- Requires HTTPS (even in development)
- Use Safari on Mac or iPhone
- Device must support biometrics (fingerprint or face recognition)
Domain Verification
Register a domain:
curl --location 'https://sandbox-api.everypay.gr/applepay/domains' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic c2tfTWxNbXpJanh2aEZ...' \
--data-urlencode 'domain_names%5B%5D=test-domain.gr'
Unregister a domain:
curl --location --request PUT 'https://sandbox-api.everypay.gr/applepay/domains-deletion' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic e3tzZWNy...' \
--data-urlencode 'domain_names%5B%5D=test-domain.gr' \
--data-urlencode 'reason=some reason'
Get registered domains:
curl --location 'https://sandbox-api.everypay.gr/applepay/domains' \
--header 'Authorization: Basic c2t.....'
Download the Apple Pay domain registration Postman collection here
(Only For Production) We will provide you with an apple-developer-merchant-domain-association
file that you need to:
-
Host the domain association file with the name
apple-developer-merchantid-domain-association
on each domain you want to use, including subdomains, under the following path:/.well-known/apple-developer-merchantid-domain-association
.
Download the domain association example file here
The file must:- Have
Content-Type: text/plain
in the header - Be externally accessible
- Not be password protected
- Not be behind a proxy or redirect
- Be hosted with Unix line endings
- Have the
.txt
extension removed
- Have
-
Add the following IP addresses to your firewall's allow list: Allow Apple IP Addresses for Domain Verification
Apple Pay Sandbox Test Cards
Find sandbox test cards here