public function doReferenceTransaction($transaction, $action, $amount = 0.00)
    {
        $this->setRequestData([
            'REFERENCEID'   => $transaction,
            'PAYMENTACTION' => $action,
            'AMT'           => $amount,
        ]);

        return $this->doPayPalRequest('DoReferenceTransaction');
    }
public function doReferenceTransaction($transaction, $action, $amount = 0.00)
    {
        $this->setRequestData([
            'REFERENCEID'   => $transaction,
            'PAYMENTACTION' => $action,
            'AMT'           => $amount,
        ]);

        return $this->doPayPalRequest('DoReferenceTransaction');
    }
public function doReferenceTransaction ( $ transaction , $ action , $ amount = 0.00 ) { $ this -> setRequestData ( [ 'REFERENCEID' => $ transaction , 'PAYMENTACTION' => $ action , 'AMT' => $ amount , ] ) ; return $ this -> doPayPalRequest ( 'DoReferenceTransaction' ) ; }
Perform a DoReferenceTransaction API operation on PayPal.

@param string $transaction
@param string $action
@param float  $amount

@return array
Perform a DoReferenceTransaction API operation on PayPal .