Start a new topic

Metered billing without using metered billing API


We are implementing metered billing(Pay as you go) model.

We will charge customer every month depending on their usage.

I know about this API where a pending_invoice_created is sent to the webhook.

But we are thinking of implementing it in a different way. 

Rather than relying on webhook, our application will create a new invoice for each user at the start of the month and will keep adding lines to invoice every day. At the end of the month, our backend will "close" the invoice.

Doing so it is assumed that ChargeBee will automatically collect payments.

Are these assumptions and approach correct according to ChargeBee?

My major concern is that ChargeBee closes the invoice automatically if we are not using an invoice sent in webhook.

Also if we are not using the webhook feature for invoice, then do we need to turn off "Notify and wait to close Invoices"?

Login or Signup to post a comment