Invoices

Deletes a draft or void invoice. A deleted invoice no longer appears in invoice or payment lists, and its ID returns a 404. Deleting can't be undone. invoice:create can delete only a draft that has no payment_method_id and was never sent as a quote. Void an open invoice before you delete it. A draft with a scheduled send or charge must be unscheduled first. A draft renewal invoice can't be deleted, and neither can a void invoice that collected money or still awaits a bank wire. The invoice's deletable field is true when this call can delete it.

delete/invoices/{id}

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

id, string required

The invoice's pay_ ID.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

invoice deleted

object required
deleted, boolean required

Always true.

id, string required

The ID of the deleted invoice, prefixed pay_.

Example response

{
  "deleted": true,
  "id": "pay_xxxxxxxxxxxxxx"
}

Changes

    • info

      the security scope invoice:update was added to the endpoint's security scheme bearerAuth

    • info

      the security scope invoice:create was removed from the endpoint's security scheme bearerAuth

    • info

      the security scope invoice:update was added to the endpoint's security scheme bearerAuth

    1 more change in this revision