public  function getLocalPaymentProvider($param)
    {
        $this->flushState();
        $uri = $this->getUriProvider();
        $hasError = false;
        $isTokenValid = CheckoutApi_Client_Validation_GW3::isSessionToken($param);
        $isValidProvider = CheckoutApi_Client_Validation_GW3::isProvider($param);
        $param['method'] = CheckoutApi_Client_Adapter_Constant::API_GET;
        $delimiter = '/localpayments/';

        if(!$isTokenValid) {
            $hasError = true;
            $this->throwException('Please provide a valid session token',array('param'=>$param));
        }

        if(!$isValidProvider)
        {
            $hasError = true;
            $this->throwException('Please provide a valid provider id',array('param'=>$param));
        }

        if(!$hasError){
            $uri = "{$uri}{$delimiter}{$param['providerId']}?token={$param['token']}";
        }

        return $this->request( $uri ,$param,!$hasError);
    }