> 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.

# Request Headers Overview

Clients must send appropriate headers with all requests.

## HTTP Headers

| Field Name    | Requirement | Description                                                                                                                 |
| ------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------- |
| Authorization | required    | See [Authentication](/afterpay-online-developer/v-1/api-reference/online-api/authentication).                               |
| Content-Type  | required    | All POST and PUT requests must declare the content-type as `application/json`.                                              |
| User-Agent    | required    | See [User-Agent Header](/afterpay-online-developer/v-1/api-reference/online-api/request-headers/user-agent-request-header). |
| Accept        | recommended | All requests must accept `application/json` or `*/*`.                                                                       |