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

# PFInventoryGetTransactionHistoryAsync

> Get transaction history for a player. Up to 50 Events can be returned at once (or 250 with response compression enabled). You can use continuation tokens to paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds.

Get transaction history for a player. Up to 50 Events can be returned at once (or 250 with response compression enabled). You can use continuation tokens to paginate through results that return greater than the limit. Getting transaction history has a lower RPS limit than getting a Player's inventory with Player Entities having a limit of 30 requests in 300 seconds.

## Syntax

```cpp theme={null}
HRESULT PFInventoryGetTransactionHistoryAsync(  
    PFEntityHandle entityHandle,  
    const PFInventoryGetTransactionHistoryRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`entityHandle`**   PFEntityHandle

PFEntityHandle to use for authentication.

**`request`**   [PFInventoryGetTransactionHistoryRequest\*](https://docs.xbox.com/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygettransactionhistoryrequest.md)

Populated request object.

**`async`**   XAsyncBlock\*\
*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on Windows, Linux, and macOS. Get transaction history for specified entity and collection. When the asynchronous task is complete, call [PFInventoryGetTransactionHistoryGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/functions/pfinventorygettransactionhistorygetresultsize.md) and [PFInventoryGetTransactionHistoryGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/functions/pfinventorygettransactionhistorygetresult.md) to get the result.

## Requirements

**Header:** PFInventory.h

## See also

[PFInventory members](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/pfinventory_members.md)


## Related topics

- [PFInventoryGetTransactionHistoryGetResult](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/functions/pfinventorygettransactionhistorygetresult.md)
- [Services C API overview - PFInventory.h](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/pfinventory_members.md)
- [PFInventoryGetTransactionHistoryRequest](https://docs.xbox.com/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygettransactionhistoryrequest.md)
- [PFInventoryGetTransactionHistoryGetResultSize](https://docs.xbox.com/services/playfab/api-references/c/pfinventory/functions/pfinventorygettransactionhistorygetresultsize.md)
- [PFInventoryGetTransactionHistoryResponse](https://docs.xbox.com/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygettransactionhistoryresponse.md)
