#hellruba
1 messages · Page 1 of 1 (latest)
Not through the subscriptions or invoice API unfortunately. You can only actually charge customers. You could create a PaymentIntent and place a hold on the card but I am not sure if it is okay to place a hold you never intend on capturing
Also placing that hold wouldn't necessarily help you at the end of the month. It is still possible for someone with enough funds at the beginning of the month to not have funds at the end
Ye i thought so too, had a behavior where needed a product with a fixed pricing and an overaged so used the tiered pricing with the first tier being the limit of the fixed pricing and the second tier the overage usage. But that made it being charged at end of subscription period. Guess will have to redo that flow and maybe use 2 different product linked to that one use case i guess to handle that specific behavior where i want the fixed part being charged at the begin of the period and the overusage at the end
thanks 🙂
Our docs indicate that an upfront charge like that should be possible https://stripe.com/docs/billing/subscriptions/usage-based#billing-in-arrears
Though they unfortunately leave out all of the details about it. I will make sure we fix that
oh i will check that out
I think the way to do this would be to add a one-time invoice item https://stripe.com/docs/api/subscriptions/create#create_subscription-add_invoice_items
Though of course that would only apply to the initial invoice.
so that would be only on the first invoice? for the next scheduled i will have to add it again or it will be post paid again?
Unless you need the beginning and end of month payments to be on separate invoices, I think you can have a recurring flat fee and then to add the one-time item that goes on the first invoice
That way there would be an initial invoice with just the flat price and then every invoice after would be flat price + usage for the month.