stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.DeleteAccountPersonsPerson

Description

Contains the different functions to run the operation deleteAccountPersonsPerson

Synopsis

Documentation

deleteAccountPersonsPerson Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

person | Constraints: Maximum length of 5000

-> StripeT m (Response DeleteAccountPersonsPersonResponse)

Monadic computation which returns the result of the operation

DELETE /v1/account/persons/{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 DeleteAccountPersonsPersonResponse Source #

Represents a response of the operation deleteAccountPersonsPerson.

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

Constructors

DeleteAccountPersonsPersonResponseError String

Means either no matching case available or a parse error

DeleteAccountPersonsPersonResponse200 DeletedPerson

Successful response.

DeleteAccountPersonsPersonResponseDefault Error

Error response.