Void an invoice
Voids an invoice, cancelling it. Voided invoices cannot be collected. An invoice that is already voided cannot be voided again.
Use a secret key (sk_test_* or sk_live_*) for full read/write access, or a public key (pk_test_* or pk_live_*) for read-only access.