v1

latestOpenAPI 3.1.02026-07-261444991.2 MB
Credit

Delete credit block

This endpoint deletes a credit block by its ID.

When a credit block is deleted:

  • The block is removed from the customer's credit ledger.
  • Any usage of the credit block is reversed, and the ledger is replayed as if the block never existed.
  • If invoices were generated from the purchase of the credit block, they will be deleted if in draft status, voided if issued, or a credit note will be issued if the invoice is paid.
<Note> Issued invoices that had credits applied from this block will not be regenerated, but the ledger will reflect the state as if credits from the deleted block were never applied. </Note>
delete/credit_blocks/{block_id}

Path parameters

block_idstring required

Response

No Content