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

# Consumer Object

## Attributes

| Attribute     | Type              | Description                                                                |
| ------------- | ----------------- | -------------------------------------------------------------------------- |
| `phoneNumber` | string            | The consumer’s phone number. Limited to 32 characters.                     |
| `givenNames`  | string `required` | The consumer’s first name and any middle names. Limited to 128 characters. |
| `surname`     | string `required` | The consumer’s last name. Limited to 128 characters.                       |
| `email`       | string `required` | The consumer’s email address. Limited to 128 characters.                   |

## Example Consumer Object

### Australia

```json
{
  "phoneNumber": "0400 000 000",
  "givenNames": "Joe",
  "surname": "Consumer",
  "email": "test@example.com"
}
```

### New Zealand

```json
{
  "phoneNumber": "0200 000 000",
  "givenNames": "Joe",
  "surname": "Consumer",
  "email": "test@example.com"
}
```

### United States of America

```json
{
  "phoneNumber": "(415) 200-0000",
  "givenNames": "Joe",
  "surname": "Consumer",
  "email": "test@example.com"
}
```