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

# Void a credit card credit

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

## Request

- Base URL: `https://api.conductor.is/v1`
- URL: `https://api.conductor.is/v1/quickbooks-desktop/credit-card-credits/{id}/void`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/conductor-is/apis/conductor-api/docs/quickbooks-desktop/credit-card-credits/:id/void/post.ts> (a function with typed inputs; its response is checked against the schema)

Voids a credit card credit by setting its amount to zero while keeping a record of it in QuickBooks. The void will fail if the credit card credit 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 credit 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 credit.

- object
  - `id` string, required: The QuickBooks-assigned unique identifier of the voided credit card credit.
  - `objectType` 'qbd_credit_card_credit', required: The type of object. This value is always `"qbd_credit_card_credit"`.
  - `createdAt` string, nullable, required: The date and time when this credit card credit 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 credit 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 credit.
  - `voided` boolean, required: Indicates whether the credit card credit was voided.

## Changes

- **2026-05-02** `1de07095c4b7`: 1 warning
  - for the `path` request parameter `id`, the maxLength was set to `36`
- **2026-05-01** `5d4da875813f`: 1 breaking
  - removed the request body
- **2026-05-01** `5c4fdd2f98e6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/conductor-is/apis/conductor-api/changes/quickbooks-desktop/credit-card-credits/:id/void/post.md)

---

[API](https://skmtc.dev/conductor-is/apis/conductor-api.md) - [All operations](https://skmtc.dev/conductor-is/apis/conductor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/conductor-is/apis/conductor-api/revisions/43045891f5fb?raw)
