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 classes:
//import com.forestvpn.api.client.infrastructure.*
//import com.forestvpn.api.client.models.*
val apiInstance = AppleForestVPNAPI()
val appStoreReceiptVerificationRequest : AppStoreReceiptVerificationRequest = // AppStoreReceiptVerificationRequest |
try {
apiInstance.verifyAppStoreReceipt(appStoreReceiptVerificationRequest)
} catch (e: ClientException) {
println("4xx response calling AppleForestVPNAPI#verifyAppStoreReceipt")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling AppleForestVPNAPI#verifyAppStoreReceipt")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
appStoreReceiptVerificationRequest | AppStoreReceiptVerificationRequest |
null (empty response body)
Configure bearerAuth: ApiClient.accessToken = ""
- Content-Type: application/json
- Accept: application/json