Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getApplicationFeesIdRefunds
Synopsis
- getApplicationFeesIdRefunds :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> String -> Maybe Integer -> Maybe String -> GetApplicationFeesIdRefundsRequestBody -> m (Either HttpException (Response GetApplicationFeesIdRefundsResponse))
- getApplicationFeesIdRefundsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> String -> Maybe Integer -> Maybe String -> GetApplicationFeesIdRefundsRequestBody -> m (Either HttpException (Response ByteString))
- getApplicationFeesIdRefundsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> String -> Maybe Integer -> Maybe String -> GetApplicationFeesIdRefundsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetApplicationFeesIdRefundsResponse))
- getApplicationFeesIdRefundsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> String -> Maybe Integer -> Maybe String -> GetApplicationFeesIdRefundsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetApplicationFeesIdRefundsRequestBody = GetApplicationFeesIdRefundsRequestBody {
- data GetApplicationFeesIdRefundsResponse
- data GetApplicationFeesIdRefundsResponseBody200 = GetApplicationFeesIdRefundsResponseBody200 {}
- data GetApplicationFeesIdRefundsResponseBody200Object'
Documentation
getApplicationFeesIdRefunds Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | ending_before: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. | Constraints: Maximum length of 5000 |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | id | Constraints: Maximum length of 5000 |
-> Maybe Integer | limit: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
-> Maybe String | starting_after: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. | Constraints: Maximum length of 5000 |
-> GetApplicationFeesIdRefundsRequestBody | The request body to send |
-> m (Either HttpException (Response GetApplicationFeesIdRefundsResponse)) | Monad containing the result of the operation |
GET /v1/application_fees/{id}/refunds
<p>You can see a list of the refunds belonging to a specific application fee. Note that the 10 most recent refunds are always available by default on the application fee object. If you need more than those 10, you can use this API method and the <code>limit</code> and <code>starting_after</code> parameters to page through additional refunds.</p>
getApplicationFeesIdRefundsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> String -> Maybe Integer -> Maybe String -> GetApplicationFeesIdRefundsRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/application_fees/{id}/refunds
The same as getApplicationFeesIdRefunds
but returns the raw ByteString
getApplicationFeesIdRefundsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> String -> Maybe Integer -> Maybe String -> GetApplicationFeesIdRefundsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetApplicationFeesIdRefundsResponse)) Source #
GET /v1/application_fees/{id}/refunds
Monadic version of getApplicationFeesIdRefunds
(use with runWithConfiguration
)
getApplicationFeesIdRefundsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> String -> Maybe Integer -> Maybe String -> GetApplicationFeesIdRefundsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/application_fees/{id}/refunds
Monadic version of getApplicationFeesIdRefundsRaw
(use with runWithConfiguration
)
data GetApplicationFeesIdRefundsRequestBody Source #
Defines the data type for the schema getApplicationFeesIdRefundsRequestBody
data GetApplicationFeesIdRefundsResponse Source #
Represents a response of the operation getApplicationFeesIdRefunds
.
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), GetApplicationFeesIdRefundsResponseError
is used.
GetApplicationFeesIdRefundsResponseError String | Means either no matching case available or a parse error |
GetApplicationFeesIdRefundsResponse200 GetApplicationFeesIdRefundsResponseBody200 | Successful response. |
GetApplicationFeesIdRefundsResponseDefault Error | Error response. |
data GetApplicationFeesIdRefundsResponseBody200 Source #
Defines the data type for the schema GetApplicationFeesIdRefundsResponseBody200
GetApplicationFeesIdRefundsResponseBody200 | |
|
data GetApplicationFeesIdRefundsResponseBody200Object' Source #
Defines the enum schema GetApplicationFeesIdRefundsResponseBody200Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
GetApplicationFeesIdRefundsResponseBody200Object'EnumOther Value | |
GetApplicationFeesIdRefundsResponseBody200Object'EnumTyped String | |
GetApplicationFeesIdRefundsResponseBody200Object'EnumStringList |