stripeapi-1.0.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

:: forall m. MonadHTTP m 
=> Text

invoice | Constraints: Maximum length of 5000

-> Maybe PostInvoicesInvoiceSendRequestBody

The request body to send

-> StripeT m (Response PostInvoicesInvoiceSendResponse)

Monadic computation which returns 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 object schema located at paths./v1/invoices/{invoice}/send.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.

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.