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

        $preapproval_payment_result = MPRestClient::get($request);
        return $preapproval_payment_result;
    }
public function get_preapproval_payment($id) {
        $request = array(
            "uri" => "/preapproval/{$id}",
            "params" => array(
                "access_token" => $this->get_access_token()
            )
        );

        $preapproval_payment_result = MPRestClient::get($request);
        return $preapproval_payment_result;
    }
public function get_preapproval_payment ( $ id ) { $ request = array ( "uri" => "/preapproval/{$id}" , "params" => array ( "access_token" => $ this -> get_access_token ( ) ) ) ; $ preapproval_payment_result = MPRestClient :: get ( $ request ) ; return $ preapproval_payment_result ; }
Get a preapproval payment
@param string $id
@return array(json)
Get a preapproval payment