Certification

How can I get my API integration tested?

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

Testing is performed within a staging environment on each of the unique environments that will be 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 Clearpay production credentials are issued upon successful completion of the Clearpay Certification.

Deployment

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

API Endpoint

Screenflow (Javascript)

Sandbox

https://api.eu-sandbox.afterpay.com/v1
OR
https://api.eu-sandbox.afterpay.com/v2

https://portal.sandbox.clearpay.co.uk/afterpay.js

Production

https://api.eu.afterpay.com/v1
OR
https://api.eu.afterpay.com/v2

https://portal.clearpay.co.uk/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.