proofzero / rollupid

Open Source and OIDC compliant digital identity for the private web
https://rollup.id
Apache License 2.0
135 stars 12 forks source link

feat(billing): Usage based billing #2632

Open betimshahini opened 10 months ago

betimshahini commented 10 months ago

Why

To support future use cases and services that inherently can scale proportionally to users' needs (eg. object storage), we need to support usage based billing.

What

  1. Need patterns for reporting of service usage by some consumption unit (eg. # of reads, GBs written, etc) for inclusion in a service page. In addition, need patterns for reporting the cost associated to that usage.
  2. Need patterns to purchase a pack of consumption units (eg. 1 million read operations) and for those to be applied to both the service usage level as well as the billing scenarios in item above.

How

picassobanana commented 7 months ago

Service Plan & Billing Page

Figma link

Preview

Screenshot 2023-11-14 at 16 59 20

Service Page (Storage)

Figma Link

Preview

Screenshot 2023-11-14 at 17 03 21