requestCollection('get', '/v1/radar/early_fraud_warnings', $params, $opts); } /** * Retrieves the details of an early fraud warning that has previously been * created. * * Please refer to the early fraud * warning object reference for more details. * * @param string $id * @param null|array $params * @param null|array|\Stripe\Util\RequestOptions $opts * * @throws \Stripe\Exception\ApiErrorException if the request fails * * @return \Stripe\Radar\EarlyFraudWarning */ public function retrieve($id, $params = null, $opts = null) { return $this->request('get', $this->buildPath('/v1/radar/early_fraud_warnings/%s', $id), $params, $opts); } }