When defining throttling tiers using the admin dashboard UI there exists the option of specifying a given tiers billing plan. Here a tier is defined as a Free or Paid tier.
Depending on which tiers are available for a given API to subscribe to the API Monetization Catergory label of Free, Paid or Freemium will be displayed in the store.
This functionality is not enabled by default, to enable it the following configuration changes need to be done.
Enabling API Monetization Category Labelling
- Log in to the API Manager's Management Console and select Browse under Resources menu.
- Select the file: /_system/config/apimgt/applicationdata/tenant-conf.json
- In the Contents panel, click Edit as text link and the tenant-conf.json opens.
- To enable Monetization categories for APIs set "EnableMonetization" to true, to disable set it to false. This configuration is set to false by default.
- To define if the Unlimited tier is paid set "IsUnlimitedTierPaid" to true, else if the Unlimited tier is free set it to false. This configuration is set to false by default.
- After the edits, click Save Content.
Note that the above configuration can be done independently per a tenant basis
When the above "EnableMonetization" config is set to true for the respective tenant, the API Monetization Category label will be displayed in the tenant api store.