

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 취소 및 결제 조정 이벤트
<a name="cancellation-adjustment-eventbridge"></a>

AWS Marketplace 는 판매자가 계약 중 하나에 대한 취소 요청 또는 결제 조정을 시작하면 Amazon EventBridge에 알림을 보냅니다. 이러한 이벤트를 사용하여 워크플로를 자동화하고 취소 및 환불 활동을 추적할 수 있습니다.

다음 표에는가 취소 및 결제 조정을 위해 EventBridge로 AWS Marketplace 보내는 구매자 이벤트가 나열되어 있습니다.


| 이벤트 | 설명 | 
| --- | --- | 
| 승인 보류 중인 계약 취소 요청 - 수락자 | 판매자가 계약에 대한 취소 요청을 제출할 때 전송됩니다. 필요한 조치: 승인 또는 거부 기한은 7일입니다. | 
| 계약 취소 요청 승인됨 - 수락자 | 취소 요청이 사용자의 승인을 받거나 7일 후에 자동 승인될 때 전송됩니다. | 
| 계약 취소 요청 거부됨 - 수락자 | 취소 요청을 거부할 때 전송됨 | 
| 계약 취소 요청 취소됨 - 수락자 | 판매자가 취소 요청을 취소할 때 전송됨 | 
| 구매 계약 결제 조정 완료 - 수락자 | 계약에 대한 결제 조정(환불)이 처리될 때 전송됨 | 

모든 이벤트는 이벤트 소스를 사용하여 `us-east-1` 리전의 기본 EventBridge 이벤트 버스로 전송됩니다`aws.agreement-marketplace`.

## 취소 요청 이벤트 유형
<a name="cancellation-event-types"></a>

### 승인 보류 중인 계약 취소 요청 - 수락자
<a name="cancellation-pending-approval-acceptor"></a>

AWS Marketplace 는 판매자가 계약 중 하나에 대한 취소 요청을 제출할 때이 이벤트를 보냅니다. 요청을 승인하거나 거부할 수 있는 기간은 7일입니다. 응답하지 않으면 취소가 자동으로 승인됩니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Agreement Cancellation Request Pending Approval - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "123456789012",
  "time": "2025-01-01T13:12:22Z",
  "region": "us-east-1",
  "resources": [],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-abcdexampleid",
      "proposerId": "123456789012",
      "productId": "prod-exampleid",
      "offerId": "offer-exampleid"
    },
    "agreementCancellationRequest": {
      "id": "acr-abcdexampleid",
      "reasonCode": "INCORRECT_TERMS_ACCEPTED",
      "reasonMessage": "",
      "statusCode": "PENDING_APPROVAL",
      "statusMessage": "",
      "createdAt": "2025-01-01T13:12:22Z",
      "updatedAt": "2025-01-01T13:12:22Z"
    }
  }
}
```

### 계약 취소 요청 승인됨 - 수락자
<a name="cancellation-approved-acceptor"></a>

AWS Marketplace 는 계약 중 하나에 대한 취소 요청이 승인되면이 이벤트를 전송합니다. 이는 요청을 승인하거나 응답 없이 7일 후에 자동 승인될 때 발생할 수 있습니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Agreement Cancellation Request Approved - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "123456789012",
  "time": "2025-01-01T13:16:07Z",
  "region": "us-east-1",
  "resources": [],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-abcdexampleid",
      "proposerId": "123456789012",
      "productId": "prod-exampleid",
      "offerId": "offer-exampleid"
    },
    "agreementCancellationRequest": {
      "id": "acr-abcdexampleid",
      "reasonCode": "INCORRECT_TERMS_ACCEPTED",
      "reasonMessage": "The terms accepted in agreement had wrong rate",
      "statusCode": "APPROVED",
      "statusMessage": "",
      "createdAt": "2025-01-01T13:12:22Z",
      "updatedAt": "2025-01-01T13:16:07Z"
    }
  }
}
```

### 계약 취소 요청 거부됨 - 수락자
<a name="cancellation-rejected-acceptor"></a>

AWS Marketplace 는 계약 중 하나에 대한 취소 요청을 거부하면이 이벤트를 전송합니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Agreement Cancellation Request Rejected - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "123456789012",
  "time": "2025-01-02T10:30:00Z",
  "region": "us-east-1",
  "resources": [],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-abcdexampleid",
      "proposerId": "123456789012",
      "productId": "prod-exampleid",
      "offerId": "offer-exampleid"
    },
    "agreementCancellationRequest": {
      "id": "acr-abcdexampleid",
      "reasonCode": "INCORRECT_TERMS_ACCEPTED",
      "reasonMessage": "",
      "statusCode": "REJECTED",
      "statusMessage": "We still need this product",
      "createdAt": "2025-01-01T13:12:22Z",
      "updatedAt": "2025-01-02T10:30:00Z"
    }
  }
}
```

### 계약 취소 요청 취소됨 - 수락자
<a name="cancellation-cancelled-acceptor"></a>

AWS Marketplace 는 판매자가 응답하기 전에 취소 요청을 철회하면이 이벤트를 보냅니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Agreement Cancellation Request Cancelled - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "123456789012",
  "time": "2025-01-02T08:00:00Z",
  "region": "us-east-1",
  "resources": [],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-abcdexampleid",
      "proposerId": "123456789012",
      "productId": "prod-exampleid",
      "offerId": "offer-exampleid"
    },
    "agreementCancellationRequest": {
      "id": "acr-abcdexampleid",
      "reasonCode": "INCORRECT_TERMS_ACCEPTED",
      "reasonMessage": "",
      "statusCode": "CANCELLED",
      "statusMessage": "Seller withdrew the request",
      "createdAt": "2025-01-01T13:12:22Z",
      "updatedAt": "2025-01-02T08:00:00Z"
    }
  }
}
```

## 결제 조정 이벤트 유형
<a name="billing-adjustment-event-types"></a>

### 구매 계약 결제 조정 완료 - 수락자
<a name="billing-adjustment-successful-acceptor"></a>

AWS Marketplace 는 계약 중 하나에 대한 결제 조정(환불)이 처리되면이 이벤트를 전송합니다.

**이벤트 스키마:**

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-0123456789ab",
  "detail-type": "Purchase Agreement Billing Adjustment Completed - Acceptor",
  "source": "aws.agreement-marketplace",
  "account": "123456789012",
  "time": "2025-01-01T14:00:00Z",
  "region": "us-east-1",
  "resources": [],
  "detail": {
    "requestId": "3d4c9f9b-b809-4f5e-9fac-a9ae98b05cbb",
    "catalog": "AWSMarketplace",
    "agreement": {
      "id": "agmt-abcdexampleid"
    },
    "billingAdjustmentRequest": {
      "id": "ba-abcdexampleid",
      "adjustmentAmount": "-1000.00",
      "currencyCode": "USD",
      "adjustmentReasonCode": "INCORRECT_TERMS_ACCEPTED"
    },
    "invoice": {
      "originalInvoiceId": "2028746221"
    }
  }
}
```

취소 요청에 응답하고 결제 조정을 추적하는 방법에 대한 자세한 내용은 섹션을 참조하세요[의 환불 및 취소 AWS Marketplace](buyer-refunds.md).