stripeapi-0.1.0.0: Stripe-Library

Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.PostInvoicesInvoiceSend

Description

Contains the different functions to run the operation postInvoicesInvoiceSend

Synopsis

Documentation

postInvoicesInvoiceSend Source #

Arguments

:: (MonadHTTP m, SecurityScheme s) 
=> Configuration s

The configuration to use in the request

-> String

invoice | Constraints: Maximum length of 5000

-> PostInvoicesInvoiceSendRequestBody

The request body to send

-> m (Either HttpException (Response PostInvoicesInvoiceSendResponse))

Monad containing the result of the operation

POST /v1/invoices/{invoice}/send

<p>Stripe will automatically send invoices to customers according to your <a href="https://dashboard.stripe.com/account/billing/automatic">subscriptions settings</a>. However, if you’d like to manually send an invoice to your customer out of the normal schedule, you can do so. When sending invoices that have already been paid, there will be no reference to the payment in the email.</p>

<p>Requests made in test-mode result in no emails being sent, despite sending an <code>invoice.sent</code> event.</p>

data PostInvoicesInvoiceSendRequestBody Source #

Defines the data type for the schema postInvoicesInvoiceSendRequestBody

Constructors

PostInvoicesInvoiceSendRequestBody 

Fields

data PostInvoicesInvoiceSendResponse Source #

Represents a response of the operation postInvoicesInvoiceSend.

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

Constructors

PostInvoicesInvoiceSendResponseError String

Means either no matching case available or a parse error

PostInvoicesInvoiceSendResponse200 Invoice

Successful response.

PostInvoicesInvoiceSendResponseDefault Error

Error response.