Cancels a billing item that is pending, parked as a draft or failed to collect, and frees its idempotency key so the same charge can be recorded again. Returns 404 for an unknown item and 409 when the item has any other status or changed at the same time. Super admin only.
POST
/admin/billing-items/{id}/void
curl \
--request POST 'http://api.example.com/admin/billing-items/{id}/void' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"reason": "string"
}'
Request examples
{
"reason": "string"
}
Response examples (200)
{
"data": {
"id": "65a1b2c3d4e5f6a7b8c9d0e9",
"caseId": "65a1b2c3d4e5f6a7b8c9d0e2",
"skuKey": "addon.shipping",
"status": "PENDING",
"description": "Admin add-on: addon.shipping",
"quantity": 1,
"unitAmountCents": 2500,
"amountCents": 2500,
"informational": false,
"listAmountCents": 42.0,
"adminNote": "string"
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}