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

# purchase.mp.microsoft.com/v8.0/b2b/clawback/sastoken

> 게임 서비스의 Clawback 이벤트 메시지 큐를 읽기 위한 Azure Storage SAS 토큰을 생성하는 Microsoft Store v8 clawback SAS 토큰 엔드포인트입니다.

이 엔드포인트는 Clawback 이벤트 메시지 큐를 인증하고 액세스하기 위한 [SAS 토큰](https://learn.microsoft.com/azure/storage/common/storage-sas-overview)을 생성합니다.
Clawback 이벤트 메시지 큐에 대한 자세한 내용은 [서비스에서 환불 및 지불 거절 관리](/ko/publishing/xstore-commerce/xstore-managing-refunds.md)를 참조하세요.

## 필수 구성 요소

[서비스 간 API의 필수 구성 요소](/ko/publishing/xstore-commerce/xstore-authenticating-service.md)를 검토하세요.

이 API를 사용하려면 Developer Partner Manager 또는 Microsoft 담당자의 도움을 받아 온보딩 프로세스를 거쳐야 합니다.
온보딩 프로세스에 대한 자세한 내용은 [필수 설정/온보딩 요청](/ko/publishing/xstore-commerce/xstore-managing-refunds.md#required-setup--onboarding-request)을 참조하세요.

## 요청

### 요청 구문

| 메서드 | 요청 URI |
| - | - |
| `GET` | `purchase.mp.microsoft.com/v8.0/b2b/clawback/sastoken` |

### 요청 헤더

| 헤더 | 형식 | 설명 |
| - | - | - |
| `Authorization` | `string` | 필수입니다. `Bearer` \<*token*> 형식의 Microsoft Entra ID 서비스 액세스 토큰입니다. [Microsoft Entra ID 액세스 토큰 만들기](/ko/publishing/xstore-commerce/xstore-requesting-userstoreid.md#step-3-creating-microsoft-entra-id-access-tokens)를 참조하세요. |
| `Host` | `string` | `purchase.mp.microsoft.com` 값으로 설정해야 합니다. |

### 요청 예제

```html theme={null}
GET https://purchase.mp.microsoft.com/v8.0/b2b/clawback/sastoken HTTP/1.1
Host: purchase.mp.microsoft.com
Authorization: Bearer [Microsoft Entra ID bearer token]
```

## 응답

### 응답 본문

응답 본문은 다음 값을 포함하는 JSON입니다.

| 매개 변수 | 형식 | 설명 | 필수 |
| - | - | - | - |
| `expiresOn` | `DateTime` | SAS 토큰이 만료되는 UTC 날짜 및 시간 | 예 |
| `uri` | `string` | Clawback 메시지 큐에 액세스하기 위해 Storage 리소스 URI와 [SAS 토큰](https://learn.microsoft.com/azure/storage/common/storage-sas-overview)을 결합한 값입니다. | 예 |

### 응답 예제

```json theme={null}

HTTP/1.1 200 OK
Date: Thu, 08 Dec 2022 20:13:46 GMT
Content-Length: 243
Content-Type: application/json; charset=utf-8
ms-correlationid: 70e6f659-ceee-4050-bdf3-56ea3beefe23
ms-requestid: 8c80d7ff-73e2-4a5c-9aca-79059fbc1beb
ms-cv: tRscYtHLJHps.0
x-content-type-options: nosniff

{
    "expiresOn":"2022-12-09T02:13Z",
    "uri":"https://uluufeofsxh2k.queue.core.windows.net:443/gxhxcvb32lnk4?sv=2021-10-04&spr=https&st=2022-12-08T20%3A13%3A46Z&se=2022-12-09T02%3A13%3A46Z&sp=rp&sig=OneHfX99E820avICZvXJUF14IyDuv2BrvY0kj%2Ftxc70%3D"
}

```

## SAS 토큰을 사용하여 Clawback 이벤트 메시지 큐에 액세스

`uri` 매개 변수를 얻으면 큐 메시지에 액세스할 수 있습니다.
자세한 내용은 [큐에서 Clawback 메시지 처리](/ko/publishing/xstore-commerce/xstore-managing-refunds.md#processing-clawback-messages-from-the-queue)를 참조하세요.

## 관련 문서

[서비스에서 환불 및 지불 거절 관리](/ko/publishing/xstore-commerce/xstore-managing-refunds.md)

[서비스에서 소모성 제품 관리](/ko/publishing/xstore-commerce/xstore-managing-consumables.md)

[서비스에서 제품 관리](/ko/publishing/xstore-commerce/xstore-authenticating-service.md)

[Microsoft Store API를 사용하여 서비스 인증](/ko/publishing/xstore-commerce/xstore-authenticating-service.md)

[Azure Queue Storage REST API](https://learn.microsoft.com/rest/api/storageservices/queue-service-rest-api)

[.NET을 사용하는 Azure Queue Storage](https://learn.microsoft.com/azure/storage/queues/storage-dotnet-how-to-use-queues?tabs=dotnet)


## Related topics

- [Microsoft Store 서비스 API (콘텐츠)](/ko/reference/microsoft-store-apis/xstore-nav.md)
- [서비스에서 소모품 제품 관리](/ko/publishing/xstore-commerce/xstore-managing-consumables.md)
- [purchase.mp.microsoft.com/v8.0/b2b/orders/query](/ko/reference/microsoft-store-apis/xstore-v8-clawbackv1.md)
- [collections.mp.microsoft.com/v8.0/collections/b2bLicensePreview](/ko/reference/microsoft-store-apis/xstore-v8-query-for-products.md)
- [서비스에서 구독 제품 관리](/ko/publishing/xstore-commerce/xstore-managing-subscriptions.md)
