InvoiceService::delete( string $id, null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )

Permanently deletes a one-off invoice draft. This cannot be undone. Attempts to delete invoices that are no longer in a draft state will fail; once an invoice has been finalized or if an invoice is for a subscription, it must be voided.


Description Description


Parameters Parameters

$id

(Required)

$params

(Optional)

Default value: null

$opts

(Optional)

Default value: null


Top ↑

Return Return

(StripeInvoice)


Top ↑

Source Source

File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/InvoiceService.php


			

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.