> This page is for Afterpay Online Developer, version Main (default).
> For other versions, use one of these documentation indexes:
> - Main (default): https://developers.afterpay.com/afterpay-online-developer/main/llms.txt
> - v1: https://developers.afterpay.com/afterpay-online-developer/v-1/llms.txt
> - Chinese: https://developers.afterpay.com/afterpay-online-developer/chinese/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.afterpay.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.afterpay.com/_mcp/server.

# Certification

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.

| Environment | API Endpoint                                                                                                                                         | Screenflow (Javascript)                                                                            |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- |
| Sandbox     | [https://global-api-sandbox.afterpay.com](https://global-api-sandbox.afterpay.com)                                                                   | [https://portal.sandbox.afterpay.com/afterpay.js](https://portal.sandbox.afterpay.com/afterpay.js) |
| Production  | [https://global-api.afterpay.com/v1](https://global-api.afterpay.com/v1) OR [https://global-api.afterpay.com/v2](https://global-api.afterpay.com/v2) | [https://portal.afterpay.com/afterpay.js](https://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.