Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postAccountsAccountLoginLinks
Synopsis
- postAccountsAccountLoginLinks :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountLoginLinksRequestBody -> m (Either HttpException (Response PostAccountsAccountLoginLinksResponse))
- postAccountsAccountLoginLinksRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountLoginLinksRequestBody -> m (Either HttpException (Response ByteString))
- postAccountsAccountLoginLinksM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountLoginLinksRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountLoginLinksResponse))
- postAccountsAccountLoginLinksRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountLoginLinksRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data PostAccountsAccountLoginLinksRequestBody = PostAccountsAccountLoginLinksRequestBody {}
- data PostAccountsAccountLoginLinksResponse
Documentation
postAccountsAccountLoginLinks Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | account | Constraints: Maximum length of 5000 |
-> PostAccountsAccountLoginLinksRequestBody | The request body to send |
-> m (Either HttpException (Response PostAccountsAccountLoginLinksResponse)) | Monad containing the result of the operation |
POST /v1/accounts/{account}/login_links
<p>Creates a single-use login link for an Express account to access their Stripe dashboard.</p>
<p><strong>You may only create login links for <a href="/docs/connect/express-accounts">Express accounts</a> connected to your platform</strong>.</p>
postAccountsAccountLoginLinksRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> PostAccountsAccountLoginLinksRequestBody -> m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/login_links
The same as postAccountsAccountLoginLinks
but returns the raw ByteString
postAccountsAccountLoginLinksM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountLoginLinksRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response PostAccountsAccountLoginLinksResponse)) Source #
POST /v1/accounts/{account}/login_links
Monadic version of postAccountsAccountLoginLinks
(use with runWithConfiguration
)
postAccountsAccountLoginLinksRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> PostAccountsAccountLoginLinksRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
POST /v1/accounts/{account}/login_links
Monadic version of postAccountsAccountLoginLinksRaw
(use with runWithConfiguration
)
data PostAccountsAccountLoginLinksRequestBody Source #
Defines the data type for the schema postAccountsAccountLoginLinksRequestBody
PostAccountsAccountLoginLinksRequestBody | |
|
data PostAccountsAccountLoginLinksResponse Source #
Represents a response of the operation postAccountsAccountLoginLinks
.
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), PostAccountsAccountLoginLinksResponseError
is used.
PostAccountsAccountLoginLinksResponseError String | Means either no matching case available or a parse error |
PostAccountsAccountLoginLinksResponse200 LoginLink | Successful response. |
PostAccountsAccountLoginLinksResponseDefault Error | Error response. |