Acquiring user purchases on the client

Hey, Nakama specialists!

In a nutshell, there is a user account in Nakama and the server can access it. Say, admin can open Nakama Dashboard and take a look at storages, wallet and specifically, purchases. In the purchases section he can check if the user has any transactions completed.

As part of game related mechanics on the client side I need to know if some productId has been purchased from the store (android, ios) or not. In other words, how can I access user purchases on the client side? IApiAccount and IApiUser seem to have this information missing.

Cheers!

Hi @igorshostak,

Nakama provides purchase listing as a runtime function.
We’d also suggest that on purchase validation, you update the user’s metadata/wallet/storage with the item the user just purchased.