---
title: "Void a credit card charge"
method: POST
path: "/quickbooks-desktop/credit-card-charges/{id}/void"
---

# Void a credit card charge

`POST /quickbooks-desktop/credit-card-charges/{id}/void`

Voids a credit card charge by setting its amount to zero while keeping a record of it in QuickBooks. The void will fail if the credit card charge is currently in use or has any linked transactions that are in use.

## Path parameters

- `id` string, required — The QuickBooks-assigned unique identifier of the credit card charge to void.

## Headers

- `Conductor-End-User-Id` string, required — The ID of the End-User to receive this request.

## Response `200`

Returns a confirmation of the void with the ID of the voided credit card charge.

- object
  - `id` string, required — The QuickBooks-assigned unique identifier of the voided credit card charge.
  - `objectType` 'qbd_credit_card_charge', required — The type of object. This value is always `"qbd_credit_card_charge"`.
  - `createdAt` string, nullable, required — The date and time when this credit card charge was created, in ISO 8601 format (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local timezone of the end-user's computer.
  - `updatedAt` string, nullable, required — The date and time when this credit card charge was last updated, in ISO 8601 format (YYYY-MM-DDThh:mm:ss+hh:mm), which QuickBooks Desktop interprets in the local timezone of the end-user's computer.
  - `refNumber` string, nullable, required — The case-sensitive user-defined reference number of the voided credit card charge.
  - `voided` boolean, required — Indicates whether the credit card charge was voided.

---

[API](https://skmtc.net/conductor-is/apis/conductor-api.md) · [All operations](https://skmtc.net/conductor-is/apis/conductor-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/conductor-is/conductor-api/versions/0b07b3ebe160/schema)
