For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
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
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
If you are an existing merchant who is already integrated with a region-specific API (e.g. https://api.us.afterpay.com) you can continue to use this endpoint in your current region.