Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 1.56 KB

GoogleForestVPNAPI.md

File metadata and controls

55 lines (38 loc) · 1.56 KB

GoogleForestVPNAPI

All URIs are relative to https://api.forestvpn.com/v2

Method HTTP request Description
verifyPlayStorePurchase POST /purchase/google/verify/ Play store purchase verification

verifyPlayStorePurchase

verifyPlayStorePurchase(playStorePurchaseVerificationRequest)

Play store purchase verification

Example

// Import classes:
//import com.forestvpn.api.client.infrastructure.*
//import com.forestvpn.api.client.models.*

val apiInstance = GoogleForestVPNAPI()
val playStorePurchaseVerificationRequest : PlayStorePurchaseVerificationRequest =  // PlayStorePurchaseVerificationRequest | 
try {
    apiInstance.verifyPlayStorePurchase(playStorePurchaseVerificationRequest)
} catch (e: ClientException) {
    println("4xx response calling GoogleForestVPNAPI#verifyPlayStorePurchase")
    e.printStackTrace()
} catch (e: ServerException) {
    println("5xx response calling GoogleForestVPNAPI#verifyPlayStorePurchase")
    e.printStackTrace()
}

Parameters

Name Type Description Notes
playStorePurchaseVerificationRequest PlayStorePurchaseVerificationRequest

Return type

null (empty response body)

Authorization

Configure bearerAuth: ApiClient.accessToken = ""

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json