import 'package:forestvpn_api/api.dart';
All URIs are relative to https://api.forestvpn.com/v2
Method | HTTP request | Description |
---|---|---|
verifyPlayStorePurchase | POST /purchase/google/verify/ | Play store purchase verification |
verifyPlayStorePurchase(playStorePurchaseVerificationRequest)
Play store purchase verification
import 'package:forestvpn_api/api.dart';
// TODO Configure HTTP basic authorization: bearerAuth
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('bearerAuth').password = 'YOUR_PASSWORD';
final api = ForestvpnApi().getGoogleApi();
final PlayStorePurchaseVerificationRequest playStorePurchaseVerificationRequest = ; // PlayStorePurchaseVerificationRequest |
try {
api.verifyPlayStorePurchase(playStorePurchaseVerificationRequest);
} catch on DioError (e) {
print('Exception when calling GoogleApi->verifyPlayStorePurchase: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
playStorePurchaseVerificationRequest | PlayStorePurchaseVerificationRequest |
void (empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]