...
- Sign in to the API Manager's Management Console (
https://<hostname>:9443/carbon
). - Navigate to the Main menu, and click Browse, which is under the Resources tab.
- Enter the following path in the Location: text-box and click Go.
/_system/config/apimgt/applicationdata/tenant-conf.json
- In the Contents panel, click the Edit as text link and the
tenant-conf.json
file opens. - To enable monetization categories for APIs, set the
EnableMonetization
property to true. By default, it is set to false. - Define the subscription tiers as required.
For example if you are working with the unlimited tier,- To define the unlimited tier as paid, set the
IsUnlimitedTierPaid
property to true. - To define the unlimited tier as free, set the
IsUnlimitedTierPaid
property to false.
Tip As Freemium APIs has a combination of paid and free subscription tiers, the configuration involved in defining the subscription tiers will be the same as above. However, Freemium APIs need to have a minimum of one subscription defined as paid and free.
- To define the unlimited tier as paid, set the
- After the edits, click Save Content.
...
When the above EnableMonetization
property is set to true for the respective tenant, the API monetization category labels are displayed in the tenant API store.
Panel | ||
---|---|---|
| ||
For more information on Monetization of APIs, see Enabling Monetization of APIs. |