API Monetization


#1

Any plans around this topic?


#2

Doubt community edition would get a plugin around this as it feels fairly corporate/company centric but I would expect Kong looks into some sort of financial api call charge model to incorporate into their enterprise edition. Just a community members opinion here :slight_smile: . Although to write an opensource plugin around this would be fairly trivial leveraging the DB of Kong with a plugin:

Something simple might be:
Table of service name | consumer | owed pay
and then have the plugin settings have something around charge amount per 200-400 level tx likely(or some http status configurable). Also some sort of export/clean setting that wipes the db table into an email or csv/doc monthly/weekly/daily for people to process and charge accordingly.

Give it a go : https://docs.konghq.com/1.0.x/plugin-development/

-Jeremy