> This page is for Afterpay Online Developer, version v1.
> 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.

# API Environments

## Production

**AU, NZ, US, CA, UK, FR, IT, ES**

```
https://global-api.afterpay.com
```

## Sandbox

**AU, NZ, US, CA, UK, FR, IT, ES**

```
https://global-api-sandbox.afterpay.com
```

> **Info**
>
> If you are an existing merchant who is already integrated with a region-specific API (e.g. [https://api.us.afterpay.com](https://api.us.afterpay.com)) you can continue to use this endpoint in your current region.