Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion PRIVATE_PLANS_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ curl -X POST "https://dev.zuplo.com/v3/metering/${ZUPLO_BUCKET_ID}/plans" \
"description": "1000 requests per month with overages",
"key": "private_developer",
"metadata": {
"zuplo_plan_order": "4",
"zuplo_private_plan": "true"
},
"name": "Private Developer",
Expand Down
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,7 @@ curl -X POST "https://dev.zuplo.com/v3/metering/${ZUPLO_BUCKET_ID}/plans" \
"currency": "USD",
"description": "1000 requests per month with overages",
"key": "developer",
"metadata": {
"zuplo_plan_order": "1"
},
"metadata": {},
"name": "Developer",
"proRatingConfig": {
"enabled": true,
Expand Down Expand Up @@ -297,9 +295,7 @@ curl -X POST "https://dev.zuplo.com/v3/metering/${ZUPLO_BUCKET_ID}/plans" \
"currency": "USD",
"description": "5000 requests per month with overages",
"key": "pro",
"metadata": {
"zuplo_plan_order": "2"
},
"metadata": {},
"name": "Pro",
"proRatingConfig": {
"enabled": true,
Expand Down Expand Up @@ -389,9 +385,7 @@ curl -X POST "https://dev.zuplo.com/v3/metering/${ZUPLO_BUCKET_ID}/plans" \
"currency": "USD",
"description": "10000 requests per month with overages",
"key": "business",
"metadata": {
"zuplo_plan_order": "3"
},
"metadata": {},
"name": "Business",
"proRatingConfig": {
"enabled": true,
Expand Down
12 changes: 3 additions & 9 deletions scripts/setup-monetization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,7 @@ DEVELOPER_RESPONSE=$(api_call POST "/v3/metering/${ZUPLO_BUCKET_ID}/plans" '{
"currency": "USD",
"description": "1000 requests per month with overages",
"key": "developer",
"metadata": {
"zuplo_plan_order": "1"
},
"metadata": {},
"name": "Developer",
"proRatingConfig": {
"enabled": true,
Expand Down Expand Up @@ -298,9 +296,7 @@ PRO_RESPONSE=$(api_call POST "/v3/metering/${ZUPLO_BUCKET_ID}/plans" '{
"currency": "USD",
"description": "5000 requests per month with overages",
"key": "pro",
"metadata": {
"zuplo_plan_order": "2"
},
"metadata": {},
"name": "Pro",
"proRatingConfig": {
"enabled": true,
Expand Down Expand Up @@ -385,9 +381,7 @@ BUSINESS_RESPONSE=$(api_call POST "/v3/metering/${ZUPLO_BUCKET_ID}/plans" '{
"currency": "USD",
"description": "10000 requests per month with overages",
"key": "business",
"metadata": {
"zuplo_plan_order": "3"
},
"metadata": {},
"name": "Business",
"proRatingConfig": {
"enabled": true,
Expand Down