> ## Documentation Index
> Fetch the complete documentation index at: https://docs.didit.me/llms.txt
> Use this file to discover all available pages before exploring further.

# 거래 일괄 삭제 API

> Didit에서 UUID로 모니터링 거래를 영구 삭제하거나 애플리케이션의 모든 거래를 지울 수 있습니다. 최종 확정된 보고서가 있으면 삭제가 차단됩니다.



일괄 거래 삭제 API 프롬프트
        프롬프트를 클립보드에 복사



      
      

\<pre>

\`Delete monitored transactions through the Management API.

Endpoint:
DELETE https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/transactions/delete/

Authentication:
Use the x-api-key header with my Didit API key. The key must carry write:transactions.

Request body — provide one selector:
\{"transaction_uuids": ["abcdef12-3456-7890-abcd-ef1234567890"]}
or
\{"delete_all": true}

Example call:
curl -X DELETE "https://verification.didit.me/v3/organization/{organization_id}/application/{application_id}/transactions/delete/" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"transaction_uuids": ["abcdef12-3456-7890-abcd-ef1234567890"]}'

Response 204: the selected transactions are deleted.

What is deleted with each transaction:
\- Its parties, tags, notes, payment method links, documents and every stored version of their files.
\- Its rule runs, alerts, provider results, network snapshot and Travel Rule data.
Cases, people and companies stay; their link to the deleted transaction is cleared. Draft regulatory reports stop listing it and are rebuilt without it. Deletion is permanent and cannot be undone.

Failure modes:
\- 400 - no selector supplied: {"transaction_uuids": ["This field is required unless delete_all is true."]}.
\- 409 - at least one selected transaction is listed in a finalized regulatory report. Nothing is deleted. The body has code: in_filed_report and transactions[] with uuid, transaction_id and reports[].
\- 403 - the key cannot delete transactions (requires write:transactions).

After deletion:
Delete the reports named in the 409 response, then repeat this request. See Delete Report.

WARNING — delete_all: true: deletes every transaction in the application with no confirmation and no undo.

For the full integration shape, see /integration/integration-prompt.`

\</pre>



      
      

붙여넣을 곳

모니터링 중인 거래를 영구적으로 삭제합니다. UUID로 지정하거나 한 번에 모두 삭제할 수 있습니다.## 삭제되는 항목삭제된 거래는 그 거래에만 속한 레코드와 함께 삭제됩니다. 여기에는 당사자, 태그, 메모, 결제 수단 연결, 문서와 파일의 모든 저장된 버전, 규칙 실행, 알림, 제공자 결과, 네트워크 스냅샷, Travel Rule 데이터가 포함됩니다.케이스, 개인, 기업은 유지되며 삭제된 거래와의 연결만 해제됩니다. 초안 상태의 규제 보고서에서는 삭제된 거래가 더 이상 나열되지 않으며, 그 거래를 제외하고 다시 생성됩니다. 삭제는 영구적이며 되돌릴 수 없습니다.## 삭제할 항목 선택정확히 하나의 선택자를 보내야 합니다:| 필드 | 타입 | 설명 |
| - | - | - |
| `transaction_uuids` | UUID\[] | 삭제할 Didit 거래 UUID입니다. `delete_all`이 `true`가 아닌 경우 필수입니다. |
| `delete_all` | boolean | 애플리케이션의 모든 거래를 삭제합니다. `transaction_uuids`는 무시됩니다. |> [!WARNING]
>
> `delete_all: true`이면 애플리케이션의 모든 거래가 삭제됩니다. 확인 단계가 없으며 되돌릴 수 없습니다.## 확정된 보고서로 인해 차단되는 경우선택한 거래 중 하나라도 확정된 규제 보고서에 포함되어 있으면, 요청 전체가 `409`를 반환하며 아무것도 삭제되지 않습니다:```json theme={null}
{
  "detail": "Transactions included in a filed regulatory report cannot be deleted.",
  "code": "in_filed_report",
  "transactions": [
    {
      "uuid": "abcdef12-3456-7890-abcd-ef1234567890",
      "transaction_id": "your-txn-2026-05-17-001",
      "reports": [
        {
          "uuid": "5ec00000-0000-4000-8000-000000000007",
          "report_number": "SAR-0001",
          "report_type": "SAR",
          "case_uuid": "c1a5e000-0000-4000-8000-000000000001"
        }
      ]
    }
  ]
}
```[보고서 삭제](https://docs.didit.me/ko/management-api/regulatory-reports/delete.md)를 사용해 각 보고서를 삭제한 다음 이 요청을 다시 보내십시오. 여러 거래를 선택했다면 차단된 거래를 제거하거나 해당 보고서를 먼저 삭제하십시오.## 관련 문서- [거래 목록 조회](https://docs.didit.me/ko/management-api/transactions/list.md)
- [거래 조회](https://docs.didit.me/ko/management-api/transactions/get.md)
- [보고서 삭제](https://docs.didit.me/ko/management-api/regulatory-reports/delete.md)


## OpenAPI

````yaml ko/openapi-25.json DELETE /v3/organization/{organization_id}/application/{application_id}/transactions/delete/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: 신분증 인증 API입니다. x-api-key 헤더로 인증합니다.
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/organization/{organization_id}/application/{application_id}/transactions/delete/:
    delete:
      tags:
        - Transactions
      summary: 거래 일괄 삭제
      description: >-
        하나 이상의 거래를 영구적으로 삭제합니다. `transaction_uuids`로 선택하거나, `delete_all: true`로
        애플리케이션의 모든 거래를 삭제할 수 있습니다.


        삭제된 거래는 해당 거래 전용 레코드와 함께 삭제됩니다: 당사자, 태그, 메모, 결제 수단 링크, 문서 및 해당 파일의 모든
        저장된 버전, 규칙 실행 내역, 알림, 제공업체 결과, 네트워크 스냅샷 및 Travel Rule 데이터. 케이스, 인물 및 기업은
        유지되며, 삭제된 거래와의 연결만 해제됩니다. 규제 보고서 초안에는 해당 거래가 더 이상 나열되지 않으며 이를 제외하고 다시
        생성됩니다. 삭제는 영구적이며 취소할 수 없습니다. 실행 취소 endpoint는 제공되지 않습니다.


        선택한 거래 중 하나라도 확정된 규제 보고서에 포함되어 있다면 전체 요청이 `409`와 함께 거부되며 아무것도 삭제되지 않습니다.
        응답 본문은 `code: in_filed_report`를 사용하며 각 거래 및 해당 거래가 포함된 보고서 이름을 명시합니다. 해당
        보고서를 삭제한 후 요청을 다시 시도하십시오.
      operationId: batch_delete_transactions
      parameters:
        - name: organization_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: 조직 UUID입니다.
        - name: application_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: 애플리케이션 UUID입니다.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              oneOf:
                - title: Selected transactions
                  required:
                    - transaction_uuids
                  properties:
                    transaction_uuids:
                      type: array
                      items:
                        type: string
                        format: uuid
                      description: 삭제할 Didit 거래 UUID입니다. `delete_all`이 true가 아닌 경우 필수입니다.
                      minItems: 1
                    delete_all:
                      type: boolean
                      enum:
                        - false
                      default: false
                      description: '`transaction_uuids`로 거래를 선택할 때는 제외하거나 `false`를 전송하세요.'
                - title: All transactions
                  required:
                    - delete_all
                  properties:
                    delete_all:
                      type: boolean
                      enum:
                        - true
                      description: 애플리케이션의 모든 거래를 삭제합니다. `transaction_uuids`는 무시됩니다.
                    transaction_uuids:
                      type: array
                      items:
                        type: string
                        format: uuid
                      description: '`delete_all`이 true일 때는 무시됩니다.'
            examples:
              Selected transactions:
                value:
                  transaction_uuids:
                    - abcdef12-3456-7890-abcd-ef1234567890
                    - 12345678-90ab-cdef-1234-567890abcdef
              All transactions:
                value:
                  delete_all: true
      responses:
        '204':
          description: 선택한 거래가 삭제되었습니다.
        '400':
          description: 거래 선택자가 제공되지 않았습니다.
          content:
            application/json:
              schema:
                type: object
                properties:
                  transaction_uuids:
                    type: array
                    items:
                      type: string
              example:
                transaction_uuids:
                  - This field is required unless delete_all is true.
        '403':
          description: API 키로 거래를 삭제할 수 없습니다. 이 엔드포인트에는 `write:transactions` 권한이 필요합니다.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
        '409':
          description: 선택한 거래 중 최소 하나가 확정된 규제 보고서에 포함되어 있습니다. 아무것도 삭제되지 않았습니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InFiledReportError'
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl (selected transactions)
          source: >-
            curl -X DELETE
            'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/transactions/delete/'
            \
              -H 'x-api-key: YOUR_API_KEY' \
              -H 'Content-Type: application/json' \
              -d '{"transaction_uuids": ["abcdef12-3456-7890-abcd-ef1234567890"]}'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            # and DIDIT_APPLICATION_ID.
            client = Didit()

            client.transactions.batch_delete(
                body={
                    "transaction_uuids": ["abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"],
                },
            )
        - lang: javascript
          label: Node.js
          source: |-
            import Didit from "@didit-protocol/sdk-node";

            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            // and DIDIT_APPLICATION_ID.
            const didit = new Didit();

            await didit.transactions.batchDelete({
              transaction_uuids: ["abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"],
            });
        - lang: java
          label: Java
          source: >-
            import java.util.List;

            import me.didit.Didit;

            import me.didit.types.TransactionsBatchDeleteParams;


            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID

            // and DIDIT_APPLICATION_ID.

            Didit client = new Didit();


            client.transactions().batchDelete(TransactionsBatchDeleteParams.builder()
                    .putAdditionalProperty("transaction_uuids", List.of("abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"))
                    .build());
        - lang: php
          label: PHP
          source: |-
            <?php

            require 'vendor/autoload.php';

            use Didit\DiditClient;

            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            // and DIDIT_APPLICATION_ID.
            $didit = new DiditClient();

            $didit->transactions->batchDelete([
                'transaction_uuids' => ['abcdef12-3456-7890-abcd-ef1234567890', '12345678-90ab-cdef-1234-567890abcdef'],
            ]);
        - lang: ruby
          label: Ruby
          source: |-
            require "didit"

            # Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
            # and DIDIT_APPLICATION_ID.
            didit = Didit::Client.new

            didit.transactions.batch_delete(
              body: {
                transaction_uuids: ["abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef"],
              }
            )
        - lang: csharp
          label: .NET
          source: >-
            using System;

            using Didit;


            // Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID

            // and DIDIT_APPLICATION_ID.

            using var client = new DiditClient();


            await client.Transactions.BatchDeleteAsync(new
            TransactionsBatchDeleteParams

            {
                TransactionUuids = new string[] { "abcdef12-3456-7890-abcd-ef1234567890", "12345678-90ab-cdef-1234-567890abcdef" },
            });
components:
  schemas:
    InFiledReportError:
      type: object
      description: >-
        선택한 데이터가 확정된 규제 보고서에 포함되어 있어 삭제가 거부되었습니다. 아무것도 삭제되지 않았습니다. 보고서를 삭제한 후
        요청을 반복하십시오.
      required:
        - detail
        - code
      properties:
        detail:
          type: string
        code:
          type: string
          enum:
            - in_filed_report
          description: 확정된 규제 보고서로 인해 삭제가 차단된 경우에 대한 안정적인 오류 코드입니다.
        reports:
          type: array
          items:
            $ref: '#/components/schemas/FiledRegulatoryReport'
          description: 개인, 기업, 케이스 또는 세션 삭제를 차단하는 보고서 목록입니다.
        transactions:
          type: array
          items:
            $ref: '#/components/schemas/FiledReportTransaction'
          description: 거래 삭제를 차단하는 거래 및 이를 나열하는 각 보고서입니다.
    FiledRegulatoryReport:
      type: object
      description: 요청된 삭제를 방지하는 완료된 규제 보고서입니다.
      required:
        - uuid
        - report_number
        - report_type
        - case_uuid
      properties:
        uuid:
          type: string
          format: uuid
          description: 보고서 UUID입니다.
        report_number:
          type: string
          description: '콘솔에 표시되는 보고서 번호(예: SAR-0001)입니다.'
        report_type:
          type: string
          enum:
            - SAR
            - STR
            - CTR
            - TTR
            - UTR
            - IFT
            - CBR
            - TFR
          description: 규제 보고서 유형입니다.
        case_uuid:
          type: string
          format: uuid
          description: 보고서가 속한 케이스.
    FiledReportTransaction:
      type: object
      description: 확정된 규제 보고서에 나열되어 있어 삭제할 수 없는 거래입니다.
      required:
        - uuid
        - transaction_id
        - reports
      properties:
        uuid:
          type: string
          format: uuid
          description: Didit 거래 UUID입니다.
        transaction_id:
          type: string
          description: 거래 생성 시 제공된 거래 식별자입니다.
        reports:
          type: array
          items:
            $ref: '#/components/schemas/FiledRegulatoryReport'
          description: 이 거래가 포함된 확정된 보고서입니다.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Business Console의 Developers -> API keys에서 발급받은 귀하 애플리케이션의 API 키입니다. 기본
        키는 전체 접근 권한을 갖습니다. 이름이 지정된 키는 리소스별 none, read, write 범위로 권한을 제한할 수 있으며
        특정 워크플로나 승인된 세션, IP 주소 목록, 만료일 등으로 제한할 수도 있습니다. 401은 키가 잘못되었거나 폐기되었거나
        만료되었음을 의미합니다. 403은 키가 전송되지 않았거나, 키에 해당 리소스나 작업에 대한 접근 권한이 없거나, 요청이 허용된
        IP 목록 외부 주소에서 발생했음을 의미합니다. 세션 경로에서의 404는 해당 세션이 키의 허용 워크플로 또는 상태 범위를
        벗어났음을 의미합니다. 미디어 접근 권한이 없는 키는 이미지, 비디오, PDF URL을 null로 수신하며, 세션 write
        권한이 없는 키는 세션 링크와 token을 null로 수신합니다.
        https://docs.didit.me/console/api-keys 를 참고하십시오.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.