stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeleteAccountPeoplePerson

Description

Contains the different functions to run the operation deleteAccountPeoplePerson

Synopsis

Documentation

deleteAccountPeoplePerson Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> String

person | Constraints: Maximum length of 5000

-> DeleteAccountPeoplePersonRequestBody

The request body to send

-> m (Either HttpException (Response DeleteAccountPeoplePersonResponse))

Monad containing the result of the operation

DELETE /v1/account/people/{person}

<p>Deletes an existing person’s relationship to the account’s legal entity. Any person with a relationship for an account can be deleted through the API, except if the person is the <code>account_opener</code>. If your integration is using the <code>executive</code> parameter, you cannot delete the only verified <code>executive</code> on file.</p>

data DeleteAccountPeoplePersonResponse Source #

Represents a response of the operation deleteAccountPeoplePerson.

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), DeleteAccountPeoplePersonResponseError is used.

Constructors

DeleteAccountPeoplePersonResponseError String

Means either no matching case available or a parse error

DeleteAccountPeoplePersonResponse200 DeletedPerson

Successful response.

DeleteAccountPeoplePersonResponseDefault Error

Error response.