Zoho Billing icon

Zoho Billing

Consume Zoho Billing API v1 (Subscriptions, Plans, Addons, Coupons, Invoices)

Subscription → Cancel

AI-generated

Summary

Cancels a Zoho Billing subscription by ID, either immediately or at the end of the current billing term, and returns Zoho's response.

Inputs

  • organizationId (required) — Zoho Billing organization, picked from a list loaded from the API. Sent as the X-com-zoho-subscriptions-organizationid header.
  • subscriptionId (required) — ID of the subscription to cancel. Used in the request path.
  • cancelAtEnd — Defaults to false. If true, sends cancel_at_end=true so the subscription is cancelled at the end of the current term. If false, sends cancel_at_end=false.

Output shape

One output item per input item, containing the JSON response from Zoho's cancel endpoint (POST /billing/v1/subscriptions/{id}/cancel). Typically this includes the updated subscription details.

Each input item triggers its own API call. If Zoho returns an empty body, the output is an empty object. With Continue On Fail enabled, a failed item yields {error: message} instead of stopping the workflow. The API base URL is chosen from the credential's override, API domain or region.

Examples

Example 1: Cancel a customer's subscription immediately after they request termination.

Select the organization, set Subscription ID to an expression like {{$json.subscription_id}}, and leave Cancel At End off.

Example 2: Let a customer keep access until the paid period ends, then stop renewal.

Set Subscription ID and turn Cancel At End on.

Links

Discussion