stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetCustomersCustomerCardsId

Description

Contains the different functions to run the operation getCustomersCustomerCardsId

Synopsis

Documentation

getCustomersCustomerCardsId Source #

Arguments

:: forall m. MonadHTTP m 
=> GetCustomersCustomerCardsIdParameters

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

-> StripeT m (Response GetCustomersCustomerCardsIdResponse)

Monadic computation which returns the result of the operation

GET /v1/customers/{customer}/cards/{id}

<p>You can always see the 10 most recent cards directly on a customer; this method lets you retrieve details about a specific card stored on the customer.</p>

data GetCustomersCustomerCardsIdParameters Source #

Defines the object schema located at paths./v1/customers/{customer}/cards/{id}.GET.parameters in the specification.

Constructors

GetCustomersCustomerCardsIdParameters 

Fields

data GetCustomersCustomerCardsIdResponse Source #

Represents a response of the operation getCustomersCustomerCardsId.

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

Constructors

GetCustomersCustomerCardsIdResponseError String

Means either no matching case available or a parse error

GetCustomersCustomerCardsIdResponse200 Card

Successful response.

GetCustomersCustomerCardsIdResponseDefault Error

Error response.