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

# Order Details object

## Attributes

| Attribute      | Type                                                                                            | Description                                            |
| -------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| consumer       | [Consumer](/afterpay-online-developer/v-1/api-reference/models/consumer-object) `required`      | The consumer who placed or is placing the order.       |
| billing        | [Contact](/afterpay-online-developer/v-1/api-reference/models/contact-object)                   | The consumer's billing address.                        |
| shipping       | [Contact](/afterpay-online-developer/v-1/api-reference/models/contact-object)                   | The consumer's shipping address.                       |
| courier        | [Shipping Courier](/afterpay-online-developer/v-1/api-reference/models/shipping-courier-object) | The consumer's chosen shipping courier.                |
| items          | [Item](/afterpay-online-developer/v-1/api-reference/models/item-object)\[]                      | An array of order items.                               |
| discounts      | [Discount](/afterpay-online-developer/v-1/api-reference/models/discount-object)\[]              | An array of discounts.                                 |
| taxAmount      | [Money](/afterpay-online-developer/v-1/api-reference/models/money-object)                       | The included tax amount, after applying all discounts. |
| shippingAmount | [Money](/afterpay-online-developer/v-1/api-reference/models/money-object)                       | The shipping price charged to the consumer.            |

## Example Order Details object

### Australia

```json
{
  "consumer": {  
    "phoneNumber": "0400 000 000",
    "givenNames": "Joe",
    "surname": "Consumer",
    "email": "test@example.com"
  },
  "billing": {  
    "name": "Joe Consumer",
    "line1": "Level 5",
    "line2": "406 Collins Street",
    "suburb": "Melbourne",
    "state": "VIC",
    "postcode": "3000",
    "countryCode": "AU",
    "phoneNumber": "0400 000 000"
  },
  "shipping": {  
    "name": "Joe Consumer",
    "line1": "Level 5",
    "line2": "406 Collins Street",
    "suburb": "Melbourne",
    "state": "VIC",
    "postcode": "3000",
    "countryCode": "AU",
    "phoneNumber": "0400 000 000"
  },
  "courier" : {
    "shippedAt" : "2019-01-01T00:00:00+10:00",
    "name" : "Australia Post",
    "tracking" : "AA0000000000000",
    "priority" : "STANDARD"
  },
  "items": [  
    {
      "name": "T-Shirt",
      "sku": "12341234",
      "quantity": 1,
      "price": {
        "amount": "10.00",
        "currency": "AUD"
      }
    },
    {
      "name": "Jeans",
      "sku": "12341235",
      "quantity": 1,
      "price": {
        "amount": "20.00",
        "currency": "AUD"
      }
    }
  ],
  "discounts": [
    {
      "displayName": "10% Off Subtotal",
      "amount": {
        "amount": "3.00",
        "currency": "AUD"
      }
    }
  ],
  "taxAmount": {  
    "amount": "3.70",
    "currency": "AUD"
  },
  "shippingAmount": {  
    "amount": "10.00",
    "currency": "AUD"
  }
}
```

### New Zealand

```json
{
  "consumer": {  
    "phoneNumber": "0200 000 000",
    "givenNames": "Joe",
    "surname": "Consumer",
    "email": "test@example.com"
  },
  "billing": {  
    "name": "Joe Consumer",
    "line1": "75 Queen St",
    "state": "Auckland",
    "postcode": "1010",
    "countryCode": "NZ",
    "phoneNumber": "0200 000 000"
  },
  "shipping": {  
    "name": "Joe Consumer",
    "line1": "75 Queen St",
    "state": "Auckland",
    "postcode": "1010",
    "countryCode": "NZ",
    "phoneNumber": "0200 000 000"
  },
  "courier" : {
    "shippedAt" : "2019-01-01T00:00:00+13:00",
    "name" : "CourierPost",
    "tracking" : "AA999999999AA",
    "priority" : "STANDARD"
  },
  "items": [  
    {
      "name": "T-Shirt",
      "sku": "12341234",
      "quantity": 1,
      "price": {
        "amount": "10.00",
        "currency": "NZD"
      }
    },
    {
      "name": "Jeans",
      "sku": "12341235",
      "quantity": 1,
      "price": {
        "amount": "20.00",
        "currency": "NZD"
      }
    }
  ],
  "discounts": [
    {
      "displayName": "10% Off Subtotal",
      "amount": {
        "amount": "3.00",
        "currency": "NZD"
      }
    }
  ],
  "taxAmount": {  
    "amount": "5.55",
    "currency": "NZD"
  },
  "shippingAmount": {  
    "amount": "10.00",
    "currency": "NZD"
  }
}

```

### United States of America

```json
{
  "consumer": {  
    "phoneNumber": "(415) 200-0000",
    "givenNames": "Joe",
    "surname": "Consumer",
    "email": "test@example.com"
  },
  "billing": {  
    "name": "Joe Consumer",
    "line1": "3655 Lawton St",
    "suburb": "San Francisco",
    "state": "CA",
    "postcode": "94122",
    "countryCode": "US",
    "phoneNumber": "(415) 200-0000"
  },
  "shipping": {  
    "name": "Joe Consumer",
    "line1": "3655 Lawton St",
    "suburb": "San Francisco",
    "state": "CA",
    "postcode": "94122",
    "countryCode": "US",
    "phoneNumber": "(415) 200-0000"
  },
  "courier" : {
    "shippedAt" : "2019-01-01T00:00:00-08:00",
    "name" : "FedEx",
    "tracking" : "000 000 000 000",
    "priority" : "STANDARD"
  },
  "items": [  
    {
      "name": "T-Shirt",
      "sku": "12341234",
      "quantity": 1,
      "price": {
        "amount": "10.00",
        "currency": "USD"
      }
    },
    {
      "name": "Jeans",
      "sku": "12341235",
      "quantity": 1,
      "price": {
        "amount": "20.00",
        "currency": "USD"
      }
    }
  ],
  "discounts": [
    {
      "displayName": "10% Off Subtotal",
      "amount": {
        "amount": "3.00",
        "currency": "USD"
      }
    }
  ],
  "taxAmount": {  
    "amount": "0.00",
    "currency": "USD"
  },
  "shippingAmount": {  
    "amount": "10.00",
    "currency": "USD"
  }
}
```