/** * Verifies a webhook signature. * * @param ApiContext $apiContext is the APIContext for this call. It can be used to pass dynamic configuration and credentials. * @param PayPalRestCall $restCall is the Rest Call Service that is used to make rest calls * @return VerifyWebhookSignatureResponse */ public function post($apiContext = null, $restCall = null) { $payLoad = $this->toJSON(); $json = self::executeCall("/v1/notifications/verify-webhook-signature", "POST", $payLoad, null, $apiContext, $restCall); $ret = new VerifyWebhookSignatureResponse(); $ret->fromJson($json); return $ret; }