Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation postInvoicesInvoiceSend
Synopsis
- postInvoicesInvoiceSend :: forall m. MonadHTTP m => Text -> Maybe PostInvoicesInvoiceSendRequestBody -> StripeT m (Response PostInvoicesInvoiceSendResponse)
- data PostInvoicesInvoiceSendRequestBody = PostInvoicesInvoiceSendRequestBody {}
- mkPostInvoicesInvoiceSendRequestBody :: PostInvoicesInvoiceSendRequestBody
- data PostInvoicesInvoiceSendResponse
Documentation
postInvoicesInvoiceSend Source #
:: 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.
PostInvoicesInvoiceSendRequestBody | |
|
mkPostInvoicesInvoiceSendRequestBody :: PostInvoicesInvoiceSendRequestBody Source #
Create a new PostInvoicesInvoiceSendRequestBody
with all required 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.
PostInvoicesInvoiceSendResponseError String | Means either no matching case available or a parse error |
PostInvoicesInvoiceSendResponse200 Invoice | Successful response. |
PostInvoicesInvoiceSendResponseDefault Error | Error response. |