Certification

How can I get my API integration tested?

When you’ve passed your internal QA testing, you’re ready for Afterpay Certification. Contact your Afterpay account manager to schedule Certification testing.

Testing is performed on each unique environment you’ll have in production. The test suite includes three areas:

  1. Integration Standards
  2. Consumer Experience
  3. Refunds.

Certification ensures a great customer experience, minimizes the potential for fraudulent activity, and checks for common compliance and technical issues.

👍

Production Credentials

Your Afterpay production credentials are issued upon successful completion of the Afterpay Certification.

Deployment

When moving your integration to your production environment, ensure the API Endpoint and Javascript URL are being loaded for Afterpay's production environment.

🇦🇺⠀Australia ⠀/ ⠀🇳🇿⠀New Zealand

EnvironmentAPI EndpointScreenflow (Javascript)
Sandboxhttps://api-sandbox.afterpay.com/v1
OR
https://api-sandbox.afterpay.com/v2
https://portal.sandbox.afterpay.com/afterpay.js
Productionhttps://api.afterpay.com/v1
OR
https://api.afterpay.com/v2
https://portal.afterpay.com/afterpay.js

🇺🇸⠀United States⠀ / ⠀🇨🇦⠀Canada

API EndpointScreenflow (Javascript)
Sandboxhttps://api.us-sandbox.afterpay.com/v1
OR
https://api.us-sandbox.afterpay.com/v2
https://portal.sandbox.afterpay.com/afterpay.js
Productionhttps://api.us.afterpay.com/v1
OR
https://api.us.afterpay.com/v2
https://portal.afterpay.com/afterpay.js

📘

Update the User-Agent Header

When moving to a production environment, please make sure the User-Agent Header is updated with the production Merchant ID.