stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetTokensToken

Description

Contains the different functions to run the operation getTokensToken

Synopsis

Documentation

getTokensToken Source #

Arguments

:: forall m. MonadHTTP m 
=> GetTokensTokenParameters

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

-> ClientT m (Response GetTokensTokenResponse)

Monadic computation which returns the result of the operation

GET /v1/tokens/{token}

<p>Retrieves the token with the given ID.</p>

data GetTokensTokenParameters Source #

Defines the object schema located at paths./v1/tokens/{token}.GET.parameters in the specification.

Constructors

GetTokensTokenParameters 

Fields

data GetTokensTokenResponse Source #

Represents a response of the operation getTokensToken.

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

Constructors

GetTokensTokenResponseError String

Means either no matching case available or a parse error

GetTokensTokenResponse200 Token

Successful response.

GetTokensTokenResponseDefault Error

Error response.