<filename>packages/billing-sdk/config/samples/.config.plans.json
{
  "plans": [
    {
      "__comment": "The name of the plans are globally unique.",
      "name": "Free Plan",
      "description": "Free plan with full access to all features, but limited usage.",
      "isActive": true,
      "product": {
        "name": "Free Plan",
        "description": "Free plan with full access to all features, but limited usage."
      },
      "price": {
        "__comment": "Prices are in cents.",
        "nickname": "Free Plan's Price",
        "currency": "usd",
        "unitAmount": 0,
        "recurring": {
          "interval": "year",
          "intervalCount": 1
        }
      },
      "metadata": {
        "createdBy": "<NAME>"
      }
    },
    {
      "__comment": "The name of the plans are globally unique.",
      "name": "Premium Plan",
      "description": "Premium plan with full access to all features, billed monthly.",
      "isActive": true,
      "product": {
        "name": "Premium Monthly Plan",
        "description": "Premium plan with full access to all features, billed monthly."
      },
      "price": {
        "__comment": "Prices are in cents.",
        "nickname": "Premium Monthly Plan's Price",
        "currency": "usd",
        "unitAmount": 500,
        "recurring": {
          "interval": "month",
          "intervalCount": 1
        }
      },
      "metadata": {
        "createdBy": "<NAME>"
      }
    }
  ]
}
