Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation deleteAccountsAccountPersonsPerson
Synopsis
- deleteAccountsAccountPersonsPerson :: forall m. MonadHTTP m => DeleteAccountsAccountPersonsPersonParameters -> StripeT m (Response DeleteAccountsAccountPersonsPersonResponse)
- data DeleteAccountsAccountPersonsPersonParameters = DeleteAccountsAccountPersonsPersonParameters {}
- mkDeleteAccountsAccountPersonsPersonParameters :: Text -> Text -> DeleteAccountsAccountPersonsPersonParameters
- data DeleteAccountsAccountPersonsPersonResponse
Documentation
deleteAccountsAccountPersonsPerson Source #
:: forall m. MonadHTTP m | |
=> DeleteAccountsAccountPersonsPersonParameters | Contains all available parameters of this operation (query and path parameters) |
-> StripeT m (Response DeleteAccountsAccountPersonsPersonResponse) | Monadic computation which returns the result of the operation |
DELETE /v1/accounts/{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 DeleteAccountsAccountPersonsPersonParameters Source #
Defines the object schema located at paths./v1/accounts/{account}/persons/{person}.DELETE.parameters
in the specification.
DeleteAccountsAccountPersonsPersonParameters | |
|
Instances
mkDeleteAccountsAccountPersonsPersonParameters Source #
Create a new DeleteAccountsAccountPersonsPersonParameters
with all required fields.
data DeleteAccountsAccountPersonsPersonResponse Source #
Represents a response of the operation deleteAccountsAccountPersonsPerson
.
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), DeleteAccountsAccountPersonsPersonResponseError
is used.
DeleteAccountsAccountPersonsPersonResponseError String | Means either no matching case available or a parse error |
DeleteAccountsAccountPersonsPersonResponse200 DeletedPerson | Successful response. |
DeleteAccountsAccountPersonsPersonResponseDefault Error | Error response. |