Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getIssuingAuthorizations
Synopsis
- getIssuingAuthorizations :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe GetIssuingAuthorizationsRequestBody -> m (Either HttpException (Response GetIssuingAuthorizationsResponse))
- getIssuingAuthorizationsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe GetIssuingAuthorizationsRequestBody -> m (Either HttpException (Response ByteString))
- getIssuingAuthorizationsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe GetIssuingAuthorizationsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetIssuingAuthorizationsResponse))
- getIssuingAuthorizationsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe GetIssuingAuthorizationsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetIssuingAuthorizationsRequestBody = GetIssuingAuthorizationsRequestBody {
- data GetIssuingAuthorizationsResponse
- data GetIssuingAuthorizationsResponseBody200 = GetIssuingAuthorizationsResponseBody200 {}
- data GetIssuingAuthorizationsResponseBody200Object'
Documentation
getIssuingAuthorizations Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe Text | card: Only return issuing transactions that belong to the given card. | Constraints: Maximum length of 5000 |
-> Maybe Text | cardholder: Only return authorizations belonging to the given cardholder. | Constraints: Maximum length of 5000 |
-> Maybe Text | created: Only return authorizations that were created during the given date interval. |
-> Maybe Text | 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 Text | expand: Specifies which fields in the response should be expanded. |
-> 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 Text | 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 |
-> Maybe Text | status: Only return authorizations with the given status. One of `pending`, `closed`, or `reversed`. |
-> Maybe GetIssuingAuthorizationsRequestBody | The request body to send |
-> m (Either HttpException (Response GetIssuingAuthorizationsResponse)) | Monad containing the result of the operation |
GET /v1/issuing/authorizations
<p>Returns a list of Issuing <code>Authorization</code> objects. The objects are sorted in descending order by creation date, with the most recently created object appearing first.</p>
getIssuingAuthorizationsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe GetIssuingAuthorizationsRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/issuing/authorizations
The same as getIssuingAuthorizations
but returns the raw ByteString
getIssuingAuthorizationsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe GetIssuingAuthorizationsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetIssuingAuthorizationsResponse)) Source #
GET /v1/issuing/authorizations
Monadic version of getIssuingAuthorizations
(use with runWithConfiguration
)
getIssuingAuthorizationsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Integer -> Maybe Text -> Maybe Text -> Maybe GetIssuingAuthorizationsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/issuing/authorizations
Monadic version of getIssuingAuthorizationsRaw
(use with runWithConfiguration
)
data GetIssuingAuthorizationsRequestBody Source #
Defines the data type for the schema getIssuingAuthorizationsRequestBody
data GetIssuingAuthorizationsResponse Source #
Represents a response of the operation getIssuingAuthorizations
.
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), GetIssuingAuthorizationsResponseError
is used.
GetIssuingAuthorizationsResponseError String | Means either no matching case available or a parse error |
GetIssuingAuthorizationsResponse200 GetIssuingAuthorizationsResponseBody200 | Successful response. |
GetIssuingAuthorizationsResponseDefault Error | Error response. |
data GetIssuingAuthorizationsResponseBody200 Source #
Defines the data type for the schema GetIssuingAuthorizationsResponseBody200
GetIssuingAuthorizationsResponseBody200 | |
|
data GetIssuingAuthorizationsResponseBody200Object' Source #
Defines the enum schema GetIssuingAuthorizationsResponseBody200Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
GetIssuingAuthorizationsResponseBody200Object'EnumOther Value | |
GetIssuingAuthorizationsResponseBody200Object'EnumTyped Text | |
GetIssuingAuthorizationsResponseBody200Object'EnumStringList |