stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetExchangeRatesCurrency

Description

Contains the different functions to run the operation getExchangeRatesCurrency

Synopsis

Documentation

getExchangeRatesCurrency Source #

Arguments

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

The configuration to use in the request

-> String

currency | Constraints: Maximum length of 3

-> Maybe String

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

-> GetExchangeRatesCurrencyRequestBody

The request body to send

-> m (Either HttpException (Response GetExchangeRatesCurrencyResponse))

Monad containing the result of the operation

GET /v1/exchange_rates/{currency}

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

data GetExchangeRatesCurrencyResponse Source #

Represents a response of the operation getExchangeRatesCurrency.

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

Constructors

GetExchangeRatesCurrencyResponseError String

Means either no matching case available or a parse error

GetExchangeRatesCurrencyResponse200 ExchangeRate

Successful response.

GetExchangeRatesCurrencyResponseDefault Error

Error response.