/**
  * Ejecuta una devolución de un pago por web service
  * @param int $idpayuser Id del usuario en PAYTPV
  * @param string $tokenpayuser Token del usuario en PAYTPV
  * @param string $transreference Identificador único del pago
  * @param string $currency Identificador de la moneda de la operación
  * @param string $authcode AuthCode de la operación original a devolver
  * @param string $amount Importe del pago 1€ = 100
  * @return object Objeto de respuesta de la operación
  * @version 2.0 2016-06-02
  */
 public function ExecuteRefund($idpayuser, $tokenpayuser, $transreference, $currency, $authcode, $amount = NULL)
 {
     $signature = sha1($this->merchantCode . $idpayuser . $tokenpayuser . $this->terminal . $authcode . $transreference . $this->password);
     $ip = $_SERVER['REMOTE_ADDR'];
     try {
         $clientSOAP = new SoapClient($this->endpoint);
         $ans = $clientSOAP->execute_refund($this->merchantCode, $this->terminal, $idpayuser, $tokenpayuser, $authcode, $transreference, $currency, $signature, $ip, $amount);
     } catch (SoapFault $e) {
         return $this->SendResponse();
     }
     return $this->SendResponse($ans);
 }