stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetRecipientsId

Description

Contains the different functions to run the operation getRecipientsId

Synopsis

Documentation

getRecipientsId Source #

Arguments

:: forall m. MonadHTTP m 
=> GetRecipientsIdParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response GetRecipientsIdResponse)

Monadic computation which returns 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>

data GetRecipientsIdParameters Source #

Defines the object schema located at paths./v1/recipients/{id}.GET.parameters in the specification.

Constructors

GetRecipientsIdParameters 

Fields

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.

Constructors

GetRecipientsIdResponseError String

Means either no matching case available or a parse error

GetRecipientsIdResponse200 GetRecipientsIdResponseBody200

Successful response.

GetRecipientsIdResponseDefault Error

Error response.

data GetRecipientsIdResponseBody200 Source #

Defines the object schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf in the specification.

Constructors

GetRecipientsIdResponseBody200 

Fields

data GetRecipientsIdResponseBody200ActiveAccount' Source #

Defines the object schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.active_account.anyOf in the specification.

Hash describing the current account on the recipient, if there is one.

Constructors

GetRecipientsIdResponseBody200ActiveAccount' 

Fields

data GetRecipientsIdResponseBody200ActiveAccount'Account'Variants Source #

Defines the oneOf schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.active_account.anyOf.properties.account.anyOf in the specification.

The ID of the account that the bank account is associated with.

Instances

Instances details
Eq GetRecipientsIdResponseBody200ActiveAccount'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

Show GetRecipientsIdResponseBody200ActiveAccount'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

ToJSON GetRecipientsIdResponseBody200ActiveAccount'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

FromJSON GetRecipientsIdResponseBody200ActiveAccount'Account'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

data GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods' Source #

Defines the enum schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.active_account.anyOf.properties.available_payout_methods.items in the specification.

Constructors

GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'EnumInstant

Represents the JSON value "instant"

GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods'EnumStandard

Represents the JSON value "standard"

Instances

Instances details
Eq GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

Show GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

ToJSON GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

FromJSON GetRecipientsIdResponseBody200ActiveAccount'AvailablePayoutMethods' Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

data GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants Source #

Defines the oneOf schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.active_account.anyOf.properties.customer.anyOf in the specification.

The ID of the customer that the bank account is associated with.

Instances

Instances details
Eq GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

Show GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

ToJSON GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

FromJSON GetRecipientsIdResponseBody200ActiveAccount'Customer'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

data GetRecipientsIdResponseBody200ActiveAccount'Object' Source #

Defines the enum schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.active_account.anyOf.properties.object in the specification.

String representing the object's type. Objects of the same type share the same value.

Constructors

GetRecipientsIdResponseBody200ActiveAccount'Object'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetRecipientsIdResponseBody200ActiveAccount'Object'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetRecipientsIdResponseBody200ActiveAccount'Object'EnumBankAccount

Represents the JSON value "bank_account"

Instances

Instances details
Eq GetRecipientsIdResponseBody200ActiveAccount'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

Show GetRecipientsIdResponseBody200ActiveAccount'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

ToJSON GetRecipientsIdResponseBody200ActiveAccount'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

FromJSON GetRecipientsIdResponseBody200ActiveAccount'Object' Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

data GetRecipientsIdResponseBody200Cards' Source #

Defines the object schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.cards in the specification.

Constructors

GetRecipientsIdResponseBody200Cards' 

Fields

data GetRecipientsIdResponseBody200DefaultCard'Variants Source #

Defines the oneOf schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.default_card.anyOf in the specification.

The default card to use for creating transfers to this recipient.

Instances

Instances details
Eq GetRecipientsIdResponseBody200DefaultCard'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

Show GetRecipientsIdResponseBody200DefaultCard'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

ToJSON GetRecipientsIdResponseBody200DefaultCard'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

FromJSON GetRecipientsIdResponseBody200DefaultCard'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

data GetRecipientsIdResponseBody200Deleted' Source #

Defines the enum schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.deleted in the specification.

Always true for a deleted object

Constructors

GetRecipientsIdResponseBody200Deleted'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetRecipientsIdResponseBody200Deleted'Typed Bool

This constructor can be used to send values to the server which are not present in the specification yet.

GetRecipientsIdResponseBody200Deleted'EnumTrue

Represents the JSON value true

data GetRecipientsIdResponseBody200MigratedTo'Variants Source #

Defines the oneOf schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.migrated_to.anyOf in the specification.

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.

Instances

Instances details
Eq GetRecipientsIdResponseBody200MigratedTo'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

Show GetRecipientsIdResponseBody200MigratedTo'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

ToJSON GetRecipientsIdResponseBody200MigratedTo'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

FromJSON GetRecipientsIdResponseBody200MigratedTo'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

data GetRecipientsIdResponseBody200Object' Source #

Defines the enum schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.object in the specification.

String representing the object's type. Objects of the same type share the same value.

Constructors

GetRecipientsIdResponseBody200Object'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

GetRecipientsIdResponseBody200Object'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

GetRecipientsIdResponseBody200Object'EnumRecipient

Represents the JSON value "recipient"

data GetRecipientsIdResponseBody200RolledBackFrom'Variants Source #

Defines the oneOf schema located at paths./v1/recipients/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.rolled_back_from.anyOf in the specification.

Instances

Instances details
Eq GetRecipientsIdResponseBody200RolledBackFrom'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

Show GetRecipientsIdResponseBody200RolledBackFrom'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

ToJSON GetRecipientsIdResponseBody200RolledBackFrom'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId

FromJSON GetRecipientsIdResponseBody200RolledBackFrom'Variants Source # 
Instance details

Defined in StripeAPI.Operations.GetRecipientsId