Monetization is available as an add-on as part of an enterprise plan. If you would like to purchase this feature, please contact us at sales@zuplo.com or reach out to your account manager.
Most enterprise features can be used in a trial mode for a limited time. Feel free to use enterprise features for development and testing purposes.
You can programmatically access details of your users subscription when using
Zuplo monetization. Here's an example inbound policy that logs the subscription
details.
If no subscription is available, getSubscription will return undefined.
Note how you can see details about the subscriber (e-mail and JWT 'sub' from the
Dev Portal sign-in) and the current consumption level of the meters specified on
their plan.
This information is only available in the pipeline after the
MonetizationInboundPolicy has executed (this loads the subscription data).