Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- accountHolder :: Endpoint -> AccessToken -> IO (Maybe AccountHolder)
- accountHolderName :: Endpoint -> AccessToken -> IO (Maybe AccountHolderName)
- business :: Endpoint -> AccessToken -> IO (Maybe Business)
- businessCorrespondenceAddress :: Endpoint -> AccessToken -> IO (Maybe Address)
- businessRegisteredAddress :: Endpoint -> AccessToken -> IO (Maybe Address)
- individual :: Endpoint -> AccessToken -> IO (Maybe Individual)
- joint :: Endpoint -> AccessToken -> IO (Maybe Joint)
- soleTrader :: Endpoint -> AccessToken -> IO (Maybe SoleTrader)
Documentation
accountHolder :: Endpoint -> AccessToken -> IO (Maybe AccountHolder) #
Scopes: ["customer:read", "account-holder-type:read"]
accountHolderName :: Endpoint -> AccessToken -> IO (Maybe AccountHolderName) #
GET: /api/v2/account-holder/name
Scopes: ["account-holder-name:read"]
business :: Endpoint -> AccessToken -> IO (Maybe Business) #
GET: /api/v2/account-holder/business
Scopes: ["account:read"]
businessCorrespondenceAddress :: Endpoint -> AccessToken -> IO (Maybe Address) #
GET: /api/v2/account-holder/business/correspondence-address
Scopes: ["address:read"]
businessRegisteredAddress :: Endpoint -> AccessToken -> IO (Maybe Address) #
GET: /api/v2/account-holder/business/registered-address
Scopes: ["address:read"]
individual :: Endpoint -> AccessToken -> IO (Maybe Individual) #
GET: /api/v2/account-holder/individual
Scopes: ["customer:read"]
joint :: Endpoint -> AccessToken -> IO (Maybe Joint) #
GET: /api/v2/account-holder/joint
Scopes: ["customer:read"]
soleTrader :: Endpoint -> AccessToken -> IO (Maybe SoleTrader) #
GET: /api/v2/account-holder/sole-trader
Scopes: ["account:read"]