All URIs are relative to https://api.forestvpn.com/v2
Method | HTTP request | Description |
---|---|---|
verifyAppStoreReceipt | POST /purchase/apple/verify/ | App store receipt verification |
open class func verifyAppStoreReceipt(appStoreReceiptVerificationRequest: AppStoreReceiptVerificationRequest, completion: @escaping (_ data: Void?, _ error: Error?) -> Void)
App store receipt 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 appStoreReceiptVerificationRequest = AppStoreReceiptVerificationRequest(receipt: 123, price: 123, currency: "currency_example") // AppStoreReceiptVerificationRequest |
// App store receipt verification
AppleAPI.verifyAppStoreReceipt(appStoreReceiptVerificationRequest: appStoreReceiptVerificationRequest) { (response, error) in
guard error == nil else {
print(error)
return
}
if (response) {
dump(response)
}
}
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]