For Apple Pay requirement’s to be functional, you need your domain to be verified through Blink Payment.
Step 1: Upload the Domain Verification File (DVF)
Download the DVF File
Visit the following URL and download the .txt
file: https://secure.blinkpayment.co.uk/.well-known/apple-developer-merchantid-domain-association
Upload the File to your Domain
Upload the downloaded file to the following path on your server: e.g. https://{your-domain}/.well-known/apple-developer-merchantid-domain-association
Important: Do not rename the file or add a file extension .txt. The file must be served exactly as:
https://{your-domain}/.well-known/apple-developer-merchantid-domain-association
Not: https://{your-domain}/.well-known/apple-developer-merchantid-domain-association.txt
Make sure this file is publicly accessible (e.g. not protected by login or IP restrictions).
Domain must use HTTPS
The contents of the file must exactly match what you received from the downloaded file (https://secure.blinkpayment.co.uk/.well-known/apple-developer-merchantid-domain-association).
Step 2: Register Your Domain
Send a post request to register your domain: https://secure.blinkpayment.co.uk/api/pay/v1/applepay/domains
Request Body (JSON):
{
"domain_name": "https://{your-domain}/"
}
Our system will check that the Domain Verification File is accessible and correctly configured.
If successful, you’ll receive a successful registration confirmation response.
If there is an error, you’ll receive an error message detailing what went wrong.
After successful registration, you will now be able to render the Apple Pay element and make successful payments.
Additional Endpoints
To retrieve the list of registered domains, send a get request to /v1/applepay/domains
To initiate an Apple Pay payment, send a post request to /api/pay/v1/applepay