Skip to content

nodus billing auto-recharge

View Markdown

Top up automatically when available credit falls below a threshold

auto-recharge charges the saved card for –amount whenever available credit falls below –threshold. With no card on file it opens Stripe’s card setup first and turns auto-recharge on once the card is saved. Three failed charges in a row turn it off and notify the org’s Owners and Admins.

nodus billing auto-recharge --threshold USD --amount USD | --off [flags]
nodus billing auto-recharge --threshold 10 --amount 50
nodus billing auto-recharge --off
--amount string Dollars to add each time ($5–$1,000) (default "20")
-h, --help help for auto-recharge
--no-open Print the card setup link instead of opening the browser
--no-wait With no card on file, print the setup link and return without turning auto-recharge on
--off Turn auto-recharge off
--threshold string Recharge when available credit falls below this many dollars (at least 5) (default "10")
--context string Context from the config file to use
--org string Organization (selects the context for that org)
-p, --project string Project to work in
-v, --verbose Log each API request (never credentials)
  • nodus billing - Show the org’s balance; top up, redeem a code and manage auto-recharge