As part of our proof of concept exercise we are trying to explore monetization offered by Apigee. We have so far done following steps as part of our effort to test this feature out:
- Setup an API proxy with monetization enabled. It looks like
- The monetization policy is setup as:
- Then we created a product and the transaction record policy for that:
- Then we created a package and added a rate plan for that:
- Then we added Limits:
Now After this if I do a quick test to do more than 1000 transactions for the developer then it should show quota voilation. But right now I am stuck because it doesnt seem to work for a single transaction. Its always showing:
<error>
<messages>
</error>
Is there any additional setup we have to do to do a quick test on monetization policy??
Solved! Go to Solution.
Now it works! http://demo9-test.apigee.net/monetization/v0/orgs/10000003?apikey=TWov1kAz5mNmJrWhfxM8ztIDvGgu6vF9
{"orgId":10000003,"organizationName":"agrd"}