PurchasesApi
Import
Import
Constructors
Constructor
-
Parameters
-
Optional configuration: Configuration
-
basePath: string = ...
-
axios: AxiosInstance = ...
Returns PurchasesApi
-
Methods
Make Virtual Purchase
-
Parameters
-
requestParameters: PurchasesApiMakeVirtualPurchaseRequest
Request parameters.
-
Optional options: RawAxiosRequestConfig<any>
Returns Promise<AxiosResponse<PlayerPurchaseVirtualResponse, any>>
-
Redeem Apple App Store Purchase
-
Redeem an Apple App Store purchase for a player.
Parameters
-
requestParameters: PurchasesApiRedeemAppleAppStorePurchaseRequest
Request parameters.
-
Optional options: RawAxiosRequestConfig<any>
Returns Promise<AxiosResponse<PlayerPurchaseAppleappstoreResponse, any>>
-
Redeem Google Play Purchase
-
Redeem a Google Play store purchase for a player.
Parameters
-
requestParameters: PurchasesApiRedeemGooglePlayPurchaseRequest
Request parameters.
-
Optional options: RawAxiosRequestConfig<any>
Returns Promise<AxiosResponse<PlayerPurchaseGoogleplaystoreResponse, any>>
-
Make a virtual purchase for a player.
Make virtual purchase
{RequiredError}
PurchasesApi