Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerBankAccounts
Synopsis
- getCustomersCustomerBankAccounts :: forall m. MonadHTTP m => GetCustomersCustomerBankAccountsParameters -> ClientT m (Response GetCustomersCustomerBankAccountsResponse)
- data GetCustomersCustomerBankAccountsParameters = GetCustomersCustomerBankAccountsParameters {
- getCustomersCustomerBankAccountsParametersPathCustomer :: Text
- getCustomersCustomerBankAccountsParametersQueryEndingBefore :: Maybe Text
- getCustomersCustomerBankAccountsParametersQueryExpand :: Maybe [Text]
- getCustomersCustomerBankAccountsParametersQueryLimit :: Maybe Int
- getCustomersCustomerBankAccountsParametersQueryStartingAfter :: Maybe Text
- mkGetCustomersCustomerBankAccountsParameters :: Text -> GetCustomersCustomerBankAccountsParameters
- data GetCustomersCustomerBankAccountsResponse
- data GetCustomersCustomerBankAccountsResponseBody200 = GetCustomersCustomerBankAccountsResponseBody200 {}
- mkGetCustomersCustomerBankAccountsResponseBody200 :: [BankAccount] -> Bool -> Text -> GetCustomersCustomerBankAccountsResponseBody200
Documentation
getCustomersCustomerBankAccounts Source #
:: forall m. MonadHTTP m | |
=> GetCustomersCustomerBankAccountsParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetCustomersCustomerBankAccountsResponse) | Monadic computation which returns the result of the operation |
GET /v1/customers/{customer}/bank_accounts
<p>You can see a list of the bank accounts belonging to a Customer. Note that the 10 most recent sources are always available by default on the Customer. If you need more than those 10, you can use this API method and the <code>limit</code> and <code>starting_after</code> parameters to page through additional bank accounts.</p>
data GetCustomersCustomerBankAccountsParameters Source #
Defines the object schema located at paths./v1/customers/{customer}/bank_accounts.GET.parameters
in the specification.
GetCustomersCustomerBankAccountsParameters | |
|
Instances
mkGetCustomersCustomerBankAccountsParameters Source #
Create a new GetCustomersCustomerBankAccountsParameters
with all required fields.
data GetCustomersCustomerBankAccountsResponse Source #
Represents a response of the operation getCustomersCustomerBankAccounts
.
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), GetCustomersCustomerBankAccountsResponseError
is used.
GetCustomersCustomerBankAccountsResponseError String | Means either no matching case available or a parse error |
GetCustomersCustomerBankAccountsResponse200 GetCustomersCustomerBankAccountsResponseBody200 | Successful response. |
GetCustomersCustomerBankAccountsResponseDefault Error | Error response. |
data GetCustomersCustomerBankAccountsResponseBody200 Source #
Defines the object schema located at paths./v1/customers/{customer}/bank_accounts.GET.responses.200.content.application/json.schema
in the specification.
GetCustomersCustomerBankAccountsResponseBody200 | |
|
Instances
mkGetCustomersCustomerBankAccountsResponseBody200 Source #
Create a new GetCustomersCustomerBankAccountsResponseBody200
with all required fields.