> ## Documentation Index
> Fetch the complete documentation index at: https://docs.slm.m1amdocs.com/llms.txt
> Use this file to discover all available pages before exploring further.

# The NameValuePair Object

The `NameValuePair` object is referenced by several Subscribe objects, and is used to hold attributes not otherwise supported in the object. This object is used to store a list of `names`, which you create and associate with text string `values`. You use these name-value pairs to store custom data for your own internal tracking purposes, or to store Subscribe specific data for defined Subscribe purposes. Both the name and the value components of a name-value pair are each limited to 255 characters. Both custom and predefined name-value pairs are restricted to the 255 character limit. If you create a custom name-value pair in which one or both components exceeds the 255 character limit, Subscribe returns a 400-series error/return code, to ensure that your data is not lost without warning.

**Note:** Currently some Methods still silently truncate name value pairs in excess of 255 characters.

**Note:** Subscribe allows only one value per name per object. `NameValuePair` objects may have several `value`s associated with each `name`, but only one `value` may be used for a given `name` when assigning name-value pairs to an individual Subscribe object.

For some objects, such as the `PaymentMethod`, `Transaction`, and `AutoBill`, Subscribe automatically generates certain name-value pairs, designated by the prefix `vin:`. These pairs are listed and defined in the `nameValue` data member table for the specified object. (For more information, see Working with Name-Value Pairs in the Subscribe Programming Guide.)

* **[NameValuePair Data Members](../topics/NameValuePair_Data_Membe)**

* **[NameValuePair Methods](../topics/NameValuePair_Methods)**


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.