stripeapi-0.1.0.2: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetIssuingCards

Description

Contains the different functions to run the operation getIssuingCards

Synopsis

Documentation

getIssuingCards Source #

Arguments

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

The configuration to use in the request

-> Maybe Text

cardholder: Only return cards belonging to the Cardholder with the provided ID. | Constraints: Maximum length of 5000

-> Maybe Text

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

-> Maybe Text

ending_before: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. | Constraints: Maximum length of 5000

-> Maybe Integer

exp_month: Only return cards that have the given expiration month.

-> Maybe Integer

exp_year: Only return cards that have the given expiration year.

-> Maybe Text

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

-> Maybe Text

last4: Only return cards that have the given last four digits. | Constraints: Maximum length of 5000

-> Maybe Integer

limit: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.

-> Maybe Text

name: Only return cards that have the given name. | Constraints: Maximum length of 5000

-> Maybe Text

source: Only return cards whose full card number matches that of this card source ID. | Constraints: Maximum length of 5000

-> Maybe Text

starting_after: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. | Constraints: Maximum length of 5000

-> Maybe Text

status: Only return cards that have the given status. One of `active`, `inactive`, `canceled`, `lost`, or `stolen`. | Constraints: Maximum length of 5000

-> Maybe Text

type: Only return cards that have the given type. One of `virtual` or `physical`. | Constraints: Maximum length of 5000

-> Maybe GetIssuingCardsRequestBody

The request body to send

-> m (Either HttpException (Response GetIssuingCardsResponse))

Monad containing 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 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 data type for the schema GetIssuingCardsResponseBody200

Constructors

GetIssuingCardsResponseBody200 

Fields

data GetIssuingCardsResponseBody200Object' Source #

Defines the enum schema GetIssuingCardsResponseBody200Object'

String representing the object's type. Objects of the same type share the same value. Always has the value `list`.