0
votes

I do this question because I see it has been already done, but the answers are not clear.

I have enabled monetization in WSO2 API Manager 2.5.0 (integrated with WSO2 Analytics and WSO2 Identity Server as Key Manager) following documentation.

With an API subscriber user (registered on API Store), I subscribe to a commercial API (it has throttling tiers with subscription_fee and charge_per_extra properties), selecting a subscription throttling tier. I am redirected to the Billing Engine, so I sign up and enter the bank account information. After that, I am redirected to the API Store.

It is OK. But with the new user created in the Billing Engine, the API subscriber user can log in the Billing Engine and define new plans and generate invoices. It doesn't make sense for me.

In this answer, API developer user is separated from the API developer user. But I dont understand that. In my ideal use case:

  • API creator user (or API publisher user) should bill (generate and emit the invoice) to the API subscriber user depending of number of API requests.
  • API subscriber user (which is developer of his/her app) will receive the invoice, and will do the payment.

So, what is the difference between API subscriber user and API developer user?

And also, I would like to have same throttling tiers than billing plans in my platform. And not allow to subscribers create new plans (neither generate their own invoices). How can I do it?

There is other similar question explaining the flow and asking clarification about this, but the answer says it looks like a mistake in the docs. It is not true, because Billing Engine actually has the described flow.

Other question without success.

1

1 Answers

2
votes

@Pedro, ideally subscriber cannot define billing plan in the system. Since the billing engine is a demo app for monetization, it doesn't include the role validation.