public function createRecurringPaymentsProfile($data, $token)
    {
        $this->post = $this->setRequestData($data)->merge([
            'TOKEN' => $token,
        ]);

        return $this->doPayPalRequest('CreateRecurringPaymentsProfile');
    }
public function createRecurringPaymentsProfile($data, $token)
    {
        $this->post = $this->setRequestData($data)->merge([
            'TOKEN' => $token,
        ]);

        return $this->doPayPalRequest('CreateRecurringPaymentsProfile');
    }
public function createRecurringPaymentsProfile ( $ data , $ token ) { $ this -> post = $ this -> setRequestData ( $ data ) -> merge ( [ 'TOKEN' => $ token , ] ) ; return $ this -> doPayPalRequest ( 'CreateRecurringPaymentsProfile' ) ; }
Perform a CreateRecurringPaymentsProfile API call on PayPal.

@param array  $data
@param string $token

@throws \Exception

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