Skip to main content

Apple Pay Certificates

To accept Apple Pay payments, you need to set up certificates that allow secure communication between Apple and Amazon Payment Services. This guide shows you how to create and configure these certificates step by step.

How Apple Pay Certificates Work

The Apple Pay certificate setup process follows these steps:

1

Certificate Generation

Create Payment Processing and Merchant Identity certificates through Apple Developer Portal.

2

Domain Validation

Validate your website domains with Apple (web integration only).

3

Certificate Upload

Upload Payment Processing Certificate to Amazon Payment Services.

4

Integration Testing

Test certificate configuration to ensure everything works correctly.

Prerequisites

Before setting up Apple Pay certificates, ensure you have:

  1. Apple Developer Account
    Active Apple Developer Program membership ($99/year)

  2. Development Environment

    • Mac computer with Keychain Access
    • Valid SSL certificate for your website
    • Access to upload files to your web server
  3. Security Credentials
    Access to your Amazon Payment Services account to upload certificates

For business accounts, you'll need a DUNS number. Get one free at dnb.com.

Integration Steps

1

Create Apple Developer Account

  1. Go to developer.apple.com
  2. Click Account and sign in with your Apple ID
  3. Enable two-factor authentication (required)
  4. Click Join the Apple Developer Program
  5. Choose Individual or Company account type
  6. Pay the $99 annual fee
  7. Wait for approval (1-2 days for individual, up to 7 days for company)
2

Create Merchant ID

  1. Log in to Apple Developer Portal
  2. Go to Certificates, Identifiers & Profiles
  3. Click IdentifiersAdd (+)
  4. Select Merchant IDsContinue
  5. Enter:
    • Description: "Your Store Apple Pay"
    • Identifier: merchant.com.yourstore.payments
  6. Click ContinueRegister
  7. Save your Merchant ID for later
3

Generate Payment Processing Certificate

Create Certificate Request on Mac:

  1. Open Keychain Access on your Mac
  2. Go to Keychain AccessCertificate AssistantRequest a Certificate from a Certificate Authority
  3. Fill in:
    • Email: Your Apple Developer email
    • Common Name: "Apple Pay Payment Processing Certificate"
    • CA Email: Leave blank
  4. Select Saved to disk and Let me specify key pair information
  5. Choose ECC and 256 bits
  6. Save the file to your desktop

Create Certificate in Apple Developer Portal:

  1. In Apple Developer Portal, select your Merchant ID
  2. Under Apple Pay Payment Processing Certificate, click Create Certificate
  3. Select No for China processing
  4. Upload your certificate request file
  5. Click ContinueDownload

Convert to .p12 Format:

  1. Double-click the downloaded certificate to install it
  2. Open Keychain AccessMy Certificates
  3. Find your certificate and select both the certificate and key
  4. Right-click → Export 2 items
  5. Save as .p12 format with a strong password
  6. Remember this password!
4

Upload to Amazon Payment Services

  1. Log in to your Amazon Payment Services account
  2. Go to Integration SettingsApple Pay
  3. Click Upload Certificate
  4. Select your .p12 file
  5. Enter your certificate password
  6. Click Save
  7. Verify the status shows Active

Certificates expire after 1 year. Set a calendar reminder to renew 30 days before expiration.

Additional Steps for Web Integration

If you're integrating Apple Pay on a website, complete these additional steps:

1

Validate Your Domain

  1. In Apple Developer Portal, select your Merchant ID
  2. Under Merchant Domains, click Add Domain
  3. Enter your domain (e.g., checkout.yourstore.com)
  4. Click Save
  5. Click Download to get the validation file
  6. Upload this file to your website at:
    https://yourdomain.com/.well-known/apple-developer-merchantid-domain-association
  7. Test the URL in your browser to make sure it works
  8. Click Verify in Apple Developer Portal

The validation file expires in 24 hours if not verified. Download a new one if needed.

2

Create Merchant Identity Certificate

  1. Create another certificate request in Keychain Access (same process as Payment Processing Certificate)
  2. Use Common Name: "Apple Pay Merchant Identity Certificate"
  3. In Apple Developer Portal, under Apple Pay Merchant Identity Certificate, click Create Certificate
  4. Upload your certificate request
  5. Download and install the certificate
  6. Export as .p12 format

For server use, convert to PEM format:

# Extract private key
openssl pkcs12 -in merchant_identity.p12 -out merchant_identity.key.pem -nocerts -nodes

# Extract certificate
openssl pkcs12 -in merchant_identity.p12 -out merchant_identity.crt.pem -clcerts -nokeys

For mobile app integration, you only need to complete the main integration steps (1-4). Domain validation and Merchant Identity Certificate are not required for mobile apps.

Testing Your Setup

Test if your certificates work by running this command (web integration only):

curl -d '{"merchantIdentifier":"merchant.your.identifier", "initiativeContext":"yourdomain.com", "initiative":"web", "displayName":"Your Store"}' \
--cert merchant_identity.crt.pem \
--key merchant_identity.key.pem \
https://apple-pay-gateway.apple.com/paymentservices/startSession

If successful, you'll get a JSON response with session data.

Check Certificate Status

To check your Apple Pay integration status, refer to the Check Transaction Status section.

Handling Certificate Issues

If you encounter certificate issues, contact our support team for assistance.

Troubleshooting

Common Issues:

ProblemSolution
"Invalid certificate"Re-download from Apple Developer Portal
"Certificate expired"Create a new certificate
"Domain validation failed"Check your validation file is accessible
"Merchant ID mismatch"Verify your merchant identifier

Video Tutorial

Watch our comprehensive video guide that walks through the entire certificate setup process:

Go-Live

Test your integration using Apple's test cards and sandbox environment.
Make sure to visit our go-live checklist to go live with your integration.

Support

Need assistance with Apple Pay certificate setup? Our technical support team is here to help merchantsupport-ps@amazon.com.

Was this page helpful?

Thanks for your feedback!