> ## 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.

# PFInventoryGetTransactionHistoryAsync

> Get transaction history for a player. Up to 250 Events can be returned at once. You can use continuation tokens to paginate through results that return.

Get transaction history for a player. Up to 250 Events can be returned at once. 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\*](/services/playfab/api-references/c/pfinventorytypes/structs/pfinventorygettransactionhistoryrequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

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

## Requirements

**Header:** PFInventory.h

## See also

[PFInventory members](/services/playfab/api-references/c/pfinventory/pfinventory_members)


## Related topics

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