# The Custom Pricing Unit object

### The Custom Pricing Unit object

```json
{
  "created": "2025-01-01T00:00:00.000Z",
  "display_name": "Unit #1",
  "id": "cpu_61T4sQA90ELFdWUhl16Ss95I3tSQSib3S1PC0IDCSFCS",
  "lookup_key": "my-custom-pricing-unit-1",
  "metadata": {},
  "object": "v2.billing.custom_pricing_unit",
  "livemode": true
}
```

## Attributes

- `id` (string)
  Unique identifier for the object.

- `object` (string, value is "v2.billing.custom_pricing_unit")
  String representing the object’s type. Objects of the same type share the same value of the object field.

- `active` (boolean)
  Whether the custom pricing unit is active.

- `created` (timestamp)
  Timestamp of when the object was created.

- `display_name` (string)
  Description that customers see in the invoice line item. Maximum length of 10 characters.

- `livemode` (boolean)
  Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.

- `lookup_key` (string, nullable)
  An internal key you can use to search for a particular Custom Pricing Unit. Maximum length of 200 characters.

- `metadata` (map, nullable)
  Set of [key-value pairs](https://docs.stripe.com/api/metadata.md) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
