Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postRecipients
Synopsis
- postRecipients :: forall m. MonadHTTP m => PostRecipientsRequestBody -> ClientT m (Response PostRecipientsResponse)
- data PostRecipientsRequestBody = PostRecipientsRequestBody {
- postRecipientsRequestBodyBankAccount :: Maybe Text
- postRecipientsRequestBodyCard :: Maybe Text
- postRecipientsRequestBodyDescription :: Maybe Text
- postRecipientsRequestBodyEmail :: Maybe Text
- postRecipientsRequestBodyExpand :: Maybe [Text]
- postRecipientsRequestBodyMetadata :: Maybe PostRecipientsRequestBodyMetadata'Variants
- postRecipientsRequestBodyName :: Text
- postRecipientsRequestBodyTaxId :: Maybe Text
- postRecipientsRequestBodyType :: Text
- mkPostRecipientsRequestBody :: Text -> Text -> PostRecipientsRequestBody
- data PostRecipientsRequestBodyMetadata'Variants
- data PostRecipientsResponse
Documentation
:: forall m. MonadHTTP m | |
=> PostRecipientsRequestBody | The request body to send |
-> ClientT m (Response PostRecipientsResponse) | Monadic computation which returns the result of the operation |
POST /v1/recipients
<p>Creates a new <code>Recipient</code> object and verifies the recipient’s identity. Also verifies the recipient’s bank account information or debit card, if either is provided.</p>
data PostRecipientsRequestBody Source #
Defines the object schema located at paths./v1/recipients.POST.requestBody.content.application/x-www-form-urlencoded.schema
in the specification.
PostRecipientsRequestBody | |
|
Instances
mkPostRecipientsRequestBody Source #
:: Text | |
-> Text | |
-> PostRecipientsRequestBody |
Create a new PostRecipientsRequestBody
with all required fields.
data PostRecipientsRequestBodyMetadata'Variants Source #
Defines the oneOf schema located at paths./v1/recipients.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`.
PostRecipientsRequestBodyMetadata'EmptyString | Represents the JSON value |
PostRecipientsRequestBodyMetadata'Object Object |
data PostRecipientsResponse Source #
Represents a response of the operation postRecipients
.
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), PostRecipientsResponseError
is used.
PostRecipientsResponseError String | Means either no matching case available or a parse error |
PostRecipientsResponse200 Recipient | Successful response. |
PostRecipientsResponseDefault Error | Error response. |
Instances
Eq PostRecipientsResponse Source # | |
Defined in StripeAPI.Operations.PostRecipients | |
Show PostRecipientsResponse Source # | |
Defined in StripeAPI.Operations.PostRecipients showsPrec :: Int -> PostRecipientsResponse -> ShowS # show :: PostRecipientsResponse -> String # showList :: [PostRecipientsResponse] -> ShowS # |