---
title: "List all credit card refunds"
method: GET
path: "/quickbooks-desktop/credit-card-refunds"
---

# List all credit card refunds

`GET /quickbooks-desktop/credit-card-refunds`

Returns a list of credit card refunds. Use the `cursor` parameter to paginate through the results.

## Query parameters

- `ids` string[] — Filter for specific credit card refunds by their QuickBooks-assigned unique identifier(s). **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other query parameters for this request. **NOTE**: If any of the values you specify in this parameter are not found, the request will return an error.
- `refNumbers` string[] — Filter for specific credit card refunds by their ref-number(s), case-sensitive. In QuickBooks, ref-numbers are not required to be unique and can be arbitrarily changed by the QuickBooks user. **IMPORTANT**: If you include this parameter, QuickBooks will ignore all other query parameters for this request. **NOTE**: If any of the values you specify in this parameter are not found, the request will return an error.
- `limit` integer — The maximum number of objects to return. Accepts values ranging from 1 to 150, defaults to 150. When used with cursor-based pagination, this parameter controls how many results are returned per page. To paginate through results, combine this with the `cursor` parameter. Each response will include a `nextCursor` value that can be passed to subsequent requests to retrieve the next page of results.
- `cursor` string — The pagination token to fetch the next set of results when paginating with the `limit` parameter. Do not include this parameter on the first call. Use the `nextCursor` value returned in the previous response to request subsequent results.
- `updatedAfter` string — Filter for credit card refunds updated on or after this date/time. Accepts the following ISO 8601 formats: - **date-only** (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the **start of the specified day** in the local timezone of the end-user's computer (e.g., `2025-01-01` → `2025-01-01T00:00:00`). - **datetime without timezone** (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop interprets the timestamp in the local timezone of the end-user's computer. - **datetime with timezone** (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop interprets the timestamp using the specified timezone.
- `updatedBefore` string — Filter for credit card refunds updated on or before this date/time. Accepts the following ISO 8601 formats: - **date-only** (YYYY-MM-DD) - QuickBooks Desktop interprets the date as the **end of the specified day** in the local timezone of the end-user's computer (e.g., `2025-01-01` → `2025-01-01T23:59:59`). - **datetime without timezone** (YYYY-MM-DDTHH:mm:ss) - QuickBooks Desktop interprets the timestamp in the local timezone of the end-user's computer. - **datetime with timezone** (YYYY-MM-DDTHH:mm:ss±HH:mm) - QuickBooks Desktop interprets the timestamp using the specified timezone.
- `transactionDateFrom` string, date — Filter for credit card refunds whose `date` field is on or after this date, in ISO 8601 format (YYYY-MM-DD). **NOTE:** QuickBooks Desktop interprets this date as the **start of the specified day** in the local timezone of the end-user's computer (e.g., `2025-01-01` → `2025-01-01T00:00:00`).
- `transactionDateTo` string, date — Filter for credit card refunds whose `date` field is on or before this date, in ISO 8601 format (YYYY-MM-DD). **NOTE:** QuickBooks Desktop interprets this date as the **end of the specified day** in the local timezone of the end-user's computer (e.g., `2025-01-01` → `2025-01-01T23:59:59`).
- `customerIds` string[] — Filter for credit card refunds refunded to these customers.
- `accountIds` string[] — Filter for credit card refunds associated with these accounts.
- `refNumberContains` string — Filter for credit card refunds whose `refNumber` contains this substring. **NOTE**: If you use this parameter, you cannot also use `refNumberStartsWith` or `refNumberEndsWith`.
- `refNumberStartsWith` string — Filter for credit card refunds whose `refNumber` starts with this substring. **NOTE**: If you use this parameter, you cannot also use `refNumberContains` or `refNumberEndsWith`.
- `refNumberEndsWith` string — Filter for credit card refunds whose `refNumber` ends with this substring. **NOTE**: If you use this parameter, you cannot also use `refNumberContains` or `refNumberStartsWith`.
- `refNumberFrom` string — Filter for credit card refunds whose `refNumber` is greater than or equal to this value. If omitted, the range will begin with the first number of the list. Uses a numerical comparison for values that contain only digits; otherwise, uses a lexicographical comparison.
- `refNumberTo` string — Filter for credit card refunds whose `refNumber` is less than or equal to this value. If omitted, the range will end with the last number of the list. Uses a numerical comparison for values that contain only digits; otherwise, uses a lexicographical comparison.
- `currencyIds` string[] — Filter for credit card refunds in these currencies.
- `includeLineItems` boolean — Whether to include line items in the response. Defaults to `true`.

## Headers

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

## Response `200`

Returns a list of credit card refunds.

- object
  - `objectType` 'list', required — The type of object. This value is always `"list"`.
  - `url` string, required — The endpoint URL where this list can be accessed.
  - `data` QbdCreditCardRefund[], required — The array of credit card refunds.
    - `id` string, required — The unique identifier assigned by QuickBooks to this credit card refund. This ID is unique across all transaction types.
    - `objectType` 'qbd_credit_card_refund', required — The type of object. This value is always `"qbd_credit_card_refund"`.
    - `createdAt` string, required — The date and time when this credit card refund 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, required — The date and time when this credit card refund 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.
    - `revisionNumber` string, required — The current QuickBooks-assigned revision number of this credit card refund object, which changes each time the object is modified. When updating this object, you must provide the most recent `revisionNumber` to ensure you're working with the latest data; otherwise, the update will return an error.
    - `customer` object, required — The customer or customer-job associated with this credit card refund.
      - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
      - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
    - `refundFromAccount` object, nullable, required — The account providing funds for this credit card refund. This is typically the Undeposited Funds account used to hold customer payments.
      - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
      - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
    - `receivablesAccount` object, nullable, required — The Accounts-Receivable (A/R) account to which this credit card refund is assigned, used to track the amount owed. If omitted, QuickBooks Desktop uses the default A/R account configured in the company file. **IMPORTANT**: If this credit card refund is linked to other transactions, this A/R account must match the `receivablesAccount` used in all linked transactions. For example, when refunding a credit card payment, the A/R account must match the one used in each linked credit transaction being refunded.
      - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
      - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
    - `transactionDate` string, date, required — The date of this credit card refund, in ISO 8601 format (YYYY-MM-DD).
    - `refNumber` string, nullable, required — The case-sensitive user-defined reference number for this credit card refund, which can be used to identify the transaction in QuickBooks. This value is not required to be unique and can be arbitrarily changed by the QuickBooks user.
    - `totalAmount` string, required — The total monetary amount of this credit card refund, represented as a decimal string.
    - `currency` object, nullable, required — The credit card refund's currency. For built-in currencies, the name and code are standard ISO 4217 international values. For user-defined currencies, all values are editable.
      - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
      - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
    - `exchangeRate` number, nullable, required — The market exchange rate between this credit card refund's currency and the home currency in QuickBooks at the time of this transaction. Represented as a decimal value (e.g., 1.2345 for 1 EUR = 1.2345 USD if USD is the home currency).
    - `totalAmountInHomeCurrency` string, nullable, required — The total monetary amount of this credit card refund converted to the home currency of the QuickBooks company file. Represented as a decimal string.
    - `address` QbdAddress, required
      - `line1` string, nullable, required — The first line of the address (e.g., street, PO Box, or company name).
      - `line2` string, nullable, required — The second line of the address, if needed (e.g., apartment, suite, unit, or building).
      - `line3` string, nullable, required — The third line of the address, if needed.
      - `line4` string, nullable, required — The fourth line of the address, if needed.
      - `line5` string, nullable, required — The fifth line of the address, if needed.
      - `city` string, nullable, required — The city, district, suburb, town, or village name of the address.
      - `state` string, nullable, required — The state, county, province, or region name of the address.
      - `postalCode` string, nullable, required — The postal code or ZIP code of the address.
      - `country` string, nullable, required — The country name of the address.
      - `note` string, nullable, required — A note written at the bottom of the address in the form in which it appears, such as the invoice form.
    - `paymentMethod` object, nullable, required — The credit card refund's payment method (e.g., cash, check, credit card).
      - `id` string, nullable, required — The unique identifier assigned by QuickBooks to this object. This ID is unique across all objects of the same type, but not across different QuickBooks object types.
      - `fullName` string, nullable, required — The fully-qualified unique name for this object, formed by combining the names of its parent objects with its own `name`, separated by colons. Not case-sensitive.
    - `memo` string, nullable, required — A memo or note for this credit card refund.
    - `creditCardTransaction` QbdCreditCardTransaction, required
      - `request` QbdCreditCardTransactionRequest, required
        - `number` string, required — The credit card number. Must be masked with lower case "x" and no dashes.
        - `expirationMonth` number, required — The month when the credit card expires.
        - `expirationYear` number, required — The year when the credit card expires.
        - `name` string, nullable, required — The cardholder's name on the card.
        - `address` string, nullable, required — The card's billing address.
        - `postalCode` string, nullable, required — The card's billing address ZIP or postal code.
        - `commercialCardCode` string, nullable, required — The commercial card code identifies the type of business credit card being used (purchase, corporate, or business) for Visa and Mastercard transactions only. When provided, this code may qualify the transaction for lower processing fees compared to the standard rates that apply when no code is specified.
        - `transactionMode` 'card_not_present' | 'card_present', nullable, required — Indicates whether this credit card transaction came from a card swipe (`card_present`) or not (`card_not_present`).
        - `transactionType` 'authorization' | 'capture' | 'charge' | 'refund' | 'voice_authorization', nullable, required — The QBMS transaction type from which the current transaction data originated.
      - `response` QbdCreditCardTransactionResponse, required
        - `statusCode` number, required — The status code returned in the original QBMS transaction response for this credit card transaction.
        - `statusMessage` string, required — The status message returned in the original QBMS transaction response for this credit card transaction.
        - `creditCardTransactionId` string, required — The ID returned from the credit card processor for this credit card transaction.
        - `merchantAccountNumber` string, required — The QBMS account number of the merchant who is running this transaction using the customer's credit card.
        - `authorizationCode` string, nullable, required — The authorization code returned from the credit card processor to indicate that this charge will be paid by the card issuer.
        - `avsStreetStatus` 'fail' | 'not_available' | 'pass', nullable, required — Indicates whether the street address supplied in the transaction request matches the customer's address on file at the card issuer.
        - `avsZipStatus` 'fail' | 'not_available' | 'pass', nullable, required — Indicates whether the customer postal ZIP code supplied in the transaction request matches the customer's postal code recognized at the card issuer.
        - `cardSecurityCodeMatch` 'fail' | 'not_available' | 'pass', nullable, required — Indicates whether the card security code supplied in the transaction request matches the card security code recognized for that credit card number at the card issuer.
        - `reconBatchId` string, nullable, required — An internal ID returned by QuickBooks Merchant Services (QBMS) from the transaction request, needed for the QuickBooks reconciliation feature.
        - `paymentGroupingCode` number, nullable, required — An internal code returned by QuickBooks Merchant Services (QBMS) from the transaction request, needed for the QuickBooks reconciliation feature.
        - `paymentStatus` 'completed' | 'unknown', required — Indicates whether this credit card transaction is known to have been successfully processed by the card issuer.
        - `transactionAuthorizedAt` string, required — The date and time when the credit card processor authorized this credit card transaction.
        - `transactionAuthorizationStamp` number, nullable, required — An internal value for this credit card transaction, needed for the QuickBooks reconciliation feature.
        - `clientTransactionId` string, nullable, required — A value returned from QBMS transactions for future use by the QuickBooks Reconciliation feature.
    - `externalId` string, nullable, required — A globally unique identifier (GUID) you, the developer, can provide for tracking this object in your external system. This field is immutable and can only be set during object creation.
    - `refundAppliedToTransactions` QbdCreditTransaction[], required — The credit transactions refunded by this credit card refund.
      - `transactionId` string, required — The ID of the credit transaction being refunded by this credit card refund.
      - `transactionType` 'ar_refund_credit_card' | 'bill' | 'bill_payment_check' | 'bill_payment_credit_card' | 'build_assembly' | 'charge' | 'check' | 'credit_card_charge' | 'credit_card_credit' | 'credit_memo' | 'deposit' | 'estimate' | 'inventory_adjustment' | 'invoice' | 'item_receipt' | 'journal_entry' | 'liability_adjustment' | 'paycheck' | 'payroll_liability_check' | 'purchase_order' | 'receive_payment' | 'sales_order' | 'sales_receipt' | 'sales_tax_payment_check' | 'transfer' | 'vendor_credit' | 'ytd_adjustment' | 'unknown', required — The type of transaction for this credit transaction.
      - `transactionDate` string, date, nullable, required — The date of this credit transaction, in ISO 8601 format (YYYY-MM-DD).
      - `refNumber` string, nullable, required — The case-sensitive user-defined reference number for this credit transaction, which can be used to identify the transaction in QuickBooks. This value is not required to be unique and can be arbitrarily changed by the QuickBooks user.
      - `creditRemaining` string, nullable, required — The remaining balance of this credit transaction that has not yet been applied to other transactions or refunded to the customer. Represented as a decimal string.
      - `refundAmount` string, required — The monetary amount to refund from the linked credit transaction within this credit transaction, represented as a decimal string.
      - `creditRemainingInHomeCurrency` string, nullable, required — The remaining balance of this credit transaction converted to the home currency of the QuickBooks company file. Represented as a decimal string.
      - `refundAmountInHomeCurrency` string, nullable, required — The monetary amount to refund from the linked credit transaction in this credit transaction, converted to the home currency of the QuickBooks company file. Represented as a decimal string.
    - `customFields` QbdCustomField[], required — The custom fields for the credit card refund object, added as user-defined data extensions, not included in the standard QuickBooks object.
      - `ownerId` string, required — The identifier of the owner of the custom field, which QuickBooks internally calls a "data extension". For public custom fields visible in the UI, such as those added by the QuickBooks user, this is always "0". For private custom fields that are only visible to the application that created them, this is a valid GUID identifying the owning application. Internally, Conductor always fetches all public custom fields (those with an `ownerId` of "0") for all objects.
      - `name` string, required — The name of the custom field, unique for the specified `ownerId`. For public custom fields, this name is visible as a label in the QuickBooks UI.
      - `type` 'amount_type' | 'date_time_type' | 'integer_type' | 'percent_type' | 'price_type' | 'quantity_type' | 'string_1024_type' | 'string_255_type', required — The data type of this custom field.
      - `value` string, required — The value of this custom field. The maximum length depends on the field's data type.
  - `nextCursor` string, nullable, required — The `nextCursor` is a pagination token returned in the response when you use the `limit` parameter in your request. To retrieve subsequent pages of results, include this token as the value of the `cursor` request parameter in your following API calls. **NOTE**: The `nextCursor` value remains constant throughout the pagination process for a specific list instance; continue to use the same `nextCursor` token in each request to fetch additional pages.
  - `remainingCount` number, nullable, required — The number of objects remaining to be fetched.
  - `hasMore` boolean, required — Indicates whether there are more objects to be fetched.

---

[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/revisions/0b07b3ebe160/schema)
