Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountLinks
Synopsis
- postAccountLinks :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountLinksRequestBody -> m (Either HttpException (Response PostAccountLinksResponse))
- postAccountLinksRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountLinksRequestBody -> m (Either HttpException (Response ByteString))
- postAccountLinksM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountLinksRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountLinksResponse))
- postAccountLinksRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountLinksRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountLinksRequestBody = PostAccountLinksRequestBody {
- postAccountLinksRequestBodyAccount :: String
- postAccountLinksRequestBodyCollect :: Maybe PostAccountLinksRequestBodyCollect'
- postAccountLinksRequestBodyExpand :: Maybe ([] String)
- postAccountLinksRequestBodyFailureUrl :: String
- postAccountLinksRequestBodySuccessUrl :: String
- postAccountLinksRequestBodyType :: PostAccountLinksRequestBodyType'
- data PostAccountLinksRequestBodyCollect'
- data PostAccountLinksRequestBodyType'
- data PostAccountLinksResponse
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> PostAccountLinksRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountLinksResponse)) | Monad containing the result of the operation |
POST /v1/account_links
<p>Creates an AccountLink object that returns a single-use Stripe URL that the user can redirect their user to in order to take them through the Connect Onboarding flow.</p>
postAccountLinksRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> PostAccountLinksRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/account_links
The same as postAccountLinks
but returns the raw ByteString
postAccountLinksM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountLinksRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountLinksResponse)) Source #
POST /v1/account_links
Monadic version of postAccountLinks
(use with runWithConfiguration
)
postAccountLinksRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => PostAccountLinksRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/account_links
Monadic version of postAccountLinksRaw
(use with runWithConfiguration
)
data PostAccountLinksRequestBody Source #
Defines the data type for the schema postAccountLinksRequestBody
PostAccountLinksRequestBody | |
|
Instances
data PostAccountLinksRequestBodyCollect' Source #
Defines the enum schema postAccountLinksRequestBodyCollect'
Which information the platform needs to collect from the user. One of `currently_due` or `eventually_due`. Default is `currently_due`.
data PostAccountLinksRequestBodyType' Source #
Defines the enum schema postAccountLinksRequestBodyType'
The type of account link the user is requesting. Possible values are `custom_account_verification` or `custom_account_update`.
data PostAccountLinksResponse Source #
Represents a response of the operation postAccountLinks
.
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), PostAccountLinksResponseError
is used.
PostAccountLinksResponseError String | Means either no matching case available or a parse error |
PostAccountLinksResponse200 AccountLink | Successful response. |
PostAccountLinksResponseDefault Error | Error response. |
Instances
Eq PostAccountLinksResponse Source # | |
Defined in StripeAPI.Operations.PostAccountLinks | |
Show PostAccountLinksResponse Source # | |
Defined in StripeAPI.Operations.PostAccountLinks showsPrec :: Int -> PostAccountLinksResponse -> ShowS # show :: PostAccountLinksResponse -> String # showList :: [PostAccountLinksResponse] -> ShowS # |