#0xl34n

1 messages · Page 1 of 1 (latest)

lost vigilBOT
rugged brook
dense glade
#

Oka, and i can update the rate like this example code?

const subscription = await stripe.subscriptions.update(
'sub_49ty4767H20z6a',
{
billing_thresholds: {
reset_billing_cycle_anchor: true,
},
}
);

rugged brook
#

I am confused what you are trying to do here. That code (you can apply code formatting by using three ` around your code), i sjust reseting the billing cycle anchor

dense glade
#

What I am trying to do is to establish a charge-per-use policy, with a free layer. But how do I tell Stripe how much the customer uses at the end of the month?