stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostInvoicesInvoice

Description

Contains the different functions to run the operation postInvoicesInvoice

Synopsis

Documentation

postInvoicesInvoice Source #

Arguments

:: forall m. MonadHTTP m 
=> Text

invoice | Constraints: Maximum length of 5000

-> Maybe PostInvoicesInvoiceRequestBody

The request body to send

-> StripeT m (Response PostInvoicesInvoiceResponse)

Monadic computation which returns the result of the operation

POST /v1/invoices/{invoice}

<p>Draft invoices are fully editable. Once an invoice is <a href="/docs/billing/invoices/workflow#finalized">finalized</a>, monetary values, as well as <code>collection_method</code>, become uneditable.</p>

<p>If you would like to stop the Stripe Billing engine from automatically finalizing, reattempting payments on, sending reminders for, or <a href="/docs/billing/invoices/reconciliation">automatically reconciling</a> invoices, pass <code>auto_advance=false</code>.</p>

data PostInvoicesInvoiceRequestBody Source #

Defines the object schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

Constructors

PostInvoicesInvoiceRequestBody 

Fields

data PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.account_tax_ids.anyOf in the specification.

The account tax IDs associated with the invoice. Only editable when the invoice is a draft.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyAutomaticTax' Source #

Defines the object schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.automatic_tax in the specification.

Settings for automatic tax lookup for this invoice.

data PostInvoicesInvoiceRequestBodyCollectionMethod' Source #

Defines the enum schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.collection_method in the specification.

Either `charge_automatically` or `send_invoice`. This field can be updated only on `draft` invoices.

Constructors

PostInvoicesInvoiceRequestBodyCollectionMethod'Other Value

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

PostInvoicesInvoiceRequestBodyCollectionMethod'Typed Text

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

PostInvoicesInvoiceRequestBodyCollectionMethod'EnumChargeAutomatically

Represents the JSON value "charge_automatically"

PostInvoicesInvoiceRequestBodyCollectionMethod'EnumSendInvoice

Represents the JSON value "send_invoice"

data PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 Source #

Defines the object schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.custom_fields.anyOf.items in the specification.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyCustomFields'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.custom_fields.anyOf in the specification.

A list of up to 4 custom fields to be displayed on the invoice. If a value for `custom_fields` is specified, the list specified will replace the existing custom field list on this invoice. Pass an empty string to remove previously-defined fields.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyCustomFields'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyCustomFields'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyCustomFields'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyCustomFields'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.default_tax_rates.anyOf in the specification.

The tax rates that will apply to any line item that does not have `tax_rates` set. Pass an empty string to remove previously-defined tax rates.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyDiscounts'OneOf1 Source #

Defines the object schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.anyOf.items in the specification.

data PostInvoicesInvoiceRequestBodyDiscounts'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.discounts.anyOf in the specification.

The discounts that will apply to the invoice. Pass an empty string to remove previously-defined discounts.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyDiscounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyDiscounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyDiscounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyDiscounts'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyMetadata'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.metadata.anyOf in the specification.

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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

data PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.on_behalf_of.anyOf in the specification.

The account (if any) for which the funds of the invoice payment are intended. If set, the invoice will be presented with the branding and support information of the specified account. See the Invoices with Connect documentation for details.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyPaymentSettings' Source #

Defines the object schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings in the specification.

Configuration settings for the PaymentIntent that is generated when the invoice is finalized.

data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' Source #

Defines the object schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options in the specification.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 Source #

Defines the object schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.bancontact.anyOf in the specification.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage' Source #

Defines the enum schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.bancontact.anyOf.properties.preferred_language in the specification.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.bancontact.anyOf in the specification.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 Source #

Defines the object schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.card.anyOf in the specification.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure' Source #

Defines the enum schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.card.anyOf.properties.request_three_d_secure in the specification.

Constructors

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Other Value

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

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Typed Text

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

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAny

Represents the JSON value "any"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAutomatic

Represents the JSON value "automatic"

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure' Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_options.properties.card.anyOf in the specification.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1 Source #

Defines the enum schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_types.anyOf.items in the specification.

Constructors

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1Other Value

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

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1Typed Text

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

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAchCreditTransfer

Represents the JSON value "ach_credit_transfer"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAchDebit

Represents the JSON value "ach_debit"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAuBecsDebit

Represents the JSON value "au_becs_debit"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumBacsDebit

Represents the JSON value "bacs_debit"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumBancontact

Represents the JSON value "bancontact"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumCard

Represents the JSON value "card"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumFpx

Represents the JSON value "fpx"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumGiropay

Represents the JSON value "giropay"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumIdeal

Represents the JSON value "ideal"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumSepaDebit

Represents the JSON value "sepa_debit"

PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumSofort

Represents the JSON value "sofort"

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.payment_settings.properties.payment_method_types.anyOf in the specification.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyTransferData'OneOf1 Source #

Defines the object schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data.anyOf in the specification.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyTransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyTransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyTransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyTransferData'OneOf1 Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceRequestBodyTransferData'Variants Source #

Defines the oneOf schema located at paths./v1/invoices/{invoice}.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.transfer_data.anyOf in the specification.

If specified, the funds from the invoice will be transferred to the destination and the ID of the resulting transfer will be found on the invoice's charge. This will be unset if you POST an empty value.

Instances

Instances details
Eq PostInvoicesInvoiceRequestBodyTransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

Show PostInvoicesInvoiceRequestBodyTransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

ToJSON PostInvoicesInvoiceRequestBodyTransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

FromJSON PostInvoicesInvoiceRequestBodyTransferData'Variants Source # 
Instance details

Defined in StripeAPI.Operations.PostInvoicesInvoice

data PostInvoicesInvoiceResponse Source #

Represents a response of the operation postInvoicesInvoice.

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), PostInvoicesInvoiceResponseError is used.

Constructors

PostInvoicesInvoiceResponseError String

Means either no matching case available or a parse error

PostInvoicesInvoiceResponse200 Invoice

Successful response.

PostInvoicesInvoiceResponseDefault Error

Error response.