Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postRecipientsId
Synopsis
- postRecipientsId :: forall m. MonadHTTP m => Text -> Maybe PostRecipientsIdRequestBody -> ClientT m (Response PostRecipientsIdResponse)
- data PostRecipientsIdRequestBody = PostRecipientsIdRequestBody {
- postRecipientsIdRequestBodyBankAccount :: Maybe Text
- postRecipientsIdRequestBodyCard :: Maybe Text
- postRecipientsIdRequestBodyDefaultCard :: Maybe Text
- postRecipientsIdRequestBodyDescription :: Maybe Text
- postRecipientsIdRequestBodyEmail :: Maybe Text
- postRecipientsIdRequestBodyExpand :: Maybe [Text]
- postRecipientsIdRequestBodyMetadata :: Maybe PostRecipientsIdRequestBodyMetadata'Variants
- postRecipientsIdRequestBodyName :: Maybe Text
- postRecipientsIdRequestBodyTaxId :: Maybe Text
- mkPostRecipientsIdRequestBody :: PostRecipientsIdRequestBody
- data PostRecipientsIdRequestBodyMetadata'Variants
- data PostRecipientsIdResponse
Documentation
:: forall m. MonadHTTP m | |
=> Text | id | Constraints: Maximum length of 5000 |
-> Maybe PostRecipientsIdRequestBody | The request body to send |
-> ClientT m (Response PostRecipientsIdResponse) | Monadic computation which returns 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>
data PostRecipientsIdRequestBody Source #
Defines the object schema located at paths./v1/recipients/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostRecipientsIdRequestBody | |
|
Instances
mkPostRecipientsIdRequestBody :: PostRecipientsIdRequestBody Source #
Create a new PostRecipientsIdRequestBody
with all required fields.
data PostRecipientsIdRequestBodyMetadata'Variants Source #
Defines the oneOf schema located at paths./v1/recipients/{id}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf
in the specification.
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`.
PostRecipientsIdRequestBodyMetadata'EmptyString | Represents the JSON value |
PostRecipientsIdRequestBodyMetadata'Object Object |
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 # |