Mimimum amount & charge

Pierre-Olivier Dybman's Avatar

Pierre-Olivier Dybman

03 Aug, 2017 07:37 PM

Hi everyone,

Is there an option to set up a minimum amount so that we don't try to charge unti that minimum is reached?

  1. Support Staff 1 Posted by Meghan Turner on 03 Aug, 2017 10:29 PM

    Meghan Turner's Avatar

    Hi Pierre,

    If a customer has a pending invoice that's below a minimum amount, you can change the customer's bill date before the invoice becomes due to prevent them from being charged at that time and allow them to keep accumulating charges on the pending invoice. You can automate the process of changing the customer's bill date with the bill reminder webhook. If you have this hook enabled, Cheddar will fire it to your hook listener before invoices become billable. You can define how many days prior to the invoice bill date that the bill reminder hook should be triggered in you product settings.

    The bill reminder hook payload contains information about the total amount of the upcoming invoice (subscription[invoice][transaction][amount]). If your listener determines that this amount is below a certain threshold, you can use the changeBillDate param in the customers/edit-subscription API to push the customers bill date for the current pending invoice to a date in the future.

    If you have any questions about how to set-up a listener or would like to see the additional information contained in the hooks, check out our Webhooks Knowledge Base article here. Let me know if I can answer any other questions, Pierre!

    Meghan

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac