Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getCustomersCustomerBankAccounts
Synopsis
- getCustomersCustomerBankAccounts :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetCustomersCustomerBankAccountsRequestBody -> m (Either HttpException (Response GetCustomersCustomerBankAccountsResponse))
- getCustomersCustomerBankAccountsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetCustomersCustomerBankAccountsRequestBody -> m (Either HttpException (Response ByteString))
- getCustomersCustomerBankAccountsM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetCustomersCustomerBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerBankAccountsResponse))
- getCustomersCustomerBankAccountsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetCustomersCustomerBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetCustomersCustomerBankAccountsRequestBody = GetCustomersCustomerBankAccountsRequestBody {
- data GetCustomersCustomerBankAccountsResponse
- data GetCustomersCustomerBankAccountsResponseBody200 = GetCustomersCustomerBankAccountsResponseBody200 {
- getCustomersCustomerBankAccountsResponseBody200Data :: [] BankAccount
- getCustomersCustomerBankAccountsResponseBody200HasMore :: Bool
- getCustomersCustomerBankAccountsResponseBody200Object :: GetCustomersCustomerBankAccountsResponseBody200Object'
- getCustomersCustomerBankAccountsResponseBody200Url :: String
- data GetCustomersCustomerBankAccountsResponseBody200Object'
Documentation
getCustomersCustomerBankAccounts Source #
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> String | customer | Constraints: Maximum length of 5000 |
-> 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. |
-> GetCustomersCustomerBankAccountsRequestBody | The request body to send |
-> m (Either HttpException (Response GetCustomersCustomerBankAccountsResponse)) | Monad containing 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>
getCustomersCustomerBankAccountsRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetCustomersCustomerBankAccountsRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/bank_accounts
The same as getCustomersCustomerBankAccounts
but returns the raw ByteString
getCustomersCustomerBankAccountsM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetCustomersCustomerBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetCustomersCustomerBankAccountsResponse)) Source #
GET /v1/customers/{customer}/bank_accounts
Monadic version of getCustomersCustomerBankAccounts
(use with runWithConfiguration
)
getCustomersCustomerBankAccountsRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => String -> Maybe String -> Maybe String -> Maybe Integer -> Maybe String -> GetCustomersCustomerBankAccountsRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/customers/{customer}/bank_accounts
Monadic version of getCustomersCustomerBankAccountsRaw
(use with runWithConfiguration
)
data GetCustomersCustomerBankAccountsRequestBody Source #
Defines the data type for the schema getCustomersCustomerBankAccountsRequestBody
Instances
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 data type for the schema GetCustomersCustomerBankAccountsResponseBody200
GetCustomersCustomerBankAccountsResponseBody200 | |
|
Instances
data GetCustomersCustomerBankAccountsResponseBody200Object' Source #
Defines the enum schema GetCustomersCustomerBankAccountsResponseBody200Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.