stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetExchangeRatesRateId

Description

Contains the different functions to run the operation getExchangeRatesRateId

Synopsis

Documentation

getExchangeRatesRateId Source #

Arguments

:: forall m. MonadHTTP m 
=> GetExchangeRatesRateIdParameters

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

-> StripeT m (Response GetExchangeRatesRateIdResponse)

Monadic computation which returns the result of the operation

GET /v1/exchange_rates/{rate_id}

<p>Retrieves the exchange rates from the given currency to every supported currency.</p>

data GetExchangeRatesRateIdParameters Source #

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

Constructors

GetExchangeRatesRateIdParameters 

Fields

data GetExchangeRatesRateIdResponse Source #

Represents a response of the operation getExchangeRatesRateId.

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

Constructors

GetExchangeRatesRateIdResponseError String

Means either no matching case available or a parse error

GetExchangeRatesRateIdResponse200 ExchangeRate

Successful response.

GetExchangeRatesRateIdResponseDefault Error

Error response.