forked from Open-Data-Product-Initiative/v3.0
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
pricingPlans: | ||
declarative: | ||
en: | ||
- name: Premium subscription 1 month | ||
priceCurrency: EUR | ||
price: 50.00 | ||
billingDuration: month | ||
unit: recurring | ||
maxTransactionQuantity: 200000 | ||
offering: | ||
- High Quality Pets data | ||
- High amount of transactions | ||
- Billed monthly | ||
executable: | ||
- name: Premium subscription 1 year | ||
type: Stripe | ||
# On Stripe to get started with Payment Links, create a product, then use that product to create a price. | ||
reference: https://prometheus.io/docs/prometheus/latest/querying/basics/ | ||
|
||
# CREATE: Here we want to provide YAML or alike as code in order to create the product in Stripe | ||
# Stripe supports standard pricing (charging the same price for each unit—either | ||
# one time or recurring) and Customer chooses price (letting your customer specify | ||
# the price). It doesn’t support advanced options like package pricing, graduated | ||
# pricing, or volume pricing. Additionally, Customer choose prices currently doesn’t | ||
# support recurring payments or donations. https://docs.stripe.com/payment-links/api | ||
|
||
create: | ||
spec: |- | ||
stripe products create \ | ||
--name="Premium subscription 1 year" | ||
stripe prices create \ | ||
--currency=eur \ | ||
--unit-amount=50 \ | ||
-d "recurring[interval]"=month \ | ||
-d "product_data[name]"="Premium subscription 1 year" | ||
# MODIFY: Here we want to provide YAML or alike as code in order to modify the product in Stripe | ||
|
||
update: | ||
spec: |- | ||
- update the product | ||
- update the price | ||
# RETIRE: Here we want to provide YAML or alike as code in order to retire the product in Stripe | ||
|
||
retire: | ||
spec: |- | ||
- retire the product | ||
# PURCHASE: Here we want to generate active link or other information | ||
# to ignite the purchase on Stripe | ||
|
||
purchase: | ||
spec: |- | ||
- generate or get the link in order to provide method for client to ignite purchase process | ||