Beta
API Monetization is currently in beta. The APIs and features documented here are stable, but you should evaluate them in a non-production environment first. Monetization is free to use during the beta period. To use monetization in production, contact us. Production pricing has not yet been announced.
Private plans are hidden from the public pricing table and can only be accessed by users you explicitly invite. Use private plans for custom enterprise pricing, partner deals, or beta testing with specific users.
Prerequisites
Before creating private plans, complete the Quickstart guide to set up meters, features, and at least one public plan.
Create a private plan
A plan becomes private when you set "zuplo_private_plan": "true" in the plan's
metadata field. You can create private plans through the API.
This example creates an invite-only Developer plan with 1,000 included requests and $0.10/request overage:
Code
Save the returned id — you need it to publish and invite users.
The key difference from a public plan is metadata.zuplo_private_plan set to
"true". Everything else (rate cards, entitlements, pricing) works the same as
public plans.
Publish the plan
Like standard plans, private plans are created as drafts. Publish before users can subscribe:
Code
Invite a user
After publishing, create an invite tied to the user's email address. The user does not need to exist in Zuplo yet, but they must sign in with the invited email to see the private plan.
Code
Once the invite is created, the invited user sees this plan on the Developer Portal pricing page after logging in. Users who have not been invited do not see the plan.
How it works
- Private plans do not appear on the public pricing table.
- Only users with a matching invite (by email) see the plan after signing in.
- A user can be invited to multiple private plans.
- Private plans support the same rate cards, entitlements, and billing features as public plans.
- Subscriptions to private plans work identically to public plan subscriptions (Stripe Checkout, API key provisioning, usage tracking).