Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getAccountExternalAccounts
Synopsis
- getAccountExternalAccounts :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetAccountExternalAccountsRequestBody -> m (Either HttpException (Response GetAccountExternalAccountsResponse))
- getAccountExternalAccountsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetAccountExternalAccountsRequestBody -> m (Either HttpException (Response ByteString))
- getAccountExternalAccountsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetAccountExternalAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountExternalAccountsResponse))
- getAccountExternalAccountsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetAccountExternalAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetAccountExternalAccountsRequestBody = GetAccountExternalAccountsRequestBody {
- data GetAccountExternalAccountsResponse
- data GetAccountExternalAccountsResponseBody200 = GetAccountExternalAccountsResponseBody200 {
- getAccountExternalAccountsResponseBody200Data :: [] GetAccountExternalAccountsResponseBody200Data'
- getAccountExternalAccountsResponseBody200HasMore :: Bool
- getAccountExternalAccountsResponseBody200Object :: GetAccountExternalAccountsResponseBody200Object'
- getAccountExternalAccountsResponseBody200Url :: String
- data GetAccountExternalAccountsResponseBody200Data' = GetAccountExternalAccountsResponseBody200Data' {
- getAccountExternalAccountsResponseBody200Data'Account :: Maybe GetAccountExternalAccountsResponseBody200Data'Account'Variants
- getAccountExternalAccountsResponseBody200Data'AccountHolderName :: Maybe String
- getAccountExternalAccountsResponseBody200Data'AccountHolderType :: Maybe String
- getAccountExternalAccountsResponseBody200Data'AddressCity :: Maybe String
- getAccountExternalAccountsResponseBody200Data'AddressCountry :: Maybe String
- getAccountExternalAccountsResponseBody200Data'AddressLine1 :: Maybe String
- getAccountExternalAccountsResponseBody200Data'AddressLine1Check :: Maybe String
- getAccountExternalAccountsResponseBody200Data'AddressLine2 :: Maybe String
- getAccountExternalAccountsResponseBody200Data'AddressState :: Maybe String
- getAccountExternalAccountsResponseBody200Data'AddressZip :: Maybe String
- getAccountExternalAccountsResponseBody200Data'AddressZipCheck :: Maybe String
- getAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods :: Maybe ([] GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods')
- getAccountExternalAccountsResponseBody200Data'BankName :: Maybe String
- getAccountExternalAccountsResponseBody200Data'Brand :: Maybe String
- getAccountExternalAccountsResponseBody200Data'Country :: Maybe String
- getAccountExternalAccountsResponseBody200Data'Currency :: Maybe String
- getAccountExternalAccountsResponseBody200Data'Customer :: Maybe GetAccountExternalAccountsResponseBody200Data'Customer'Variants
- getAccountExternalAccountsResponseBody200Data'CvcCheck :: Maybe String
- getAccountExternalAccountsResponseBody200Data'DefaultForCurrency :: Maybe Bool
- getAccountExternalAccountsResponseBody200Data'DynamicLast4 :: Maybe String
- getAccountExternalAccountsResponseBody200Data'ExpMonth :: Maybe Integer
- getAccountExternalAccountsResponseBody200Data'ExpYear :: Maybe Integer
- getAccountExternalAccountsResponseBody200Data'Fingerprint :: Maybe String
- getAccountExternalAccountsResponseBody200Data'Funding :: Maybe String
- getAccountExternalAccountsResponseBody200Data'Id :: Maybe String
- getAccountExternalAccountsResponseBody200Data'Last4 :: Maybe String
- getAccountExternalAccountsResponseBody200Data'Metadata :: Maybe GetAccountExternalAccountsResponseBody200Data'Metadata'
- getAccountExternalAccountsResponseBody200Data'Name :: Maybe String
- getAccountExternalAccountsResponseBody200Data'Object :: Maybe GetAccountExternalAccountsResponseBody200Data'Object'
- getAccountExternalAccountsResponseBody200Data'Recipient :: Maybe GetAccountExternalAccountsResponseBody200Data'Recipient'Variants
- getAccountExternalAccountsResponseBody200Data'RoutingNumber :: Maybe String
- getAccountExternalAccountsResponseBody200Data'Status :: Maybe String
- getAccountExternalAccountsResponseBody200Data'TokenizationMethod :: Maybe String
- data GetAccountExternalAccountsResponseBody200Data'Account'Variants
- data GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'
- = GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'EnumOther Value
- | GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'EnumTyped String
- | GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'EnumStringInstant
- | GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods'EnumStringStandard
- data GetAccountExternalAccountsResponseBody200Data'Customer'Variants
- data GetAccountExternalAccountsResponseBody200Data'Metadata' = GetAccountExternalAccountsResponseBody200Data'Metadata' {
- data GetAccountExternalAccountsResponseBody200Data'Object'
- data GetAccountExternalAccountsResponseBody200Data'Recipient'Variants
- data GetAccountExternalAccountsResponseBody200Object'
Documentation
getAccountExternalAccounts Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | ending_before: A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list. |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> Maybe Integer | limit: A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10. |
-> Maybe String | starting_after: A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list. |
-> GetAccountExternalAccountsRequestBody | The request body to send |
-> m (Either HttpException (Response GetAccountExternalAccountsResponse)) | Monad containing the result of the operation |
GET /v1/account/external_accounts
<p>List external accounts for an account.</p>
getAccountExternalAccountsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetAccountExternalAccountsRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/account/external_accounts
The same as getAccountExternalAccounts
but returns the raw ByteString
getAccountExternalAccountsM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetAccountExternalAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetAccountExternalAccountsResponse)) Source #
GET /v1/account/external_accounts
Monadic version of getAccountExternalAccounts
(use with runWithConfiguration
)
getAccountExternalAccountsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetAccountExternalAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/account/external_accounts
Monadic version of getAccountExternalAccountsRaw
(use with runWithConfiguration
)
data GetAccountExternalAccountsRequestBody Source #
Defines the data type for the schema getAccountExternalAccountsRequestBody
data GetAccountExternalAccountsResponse Source #
Represents a response of the operation getAccountExternalAccounts
.
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), GetAccountExternalAccountsResponseError
is used.
GetAccountExternalAccountsResponseError String | Means either no matching case available or a parse error |
GetAccountExternalAccountsResponse200 GetAccountExternalAccountsResponseBody200 | Successful response. |
GetAccountExternalAccountsResponseDefault Error | Error response. |
data GetAccountExternalAccountsResponseBody200 Source #
Defines the data type for the schema GetAccountExternalAccountsResponseBody200
GetAccountExternalAccountsResponseBody200 | |
|
data GetAccountExternalAccountsResponseBody200Data' Source #
Defines the data type for the schema GetAccountExternalAccountsResponseBody200Data'
GetAccountExternalAccountsResponseBody200Data' | |
|
data GetAccountExternalAccountsResponseBody200Data'Account'Variants Source #
Define the one-of schema GetAccountExternalAccountsResponseBody200Data'Account'
The ID of the account that the bank account is associated with.
GetAccountExternalAccountsResponseBody200Data'Account'Account Account | |
GetAccountExternalAccountsResponseBody200Data'Account'String String |
Instances
data GetAccountExternalAccountsResponseBody200Data'AvailablePayoutMethods' Source #
Defines the enum schema GetAccountExternalAccountsResponseBody200Data'Available_payout_methods'
Instances
data GetAccountExternalAccountsResponseBody200Data'Customer'Variants Source #
Define the one-of schema GetAccountExternalAccountsResponseBody200Data'Customer'
The ID of the customer that the bank account is associated with.
Instances
data GetAccountExternalAccountsResponseBody200Data'Metadata' Source #
Defines the data type for the schema GetAccountExternalAccountsResponseBody200Data'Metadata'
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
Instances
data GetAccountExternalAccountsResponseBody200Data'Object' Source #
Defines the enum schema GetAccountExternalAccountsResponseBody200Data'Object'
String representing the object's type. Objects of the same type share the same value.
Instances
data GetAccountExternalAccountsResponseBody200Data'Recipient'Variants Source #
Define the one-of schema GetAccountExternalAccountsResponseBody200Data'Recipient'
The recipient that this card belongs to. This attribute will not be in the card object if the card belongs to a customer or account instead.
GetAccountExternalAccountsResponseBody200Data'Recipient'Recipient Recipient | |
GetAccountExternalAccountsResponseBody200Data'Recipient'String String |
Instances
data GetAccountExternalAccountsResponseBody200Object' Source #
Defines the enum schema GetAccountExternalAccountsResponseBody200Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
GetAccountExternalAccountsResponseBody200Object'EnumOther Value | |
GetAccountExternalAccountsResponseBody200Object'EnumTyped String | |
GetAccountExternalAccountsResponseBody200Object'EnumStringList |