{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Monetization /
avatar image
0
Question by Prakash M · Jun 17, 2020 at 06:50 AM · 41 Views monitization

API calls are being charged even for the configured freemium plan

Hi,

We have created the custom publisher and developer portal for monetization using management APIs.

In Publisher Portal,

I have created the rate plan with rate card type as "Rate Card" and selected charging model as "Flat Rate" for newly created bundle.

I have also configured the freemium option as part of this rate plan as described below :

Freemium Usage(API calls) :5

Freemium Time Period : 1 Month.

Then I Published this rate plan for monetization.

In Developer Portal,

1. Created Developer User and added prepaid topup amount for purchasing rate plan

2. Logged into developer portal with developer userid and purchased the published rate plan successfully.

3. Created Developer App and added the API Product which is part of the purchased rate plan.

4. I can able to access the API end point with consumer Key.

5. My prepaid balance is getting reduced and charged for very first time call though freemium is configured with 5 free API calls.

we use below Monetization management API for creating rate plan with freemium option.

Please help and validate the below json for configuring the freemium at product level.

{ "name": "HCL API Product Bundle Oct 2020 Rate Plan", "currency": { "id": "usd" }, "description": "HCL API Product Bundle Oct 2020 Rate Plan", "displayName": "HCL API Product Bundle Oct 2020 Rate Plan", "freemiumDuration": "30", "freemiumDurationType": "DAY", "freemiumUnit": "10", "frequencyDuration": "30", "frequencyDurationType": "DAY", "earlyTerminationFee": "0", "monetizationPackage": { "id": "api-product-bundle-oct2020-yct1" }, "organization": { "id": "amer-mint-partner13" }, "paymentDueDays": "30", "prepaid": "true", "prorate": "false", "published": "true", "ratePlanDetails": [{ "currency": { "id": "usd" }, "paymentDueDays": "30", "meteringType": "UNIT", "organization": { "id": "amer-mint-partner13" }, "ratePlanRates": [{ "type": "RATECARD", "rate": "1.0", "startUnit": "0" }], "ratingParameter": "VOLUME", "type": "RATECARD" }], "recurringStartUnit": 1, "recurringType": "CALENDAR", "recurringFee": "0", "setUpFee": "0", "startDate": "2020-06-16 12:00:00", "type": "STANDARD" }

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

1 Answer

  • Sort: 
avatar image
0

Answer by Jay Bodicherla · Jun 18, 2020 at 03:34 AM

Hi Prakash, can you check if you setup any setup fee in "contract details" section or "base fee" under "cost" section? These 2 items might be the reason for initial deduction even though you set "Freemium" for the first 5 free calls.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

51 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Error during Enabling Monetization for an Organization 0 Answers

api monetization - myth? 2 Answers

Monetization workflow via the API to take the developer balance into account. 2 Answers

Apigee monetization license 0 Answers

Monetization setup failed 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges