CH·02CLI reference
deeprelay billing payment-methods remove
Remove a saved payment method
Remove a saved payment method
Synopsis
Removes a saved payment method. Removing a UPI ID revokes its UPI AutoPay mandate (and any older mandate on the same UPI ID).
It is refused while a payment on the method is still processing; try again once it completes (UPI debits take about 24 hours).
If your plan renews on the method, or auto-pay charges it, the first attempt changes nothing. It lists the saved methods you can move to and asks you to choose:
Your plan renews on this payment method. Move it to another method, or cancel the plan at the end of the paid period.
Move the plan to one of these with --move-plan-to <id>:
pm_1Q2w3E4r5T6y Mastercard •••• 4444
Or cancel the plan at the end of the paid period (Nov 5, 2026) with --cancel-plan.
Error: nothing was changed
| Flag | Effect |
|---|---|
--move-plan-to | the plan renews on that method from now on |
--cancel-plan | the plan ends at the close of the paid period; nothing more is charged, and deeprelay billing resume undoes it until then |
--move-auto-pay-to | auto-pay charges that method from now on |
--disable-auto-pay | auto-pay is turned off |
A plan is never cancelled because a card was removed unless you pass
--cancel-plan.
Examples
deeprelay billing payment-methods remove pm_1Q2w3E4r5T6y
deeprelay billing payment-methods remove pm_1Q2w3E4r5T6y --move-plan-to pm_1Q2w3E4r5T7u
deeprelay billing payment-methods remove pm_1Q2w3E4r5T6y --cancel-plan --disable-auto-pay
deeprelay billing payment-methods remove <id> [flags]
Options
--cancel-plan If your plan renews on this method, cancel the plan at the end of the paid period instead
--disable-auto-pay If auto-pay charges this method, turn auto-pay off instead
-h, --help help for remove
--move-auto-pay-to string If auto-pay charges this method, point it at this saved method first
--move-plan-to string If your plan renews on this method, move it to this saved method first
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
- deeprelay billing payment-methods - List, add and remove saved cards and UPI IDs, and choose what each pays for