stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetBalanceTransactionsId

Description

Contains the different functions to run the operation getBalanceTransactionsId

Synopsis

Documentation

getBalanceTransactionsId Source #

Arguments

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

The configuration to use in the request

-> Maybe String

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

-> String

id | Constraints: Maximum length of 5000

-> GetBalanceTransactionsIdRequestBody

The request body to send

-> m (Either HttpException (Response GetBalanceTransactionsIdResponse))

Monad containing the result of the operation

GET /v1/balance_transactions/{id}

<p>Retrieves the balance transaction with the given ID.</p>

<p>Note that this endpoint previously used the path <code>/v1/balance/history/:id</code>.</p>

data GetBalanceTransactionsIdResponse Source #

Represents a response of the operation getBalanceTransactionsId.

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

Constructors

GetBalanceTransactionsIdResponseError String

Means either no matching case available or a parse error

GetBalanceTransactionsIdResponse200 BalanceTransaction

Successful response.

GetBalanceTransactionsIdResponseDefault Error

Error response.