HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulestripeapi-3.0.0.0Haskell2010

StripeAPI.Operations.GetSubscriptions

Contains the different functions to run the operation getSubscriptions

  • 11 types
  • 6 values
  • Packagestripeapi-3.0.0.0
  • Exports17
  • LanguageHaskell2010
  • LicenceMIT
  • SourceGetSubscriptions.hs

Defines the object schema located at paths./v1/subscriptions.GET.parameters in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/subscriptions.GET.parameters.properties.queryCollection_method in the specification.

Represents the parameter named 'collection_method'

The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.

Constructors

Instances4Eq, Show, FromJSON, ToJSON
Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/subscriptions.GET.parameters.properties.queryCreated.anyOf in the specification.

Represents the parameter named 'created'

Instances4Eq, Show, FromJSON, ToJSON
Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/subscriptions.GET.parameters.properties.queryCurrent_period_end.anyOf in the specification.

Represents the parameter named 'current_period_end'

Instances4Eq, Show, FromJSON, ToJSON
Instances4Eq, Show, FromJSON, ToJSON

Defines the oneOf schema located at paths./v1/subscriptions.GET.parameters.properties.queryCurrent_period_start.anyOf in the specification.

Represents the parameter named 'current_period_start'

Instances4Eq, Show, FromJSON, ToJSON

Defines the enum schema located at paths./v1/subscriptions.GET.parameters.properties.queryStatus in the specification.

Represents the parameter named 'status'

The status of the subscriptions to retrieve. Passing in a value of `canceled` will return all canceled subscriptions, including those belonging to deleted customers. Pass `ended` to find subscriptions that are canceled and subscriptions that are expired due to incomplete payment. Passing in a value of `all` will return subscriptions of all statuses. If no value is supplied, all subscriptions that have not been canceled are returned.

Constructors

Instances4Eq, Show, FromJSON, ToJSON

Represents a response of the operation getSubscriptions.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetSubscriptionsResponseError is used.

Constructors

Instances2Eq, Show

Defines the object schema located at paths./v1/subscriptions.GET.responses.200.content.application/json.schema in the specification.

Constructors

Instances4Eq, Show, FromJSON, ToJSON