import 'package:forestvpn_api/api.dart';
All URIs are relative to https://api.forestvpn.com/v2
Method | HTTP request | Description |
---|---|---|
verifyAppStoreReceipt | POST /purchase/apple/verify/ | App store receipt verification |
verifyAppStoreReceipt(appStoreReceiptVerificationRequest)
App store receipt 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().getAppleApi();
final AppStoreReceiptVerificationRequest appStoreReceiptVerificationRequest = ; // AppStoreReceiptVerificationRequest |
try {
api.verifyAppStoreReceipt(appStoreReceiptVerificationRequest);
} catch on DioError (e) {
print('Exception when calling AppleApi->verifyAppStoreReceipt: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
appStoreReceiptVerificationRequest | AppStoreReceiptVerificationRequest |
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]