public function updateRecurringPaymentsProfile($data, $id)
    {
        $this->post = $this->setRequestData($data)->merge([
            'PROFILEID' => $id,
        ]);

        return $this->doPayPalRequest('UpdateRecurringPaymentsProfile');
    }
public function updateRecurringPaymentsProfile($data, $id)
    {
        $this->post = $this->setRequestData($data)->merge([
            'PROFILEID' => $id,
        ]);

        return $this->doPayPalRequest('UpdateRecurringPaymentsProfile');
    }
public function updateRecurringPaymentsProfile ( $ data , $ id ) { $ this -> post = $ this -> setRequestData ( $ data ) -> merge ( [ 'PROFILEID' => $ id , ] ) ; return $ this -> doPayPalRequest ( 'UpdateRecurringPaymentsProfile' ) ; }
Perform a UpdateRecurringPaymentsProfile API call on PayPal.

@param array  $data
@param string $id

@throws \Exception

@return array|\Psr\Http\Message\StreamInterface
Perform a UpdateRecurringPaymentsProfile API call on PayPal .