llamanodes / web3-proxy

Fast loadbalancing and caching proxy for Ethereum or chains with similar JSON-RPC methods
https://llamanodes.com
GNU General Public License v3.0
148 stars 33 forks source link

LlamaNodes Premium | Stripe Dynamic Payments (automated billing at end of the month) #164

Open LlamaMB opened 1 year ago

LlamaMB commented 1 year ago

Context: We currently allow one-time deposits via crypto & Stripe... but no automatic billing which bills at the end of the month based on usage. So want to implement this features in a way that works with our current USD credit system.

Outcome: Charge LlamaNodes Premium users at the end of the month based off their usage for said month (1st-31st). So this would be retroactive billing essentially based on usage.

Considerations: 1) Must work with our current USD Credit system, so we'd essentially be giving them an arbitrary amount credits per month and then tallying up what's been used and charging accordingly 2) New Stripe endpoint and integration will likely have to be implemented. 3) Will have to work in back-stops, so system cannot be taken advantage of or gamed. E.G., Spend credits and put in bogus CC for examples

If you need any further detail, just let me know. Thanks! @talking-llama @WyseNynja