lib/mercadopago.php
public function refund_payment($id) {
        $request = array(
            "uri" => "/v1/payments/{$id}/refunds",
            "params" => array(
                "access_token" => $this->get_access_token()
            )
        );

        $response = MPRestClient::post($request);
        return $response;
    }
public function refund_payment($id) {
        $request = array(
            "uri" => "/v1/payments/{$id}/refunds",
            "params" => array(
                "access_token" => $this->get_access_token()
            )
        );

        $response = MPRestClient::post($request);
        return $response;
    }
public function refund_payment ( $ id ) { $ request = array ( "uri" => "/v1/payments/{$id}/refunds" , "params" => array ( "access_token" => $ this -> get_access_token ( ) ) ) ; $ response = MPRestClient :: post ( $ request ) ; return $ response ; }
Refund accredited payment
@param int $id
@return array(json)
Refund accredited payment