All URIs are relative to https://api.forestvpn.com/v2
Method | HTTP request | Description |
---|---|---|
verifyPlayStorePurchase | POST /purchase/google/verify/ | Play store purchase verification |
open class func verifyPlayStorePurchase(playStorePurchaseVerificationRequest: PlayStorePurchaseVerificationRequest, completion: @escaping (_ data: Void?, _ error: Error?) -> Void)
Play store purchase verification
// The following code samples are still beta. For any issue, please report via http://github.com/OpenAPITools/openapi-generator/issues/new
import ForestVPNAPI
let playStorePurchaseVerificationRequest = PlayStorePurchaseVerificationRequest(productSku: "productSku_example", purchaseToken: "purchaseToken_example") // PlayStorePurchaseVerificationRequest |
// Play store purchase verification
GoogleAPI.verifyPlayStorePurchase(playStorePurchaseVerificationRequest: playStorePurchaseVerificationRequest) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
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]