stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetSubscriptionItemsItem

Description

Contains the different functions to run the operation getSubscriptionItemsItem

Synopsis

Documentation

getSubscriptionItemsItem Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> Maybe String

expand: Specifies which fields in the response should be expanded.

-> String

item | Constraints: Maximum length of 5000

-> GetSubscriptionItemsItemRequestBody

The request body to send

-> m (Either HttpException (Response GetSubscriptionItemsItemResponse))

Monad containing the result of the operation

GET /v1/subscription_items/{item}

<p>Retrieves the invoice item with the given ID.</p>

data GetSubscriptionItemsItemResponse Source #

Represents a response of the operation getSubscriptionItemsItem.

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), GetSubscriptionItemsItemResponseError is used.

Constructors

GetSubscriptionItemsItemResponseError String

Means either no matching case available or a parse error

GetSubscriptionItemsItemResponse200 SubscriptionItem

Successful response.

GetSubscriptionItemsItemResponseDefault Error

Error response.