CH·02CLI reference

deeprelay billing renew-from-balance

Show or set paying plan renewals from your deposited balance (on|off)

Show or set paying plan renewals from your deposited balance (on|off)

Synopsis

Shows or sets whether your plan's renewal is paid from your deposited balance. With no argument it prints the setting and how your balance splits; on or off changes it.

Renew from balance  on — paid from deposited balance when it covers the full price, otherwise the saved payment method
Plan                Plus — $5.00 / month
Next renewal        2026-12-06
Can pay a plan      $7.00 of your $12.00 balance (deposited funds)
Free credit         $3.00 (pays for usage, never for a plan)
Recent deposits     $2.00 can pay a plan from Nov 7, 15:04 UTC

How a renewal is paid

When the setting is on and your deposited balance covers the plan's full price on the renewal date, the renewal is taken from your balance. When it does not, nothing is taken from your balance: your saved payment method is charged as usual, and your organization's admins are emailed. There is no partial payment.

The setting is on by default for a plan you started from balance (deeprelay billing subscribe --from-balance) and off for a plan you started by card or UPI.

What counts as deposited balance

Only money you deposited can pay for a plan:

  • Can pay a plan — deposited funds available now.
  • Free credit — referral and promo credit, credit codes, post rewards, staff grants, downtime credits and adjustments. It pays for usage, never for a plan.
  • Recent deposits — card and UPI deposits count 24 hours after they land; the row says when.

Only a US-dollar plan can renew from balance. A plan billed in rupees through UPI keeps renewing through UPI.

Permissions and errors

Reading the setting works with any key. Changing it requires an org admin API key with the billing write scope, the same as subscribe. A member key gets 403.

SituationResult
Not on or offrefused locally, nothing sent
Subscriptions not configured on this deployment503 subscription_not_configured
Not an org admin403

Examples

# What is set, and could my balance pay the next renewal?
deeprelay billing renew-from-balance

# Pay renewals from balance when it covers the price.
deeprelay billing renew-from-balance on

# Always charge the saved payment method.
deeprelay billing renew-from-balance off

# For a script: the full status, same shape as `billing subscription`.
deeprelay billing renew-from-balance --output json | jq '{renew_from_balance, balance_payment}'
deeprelay billing renew-from-balance [on|off] [flags]

Options

  -h, --help   help for renew-from-balance

Options inherited from parent commands

      --api-base string   API base URL (override with DEEPRELAY_API_BASE env) (default "https://api.deeprelay.ai/v1")
      --debug             Enable debug logging to stderr
      --no-preflight      Skip the plan/credit check before inference requests (override with DEEPRELAY_NO_PREFLIGHT env)
  -o, --output string     Output format: table|json (default table on TTY, json otherwise) (default "table")

SEE ALSO

← The deeprelay CLI