# `Stripe.Params.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/params/billing_portal/session_create_params.ex#L102)

Nested parameters.

# `t`

```elixir
@type t() ::
  %Stripe.Params.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel{
    retention:
      Stripe.Params.BillingPortal.SessionCreateParams.FlowData.SubscriptionCancel.Retention.t()
      | nil,
    subscription: String.t() | nil
  }
```

* `retention` - Specify a retention strategy to be used in the cancellation flow.
* `subscription` - The ID of the subscription to be canceled. Max length: 5000.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
