If you want to store additional/custom data at a resource's level, you can make use of Chargebee's Metadata.
For example, if you're a data service provider and want to store certain features of a particular plan, say "Usage Limit", "Speed within limit", etc., you can store it in the Metadata of the Plan.
Metadata can be passed during the Add/Update operations, for the following entities:
Metadata can be stored only in the JSON format. You can use nested JSON objects as well.
Considering the same example as above, if you want to store the additional features of a particular data plan here's what the JSON will look like:
{
"features":{
"usage-limit":"5GB",
"speed-within-quota":"2MBbps",
"post-usage-quota":"512kbps"
}
}