# Chapter 5.1.13 - Key Value Pair

Source: https://developer.avalara.com/products/communications/integration-guides/dev-guide_rest_v2/reference/key-value-pair/

-   [Previous](/communications/dev-guide_rest_v2/reference/tax-bracket/)
-   [Next](/communications/dev-guide_rest_v2/reference/calc-taxes-response/)

### Key Value Pair

The `KeyValuePair` object allows the user to specify a list of **key/value pairs**.

Key

Value

`key`

`[string]` Key  

An index for the key/value pair. Numeric value between 1 and 10

-   Max length: 2 bytes

`val`

`[string]` Value  

150-byte alpha-numeric value

-   Max length: 150 bytes

### Example

```json
"opt": [ { "key": "1", "val": "Sample value text" }]
```

-   [Previous](/communications/dev-guide_rest_v2/reference/tax-bracket/)
-   [Next](/communications/dev-guide_rest_v2/reference/calc-taxes-response/)