---
updatedAt: 2026-03-26T11:49:32.000Z
agentTools:
  projectIndex: https://developers.getknit.dev/llms.txt
---

# Delete Credit Card Transaction

Use this endpoint to delete a creditCard Transaction.

## Supported Apps

Here are the list of apps that support this API.

<Accordion title="Netsuite (netsuite)" />

<Accordion title="QuickBooks (quickbooks)" />

<Accordion title="Sage Intacct (sageIntacct)" />

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "base-api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.getknit.dev/v1.0"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      },
      "sec1": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Knit-Integration-Id"
      }
    }
  },
  "security": [
    {
      "sec0": [],
      "sec1": []
    }
  ],
  "paths": {
    "/accounting.creditCardTransactions.delete": {
      "post": {
        "description": "",
        "operationId": "post_accounting.creditCardTransactions.delete",
        "responses": {
          "200": {
            "description": "Result",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "summary": "Result",
                    "value": {
                      "success": true,
                      "data": null
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true,
                      "default": ""
                    },
                    "data": {
                      "type": "object",
                      "properties": {}
                    }
                  }
                }
              }
            }
          },
          "400": {
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "msg": {
                          "type": "string",
                          "example": "descriptive error message"
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "Result": {
                    "summary": "Result",
                    "value": {
                      "success": false,
                      "error": {
                        "msg": "descriptive error message"
                      }
                    }
                  }
                }
              }
            },
            "description": "Result"
          }
        },
        "parameters": [],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "creditCardTransactionId": {
                    "type": "string"
                  },
                  "refund": {
                    "type": "boolean",
                    "description": "Default: false"
                  }
                },
                "required": [
                  "creditCardTransactionId"
                ]
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```