Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getRecipientsId
Synopsis
- getRecipientsId :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetRecipientsIdRequestBody -> m (Either HttpException (Response GetRecipientsIdResponse))
- getRecipientsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetRecipientsIdRequestBody -> m (Either HttpException (Response ByteString))
- getRecipientsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetRecipientsIdResponse))
- getRecipientsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString))
- data GetRecipientsIdRequestBody = GetRecipientsIdRequestBody {
- data GetRecipientsIdResponse
- data GetRecipientsIdResponseBody200 = GetRecipientsIdResponseBody200 {
- getRecipientsIdResponseBody200ActiveAccount :: Maybe GetRecipientsIdResponseBody200ActiveAccount'
- getRecipientsIdResponseBody200Cards :: Maybe GetRecipientsIdResponseBody200Cards'
- getRecipientsIdResponseBody200Created :: Maybe Integer
- getRecipientsIdResponseBody200DefaultCard :: Maybe GetRecipientsIdResponseBody200DefaultCard'Variants
- getRecipientsIdResponseBody200Deleted :: Maybe GetRecipientsIdResponseBody200Deleted'
- getRecipientsIdResponseBody200Description :: Maybe String
- getRecipientsIdResponseBody200Email :: Maybe String
- getRecipientsIdResponseBody200Id :: Maybe String
- getRecipientsIdResponseBody200Livemode :: Maybe Bool
- getRecipientsIdResponseBody200Metadata :: Maybe GetRecipientsIdResponseBody200Metadata'
- getRecipientsIdResponseBody200MigratedTo :: Maybe GetRecipientsIdResponseBody200MigratedTo'Variants
- getRecipientsIdResponseBody200Name :: Maybe String
- getRecipientsIdResponseBody200Object :: Maybe GetRecipientsIdResponseBody200Object'
- getRecipientsIdResponseBody200RolledBackFrom :: Maybe GetRecipientsIdResponseBody200RolledBackFrom'Variants
- getRecipientsIdResponseBody200Type :: Maybe String
- data GetRecipientsIdResponseBody200ActiveAccount' = GetRecipientsIdResponseBody200ActiveAccount' {
- getRecipientsIdResponseBody200ActiveAccount'Account :: Maybe GetRecipientsIdResponseBody200ActiveAccount'Account'Variants
- getRecipientsIdResponseBody200ActiveAccount'AccountHolderName :: Maybe String
- getRecipientsIdResponseBody200ActiveAccount'AccountHolderType :: Maybe String
- getRecipientsIdResponseBody200ActiveAccount'BankName :: Maybe String
- getRecipientsIdResponseBody200ActiveAccount'Country :: Maybe String
- getRecipientsIdResponseBody200ActiveAccount'Currency :: Maybe String
- getRecipientsIdResponseBody200ActiveAccount'Customer :: Maybe GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
- getRecipientsIdResponseBody200ActiveAccount'DefaultForCurrency :: Maybe Bool
- getRecipientsIdResponseBody200ActiveAccount'Fingerprint :: Maybe String
- getRecipientsIdResponseBody200ActiveAccount'Id :: Maybe String
- getRecipientsIdResponseBody200ActiveAccount'Last4 :: Maybe String
- getRecipientsIdResponseBody200ActiveAccount'Metadata :: Maybe GetRecipientsIdResponseBody200ActiveAccount'Metadata'
- getRecipientsIdResponseBody200ActiveAccount'Object :: Maybe GetRecipientsIdResponseBody200ActiveAccount'Object'
- getRecipientsIdResponseBody200ActiveAccount'RoutingNumber :: Maybe String
- getRecipientsIdResponseBody200ActiveAccount'Status :: Maybe String
- data GetRecipientsIdResponseBody200ActiveAccount'Account'Variants
- data GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants
- data GetRecipientsIdResponseBody200ActiveAccount'Metadata' = GetRecipientsIdResponseBody200ActiveAccount'Metadata' {
- data GetRecipientsIdResponseBody200ActiveAccount'Object'
- data GetRecipientsIdResponseBody200Cards' = GetRecipientsIdResponseBody200Cards' {}
- data GetRecipientsIdResponseBody200Cards'Object'
- data GetRecipientsIdResponseBody200DefaultCard'Variants
- data GetRecipientsIdResponseBody200Deleted'
- data GetRecipientsIdResponseBody200Metadata' = GetRecipientsIdResponseBody200Metadata' {
- data GetRecipientsIdResponseBody200MigratedTo'Variants
- data GetRecipientsIdResponseBody200Object'
- data GetRecipientsIdResponseBody200RolledBackFrom'Variants
Documentation
:: (MonadHTTP m, SecurityScheme s) | |
=> Configuration s | The configuration to use in the request |
-> Maybe String | expand: Specifies which fields in the response should be expanded. |
-> String | id | Constraints: Maximum length of 5000 |
-> GetRecipientsIdRequestBody | The request body to send |
-> m (Either HttpException (Response GetRecipientsIdResponse)) | Monad containing the result of the operation |
GET /v1/recipients/{id}
<p>Retrieves the details of an existing recipient. You need only supply the unique recipient identifier that was returned upon recipient creation.</p>
getRecipientsIdRaw :: forall m s. (MonadHTTP m, SecurityScheme s) => Configuration s -> Maybe String -> String -> GetRecipientsIdRequestBody -> m (Either HttpException (Response ByteString)) Source #
GET /v1/recipients/{id}
The same as getRecipientsId
but returns the raw ByteString
getRecipientsIdM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response GetRecipientsIdResponse)) Source #
GET /v1/recipients/{id}
Monadic version of getRecipientsId
(use with runWithConfiguration
)
getRecipientsIdRawM :: forall m s. (MonadHTTP m, SecurityScheme s) => Maybe String -> String -> GetRecipientsIdRequestBody -> ReaderT (Configuration s) m (Either HttpException (Response ByteString)) Source #
GET /v1/recipients/{id}
Monadic version of getRecipientsIdRaw
(use with runWithConfiguration
)
data GetRecipientsIdRequestBody Source #
Defines the data type for the schema getRecipientsIdRequestBody
Instances
data GetRecipientsIdResponse Source #
Represents a response of the operation getRecipientsId
.
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), GetRecipientsIdResponseError
is used.
GetRecipientsIdResponseError String | Means either no matching case available or a parse error |
GetRecipientsIdResponse200 GetRecipientsIdResponseBody200 | Successful response. |
GetRecipientsIdResponseDefault Error | Error response. |
Instances
Eq GetRecipientsIdResponse Source # | |
Defined in StripeAPI.Operations.GetRecipientsId | |
Show GetRecipientsIdResponse Source # | |
Defined in StripeAPI.Operations.GetRecipientsId showsPrec :: Int -> GetRecipientsIdResponse -> ShowS # show :: GetRecipientsIdResponse -> String # showList :: [GetRecipientsIdResponse] -> ShowS # |
data GetRecipientsIdResponseBody200 Source #
Defines the data type for the schema GetRecipientsIdResponseBody200
GetRecipientsIdResponseBody200 | |
|
data GetRecipientsIdResponseBody200ActiveAccount' Source #
Defines the data type for the schema GetRecipientsIdResponseBody200Active_account'
Hash describing the current account on the recipient, if there is one.
GetRecipientsIdResponseBody200ActiveAccount' | |
|
data GetRecipientsIdResponseBody200ActiveAccount'Account'Variants Source #
Define the one-of schema GetRecipientsIdResponseBody200Active_account'Account'
The ID of the account that the bank account is associated with.
GetRecipientsIdResponseBody200ActiveAccount'Account'Account Account | |
GetRecipientsIdResponseBody200ActiveAccount'Account'String String |
Instances
data GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants Source #
Define the one-of schema GetRecipientsIdResponseBody200Active_account'Customer'
The ID of the customer that the bank account is associated with.
Instances
data GetRecipientsIdResponseBody200ActiveAccount'Metadata' Source #
Defines the data type for the schema GetRecipientsIdResponseBody200Active_account'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 GetRecipientsIdResponseBody200ActiveAccount'Object' Source #
Defines the enum schema GetRecipientsIdResponseBody200Active_account'Object'
String representing the object's type. Objects of the same type share the same value.
Instances
data GetRecipientsIdResponseBody200Cards' Source #
Defines the data type for the schema GetRecipientsIdResponseBody200Cards'
GetRecipientsIdResponseBody200Cards' | |
|
data GetRecipientsIdResponseBody200Cards'Object' Source #
Defines the enum schema GetRecipientsIdResponseBody200Cards'Object'
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
GetRecipientsIdResponseBody200Cards'Object'EnumOther Value | |
GetRecipientsIdResponseBody200Cards'Object'EnumTyped String | |
GetRecipientsIdResponseBody200Cards'Object'EnumStringList |
data GetRecipientsIdResponseBody200DefaultCard'Variants Source #
Define the one-of schema GetRecipientsIdResponseBody200Default_card'
The default card to use for creating transfers to this recipient.
GetRecipientsIdResponseBody200DefaultCard'Card Card | |
GetRecipientsIdResponseBody200DefaultCard'String String |
Instances
data GetRecipientsIdResponseBody200Deleted' Source #
Defines the enum schema GetRecipientsIdResponseBody200Deleted'
Always true for a deleted object
GetRecipientsIdResponseBody200Deleted'EnumOther Value | |
GetRecipientsIdResponseBody200Deleted'EnumTyped Bool | |
GetRecipientsIdResponseBody200Deleted'EnumBoolTrue |
data GetRecipientsIdResponseBody200Metadata' Source #
Defines the data type for the schema GetRecipientsIdResponseBody200Metadata'
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.
data GetRecipientsIdResponseBody200MigratedTo'Variants Source #
Define the one-of schema GetRecipientsIdResponseBody200Migrated_to'
The ID of the Custom account this recipient was migrated to. If set, the recipient can no longer be updated, nor can transfers be made to it: use the Custom account instead.
GetRecipientsIdResponseBody200MigratedTo'Account Account | |
GetRecipientsIdResponseBody200MigratedTo'String String |
Instances
data GetRecipientsIdResponseBody200Object' Source #
Defines the enum schema GetRecipientsIdResponseBody200Object'
String representing the object's type. Objects of the same type share the same value.
GetRecipientsIdResponseBody200Object'EnumOther Value | |
GetRecipientsIdResponseBody200Object'EnumTyped String | |
GetRecipientsIdResponseBody200Object'EnumStringRecipient |
data GetRecipientsIdResponseBody200RolledBackFrom'Variants Source #
Define the one-of schema GetRecipientsIdResponseBody200Rolled_back_from'
GetRecipientsIdResponseBody200RolledBackFrom'Account Account | |
GetRecipientsIdResponseBody200RolledBackFrom'String String |