stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetIssuingCards

Description

Contains the different functions to run the operation getIssuingCards

Synopsis

Documentation

getIssuingCards Source #

Arguments

:: forall m. MonadHTTP m 
=> GetIssuingCardsParameters

Contains all available parameters of this operation (query and path parameters)

-> StripeT m (Response GetIssuingCardsResponse)

Monadic computation which returns the result of the operation

GET /v1/issuing/cards

<p>Returns a list of Issuing <code>Card</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>

data GetIssuingCardsParameters Source #

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

Constructors

GetIssuingCardsParameters 

Fields

data GetIssuingCardsParametersQueryCreated'OneOf1 Source #

Defines the object schema located at paths./v1/issuing/cards.GET.parameters.properties.queryCreated.anyOf in the specification.

data GetIssuingCardsParametersQueryCreated'Variants Source #

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

Represents the parameter named 'created'

Only return cards that were issued during the given date interval.

data GetIssuingCardsParametersQueryStatus' Source #

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

Represents the parameter named 'status'

Only return cards that have the given status. One of `active`, `inactive`, or `canceled`.

Constructors

GetIssuingCardsParametersQueryStatus'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetIssuingCardsParametersQueryStatus'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetIssuingCardsParametersQueryStatus'EnumActive

Represents the JSON value "active"

GetIssuingCardsParametersQueryStatus'EnumCanceled

Represents the JSON value "canceled"

GetIssuingCardsParametersQueryStatus'EnumInactive

Represents the JSON value "inactive"

data GetIssuingCardsParametersQueryType' Source #

Defines the enum schema located at paths./v1/issuing/cards.GET.parameters.properties.queryType in the specification.

Represents the parameter named 'type'

Only return cards that have the given type. One of `virtual` or `physical`.

Constructors

GetIssuingCardsParametersQueryType'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetIssuingCardsParametersQueryType'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetIssuingCardsParametersQueryType'EnumPhysical

Represents the JSON value "physical"

GetIssuingCardsParametersQueryType'EnumVirtual

Represents the JSON value "virtual"

data GetIssuingCardsResponse Source #

Represents a response of the operation getIssuingCards.

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

Constructors

GetIssuingCardsResponseError String

Means either no matching case available or a parse error

GetIssuingCardsResponse200 GetIssuingCardsResponseBody200

Successful response.

GetIssuingCardsResponseDefault Error

Error response.

data GetIssuingCardsResponseBody200 Source #

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

Constructors

GetIssuingCardsResponseBody200 

Fields