Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postInvoicesInvoice
Synopsis
- postInvoicesInvoice :: forall m. MonadHTTP m => Text -> Maybe PostInvoicesInvoiceRequestBody -> StripeT m (Response PostInvoicesInvoiceResponse)
- data PostInvoicesInvoiceRequestBody = PostInvoicesInvoiceRequestBody {
- postInvoicesInvoiceRequestBodyAccountTaxIds :: Maybe PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants
- postInvoicesInvoiceRequestBodyApplicationFeeAmount :: Maybe Int
- postInvoicesInvoiceRequestBodyAutoAdvance :: Maybe Bool
- postInvoicesInvoiceRequestBodyAutomaticTax :: Maybe PostInvoicesInvoiceRequestBodyAutomaticTax'
- postInvoicesInvoiceRequestBodyCollectionMethod :: Maybe PostInvoicesInvoiceRequestBodyCollectionMethod'
- postInvoicesInvoiceRequestBodyCustomFields :: Maybe PostInvoicesInvoiceRequestBodyCustomFields'Variants
- postInvoicesInvoiceRequestBodyDaysUntilDue :: Maybe Int
- postInvoicesInvoiceRequestBodyDefaultPaymentMethod :: Maybe Text
- postInvoicesInvoiceRequestBodyDefaultSource :: Maybe Text
- postInvoicesInvoiceRequestBodyDefaultTaxRates :: Maybe PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants
- postInvoicesInvoiceRequestBodyDescription :: Maybe Text
- postInvoicesInvoiceRequestBodyDiscounts :: Maybe PostInvoicesInvoiceRequestBodyDiscounts'Variants
- postInvoicesInvoiceRequestBodyDueDate :: Maybe Int
- postInvoicesInvoiceRequestBodyExpand :: Maybe [Text]
- postInvoicesInvoiceRequestBodyFooter :: Maybe Text
- postInvoicesInvoiceRequestBodyMetadata :: Maybe PostInvoicesInvoiceRequestBodyMetadata'Variants
- postInvoicesInvoiceRequestBodyOnBehalfOf :: Maybe PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants
- postInvoicesInvoiceRequestBodyPaymentSettings :: Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'
- postInvoicesInvoiceRequestBodyStatementDescriptor :: Maybe Text
- postInvoicesInvoiceRequestBodyTransferData :: Maybe PostInvoicesInvoiceRequestBodyTransferData'Variants
- mkPostInvoicesInvoiceRequestBody :: PostInvoicesInvoiceRequestBody
- data PostInvoicesInvoiceRequestBodyAccountTaxIds'Variants
- data PostInvoicesInvoiceRequestBodyAutomaticTax' = PostInvoicesInvoiceRequestBodyAutomaticTax' {}
- mkPostInvoicesInvoiceRequestBodyAutomaticTax' :: Bool -> PostInvoicesInvoiceRequestBodyAutomaticTax'
- data PostInvoicesInvoiceRequestBodyCollectionMethod'
- data PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 = PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 {}
- mkPostInvoicesInvoiceRequestBodyCustomFields'OneOf1 :: Text -> Text -> PostInvoicesInvoiceRequestBodyCustomFields'OneOf1
- data PostInvoicesInvoiceRequestBodyCustomFields'Variants
- data PostInvoicesInvoiceRequestBodyDefaultTaxRates'Variants
- data PostInvoicesInvoiceRequestBodyDiscounts'OneOf1 = PostInvoicesInvoiceRequestBodyDiscounts'OneOf1 {}
- mkPostInvoicesInvoiceRequestBodyDiscounts'OneOf1 :: PostInvoicesInvoiceRequestBodyDiscounts'OneOf1
- data PostInvoicesInvoiceRequestBodyDiscounts'Variants
- data PostInvoicesInvoiceRequestBodyMetadata'Variants
- data PostInvoicesInvoiceRequestBodyOnBehalfOf'Variants
- data PostInvoicesInvoiceRequestBodyPaymentSettings' = PostInvoicesInvoiceRequestBodyPaymentSettings' {}
- mkPostInvoicesInvoiceRequestBodyPaymentSettings' :: PostInvoicesInvoiceRequestBodyPaymentSettings'
- data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' = PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' {
- postInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact :: Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
- postInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card :: Maybe PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
- mkPostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
- data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 = PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 {}
- mkPostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
- data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'
- = PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Other Value
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'Typed Text
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumDe
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumEn
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumFr
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1PreferredLanguage'EnumNl
- data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'Variants
- = PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'EmptyString
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
- data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 = PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 {}
- mkPostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
- data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'
- = PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Other Value
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'Typed Text
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAny
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAutomatic
- data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'Variants
- = PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'EmptyString
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
- data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1
- = PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1Other Value
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1Typed Text
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAchCreditTransfer
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAchDebit
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumAuBecsDebit
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumBacsDebit
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumBancontact
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumCard
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumFpx
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumGiropay
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumIdeal
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumSepaDebit
- | PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'OneOf1EnumSofort
- data PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodTypes'Variants
- data PostInvoicesInvoiceRequestBodyTransferData'OneOf1 = PostInvoicesInvoiceRequestBodyTransferData'OneOf1 {}
- mkPostInvoicesInvoiceRequestBodyTransferData'OneOf1 :: Text -> PostInvoicesInvoiceRequestBodyTransferData'OneOf1
- data PostInvoicesInvoiceRequestBodyTransferData'Variants
- data PostInvoicesInvoiceResponse
Documentation
:: 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.
PostInvoicesInvoiceRequestBody | |
|
mkPostInvoicesInvoiceRequestBody :: PostInvoicesInvoiceRequestBody Source #
Create a new PostInvoicesInvoiceRequestBody
with all required 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.
PostInvoicesInvoiceRequestBodyAccountTaxIds'EmptyString | Represents the JSON value |
PostInvoicesInvoiceRequestBodyAccountTaxIds'ListTText [Text] |
Instances
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.
mkPostInvoicesInvoiceRequestBodyAutomaticTax' Source #
Create a new PostInvoicesInvoiceRequestBodyAutomaticTax'
with all required fields.
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.
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 |
PostInvoicesInvoiceRequestBodyCollectionMethod'EnumSendInvoice | Represents the JSON value |
Instances
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.
PostInvoicesInvoiceRequestBodyCustomFields'OneOf1 | |
|
Instances
mkPostInvoicesInvoiceRequestBodyCustomFields'OneOf1 Source #
Create a new PostInvoicesInvoiceRequestBodyCustomFields'OneOf1
with all required fields.
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
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.
PostInvoicesInvoiceRequestBodyDefaultTaxRates'EmptyString | Represents the JSON value |
PostInvoicesInvoiceRequestBodyDefaultTaxRates'ListTText [Text] |
Instances
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.
PostInvoicesInvoiceRequestBodyDiscounts'OneOf1 | |
|
Instances
mkPostInvoicesInvoiceRequestBodyDiscounts'OneOf1 :: PostInvoicesInvoiceRequestBodyDiscounts'OneOf1 Source #
Create a new PostInvoicesInvoiceRequestBodyDiscounts'OneOf1
with all required fields.
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
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`.
PostInvoicesInvoiceRequestBodyMetadata'EmptyString | Represents the JSON value |
PostInvoicesInvoiceRequestBodyMetadata'Object Object |
Instances
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.
PostInvoicesInvoiceRequestBodyOnBehalfOf'EmptyString | Represents the JSON value |
PostInvoicesInvoiceRequestBodyOnBehalfOf'Text Text |
Instances
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.
Instances
mkPostInvoicesInvoiceRequestBodyPaymentSettings' :: PostInvoicesInvoiceRequestBodyPaymentSettings' Source #
Create a new PostInvoicesInvoiceRequestBodyPaymentSettings'
with all required fields.
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
mkPostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions' Source #
Create a new PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'
with all required fields.
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
mkPostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1 Source #
Create a new PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Bancontact'OneOf1
with all required fields.
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
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
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
mkPostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 :: PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1 Source #
Create a new PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1
with all required fields.
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.
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 |
PostInvoicesInvoiceRequestBodyPaymentSettings'PaymentMethodOptions'Card'OneOf1RequestThreeDSecure'EnumAutomatic | Represents the JSON value |
Instances
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
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.
Instances
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
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
mkPostInvoicesInvoiceRequestBodyTransferData'OneOf1 Source #
:: Text |
|
-> PostInvoicesInvoiceRequestBodyTransferData'OneOf1 |
Create a new PostInvoicesInvoiceRequestBodyTransferData'OneOf1
with all required fields.
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
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.
PostInvoicesInvoiceResponseError String | Means either no matching case available or a parse error |
PostInvoicesInvoiceResponse200 Invoice | Successful response. |
PostInvoicesInvoiceResponseDefault Error | Error response. |