CH·02CLI reference

deeprelay billing payment-methods

List, add and remove saved cards and UPI IDs, and choose what each pays for

List, add and remove saved cards and UPI IDs, and choose what each pays for

Synopsis

Lists your saved cards, Link wallets and UPI IDs and what each one pays for. This is the one place to manage how your organization pays: add a method, remove one, or choose which method your plan renews on and which one auto-pay charges.

ID                METHOD                  USED FOR
pm_1Q2w3E4r5T6y   Visa •••• 4242          plan renewal
pm_1Q2w3E4r5T7u   UPI · name@okhdfc       auto-pay
pm_1Q2w3E4r5T8i   UPI · old@okicici (cancelled)  -

A UPI ID shown as (cancelled) had its UPI AutoPay mandate cancelled in the UPI app. It is never charged; remove it, or add the UPI ID again to approve a new mandate.

Which method can pay what

Plan billed inCan renew on
US dollarsa card or Link
Rupees (a UPI plan)a UPI ID

Auto-pay can charge any card, Link wallet or active UPI ID (UPI tops up at most $130 per charge, under the ₹15,000 UPI AutoPay limit).

Subcommands

  • list — the same table (also what deeprelay billing payment-methods prints on its own).
  • add — a link that saves a card or approves UPI AutoPay; nothing is charged.
  • remove — detach a method. Removing the method your plan or auto-pay uses asks what should happen instead; a plan is never cancelled unless you say so.
  • set — choose the method your plan renews on (--plan) or auto-pay charges (--auto-pay). On a plan whose renewal failed, --plan also retries the payment right away.

Every subcommand needs an org admin API key with the billing scope.

deeprelay billing payment-methods [flags]

Options

  -h, --help   help for payment-methods

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