For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HomeGuidesAPI Reference
HomeGuidesAPI Reference
  • Welcome
    • Business Hub
  • Platforms
    • Platforms Quickstart
    • Adyen
    • Ecwid
    • Shopify
    • Stripe
  • Afterpay Messaging
    • Getting Started
    • Implementation
    • Migration
    • Legacy Messaging Products
    • Launch Afterpay Info Modal Anywhere
  • API Development
    • API Quickstart
    • Test Environments
    • Certification
    • Disputes
    • Upgrade from API v1 to v2
  • SDK
    • iOS SDK
    • Android SDK
    • React Native SDK
    • PHP SDK
  • Marketing
    • Shop Directory
    • Brand Assets
LogoLogo
On this page
  • Deployment
API Development

Certification

Was this page helpful?
Previous

Disputes

Next
Built with

After you complete your internal QA testing, you’re ready for Afterpay certification. Contact your Afterpay account manager to schedule certification testing.

All of your unique production environments are tested. The test suite includes three areas:

  1. Integration standards
  2. Customer experience
  3. Refunds

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

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

Deployment

When moving your integration to your production environment, make sure that you’re using the production API endpoint and JavaScript URL.

EnvironmentAPI EndpointScreenflow (Javascript)
Sandboxhttps://global-api-sandbox.afterpay.comhttps://portal.sandbox.afterpay.com/afterpay.js
Productionhttps://global-api.afterpay.com/v1 OR https://global-api.afterpay.com/v2https://portal.afterpay.com/afterpay.js
Update the User-Agent Header

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