InvoiceService::voidInvoice( string $id, null|array $params = null, null|array|StripeUtilRequestOptions $opts = null )
Mark a finalized invoice as void. This cannot be undone. Voiding an invoice is similar to deletion, however it only applies to finalized invoices and maintains a papertrail where the invoice can still be found.
Description Description
Parameters Parameters
- $id
-
(Required)
- $params
-
(Optional)
Default value: null
- $opts
-
(Optional)
Default value: null
Return Return
(StripeInvoice)
Source Source
File: includes/gateways/stripe/vendor/stripe/stripe-php/lib/Service/InvoiceService.php