> This page is for version v1.
> For other versions, use one of these documentation indexes:
> - v2 (default): https://developers.clearpay.co.uk/v-2/llms.txt
> - v1: https://developers.clearpay.co.uk/v-1/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.clearpay.co.uk/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.clearpay.co.uk/_mcp/server.

# Order Details object

## Attributes

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

## Example Order Details object

**`UK`**

```json UK
{
  "consumer": {  
    "phoneNumber": "07000000000",
    "givenNames": "Joe",
    "surname": "Consumer",
    "email": "test@example.com"
  },
  "billing": {  
    "name": "Joe Consumer",
    "line1": "1 Market Street",
    "suburb": "MANCHESTER",
    "postcode": "M4 3AT",
    "countryCode": "GB",
    "phoneNumber": "07000000000"
  },
  "shipping": {  
    "name": "Joe Consumer",
    "line1": "Trafalgar House, 17-19 Cockspur St",
    "suburb": "LONDON",
    "postcode": "SW1Y 5BL",
    "countryCode": "GB",
    "phoneNumber": "07000000000"
  },
  "courier" : {
    "shippedAt" : "2019-01-01T00:00:00+01:00",
    "name" : "Parcelforce Worldwide",
    "tracking" : "AAAA1234567890",
    "priority" : "STANDARD"
  },
  "items": [  
    {
      "name": "T-Shirt",
      "sku": "12341234",
      "quantity": 1,
      "price": {
        "amount": "10.00",
        "currency": "GBP"
      }
    },
    {
      "name": "Jeans",
      "sku": "12341235",
      "quantity": 1,
      "price": {
        "amount": "20.00",
        "currency": "GBP"
      }
    }
  ],
  "discounts": [
    {
      "displayName": "10% Off Subtotal",
      "amount": {
        "amount": "3.00",
        "currency": "GBP"
      }
    }
  ],
  "taxAmount": {  
    "amount": "7.40",
    "currency": "GBP"
  },
  "shippingAmount": {  
    "amount": "10.00",
    "currency": "GBP"
  }
}
```