stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetAccountsAccountPersons

Description

Contains the different functions to run the operation getAccountsAccountPersons

Synopsis

Documentation

getAccountsAccountPersons Source #

Arguments

:: forall m. MonadHTTP m 
=> GetAccountsAccountPersonsParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response GetAccountsAccountPersonsResponse)

Monadic computation which returns the result of the operation

GET /v1/accounts/{account}/persons

<p>Returns a list of people associated with the account’s legal entity. The people are returned sorted by creation date, with the most recent people appearing first.</p>

data GetAccountsAccountPersonsParameters Source #

Defines the object schema located at paths./v1/accounts/{account}/persons.GET.parameters in the specification.

Constructors

GetAccountsAccountPersonsParameters 

Fields

data GetAccountsAccountPersonsParametersQueryRelationship' Source #

Defines the object schema located at paths./v1/accounts/{account}/persons.GET.parameters.properties.queryRelationship in the specification.

Represents the parameter named 'relationship'

Filters on the list of people returned based on the person's relationship to the account's company.

Instances

Instances details
Eq GetAccountsAccountPersonsParametersQueryRelationship' Source # 
Instance details

Defined in StripeAPI.Operations.GetAccountsAccountPersons

Show GetAccountsAccountPersonsParametersQueryRelationship' Source # 
Instance details

Defined in StripeAPI.Operations.GetAccountsAccountPersons

ToJSON GetAccountsAccountPersonsParametersQueryRelationship' Source # 
Instance details

Defined in StripeAPI.Operations.GetAccountsAccountPersons

FromJSON GetAccountsAccountPersonsParametersQueryRelationship' Source # 
Instance details

Defined in StripeAPI.Operations.GetAccountsAccountPersons

data GetAccountsAccountPersonsResponse Source #

Represents a response of the operation getAccountsAccountPersons.

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

data GetAccountsAccountPersonsResponseBody200 Source #

Defines the object schema located at paths./v1/accounts/{account}/persons.GET.responses.200.content.application/json.schema in the specification.

Constructors

GetAccountsAccountPersonsResponseBody200 

Fields