Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postRecipientsId
Synopsis
- postRecipientsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostRecipientsIdRequestBody -> m (Either HttpException (Response PostRecipientsIdResponse))
- postRecipientsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostRecipientsIdRequestBody -> m (Either HttpException (Response ByteString))
- postRecipientsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostRecipientsIdResponse))
- postRecipientsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostRecipientsIdRequestBody = PostRecipientsIdRequestBody {
- postRecipientsIdRequestBodyBankAccount :: Maybe String
- postRecipientsIdRequestBodyCard :: Maybe String
- postRecipientsIdRequestBodyDefaultCard :: Maybe String
- postRecipientsIdRequestBodyDescription :: Maybe String
- postRecipientsIdRequestBodyEmail :: Maybe String
- postRecipientsIdRequestBodyExpand :: Maybe ([] String)
- postRecipientsIdRequestBodyMetadata :: Maybe PostRecipientsIdRequestBodyMetadata'
- postRecipientsIdRequestBodyName :: Maybe String
- postRecipientsIdRequestBodyTaxId :: Maybe String
- data PostRecipientsIdRequestBodyMetadata' = PostRecipientsIdRequestBodyMetadata' {
- data PostRecipientsIdResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | id | Constraints: Maximum length of 5000 |
-> PostRecipientsIdRequestBody | The request body to send |
-> m (Either HttpException (Response PostRecipientsIdResponse)) | Monad containing the result of the operation |
POST /v1/recipients/{id}
<p>Updates the specified recipient by setting the values of the parameters passed. Any parameters not provided will be left unchanged.</p>
<p>If you update the name or tax ID, the identity verification will automatically be rerun. If you update the bank account, the bank account validation will automatically be rerun.</p>
postRecipientsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostRecipientsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/recipients/{id}
The same as postRecipientsId
but returns the raw ByteString
postRecipientsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostRecipientsIdResponse)) Source #
POST /v1/recipients/{id}
Monadic version of postRecipientsId
(use with runWithConfiguration
)
postRecipientsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/recipients/{id}
Monadic version of postRecipientsIdRaw
(use with runWithConfiguration
)
data PostRecipientsIdRequestBody Source #
Defines the data type for the schema postRecipientsIdRequestBody
PostRecipientsIdRequestBody | |
|
Instances
data PostRecipientsIdRequestBodyMetadata' Source #
Defines the data type for the schema postRecipientsIdRequestBodyMetadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
data PostRecipientsIdResponse Source #
Represents a response of the operation postRecipientsId
.
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), PostRecipientsIdResponseError
is used.
PostRecipientsIdResponseError String | Means either no matching case available or a parse error |
PostRecipientsIdResponse200 Recipient | Successful response. |
PostRecipientsIdResponseDefault Error | Error response. |
Instances
Eq PostRecipientsIdResponse Source # | |
Defined in StripeAPI.Operations.PostRecipientsId | |
Show PostRecipientsIdResponse Source # | |
Defined in StripeAPI.Operations.PostRecipientsId showsPrec :: Int -> PostRecipientsIdResponse -> ShowS # show :: PostRecipientsIdResponse -> String # showList :: [PostRecipientsIdResponse] -> ShowS # |