public function getTransactionDetail($transaction_id){
        $url = $this->authenticationService->getServerEndPoint() . Endpoints::VERSION . Endpoints::BASE_WALLET . Endpoints::WALLET_TRANSACTION;
        $url = sprintf($url,$transaction_id);
        $result = $this->authenticationService->getTransport()->fetch($url);

        if($result["code"] == APIResponse::RESPONSE_SUCCESS){
            // Wrap it in a array since maskData takes an Array of Array
            $maskWrapper = array($result['results']);
            $this->maskData($maskWrapper);
            return $maskWrapper[0];
        }else{
            return 0;
        }
    }
public function getTransactionDetail($transaction_id){
        $url = $this->authenticationService->getServerEndPoint() . Endpoints::VERSION . Endpoints::BASE_WALLET . Endpoints::WALLET_TRANSACTION;
        $url = sprintf($url,$transaction_id);
        $result = $this->authenticationService->getTransport()->fetch($url);

        if($result["code"] == APIResponse::RESPONSE_SUCCESS){
            // Wrap it in a array since maskData takes an Array of Array
            $maskWrapper = array($result['results']);
            $this->maskData($maskWrapper);
            return $maskWrapper[0];
        }else{
            return 0;
        }
    }
public function getTransactionDetail ( $ transaction_id ) { $ url = $ this -> authenticationService -> getServerEndPoint ( ) . Endpoints :: VERSION . Endpoints :: BASE_WALLET . Endpoints :: WALLET_TRANSACTION ; $ url = sprintf ( $ url , $ transaction_id ) ; $ result = $ this -> authenticationService -> getTransport ( ) -> fetch ( $ url ) ; if ( $ result [ "code" ] == APIResponse :: RESPONSE_SUCCESS ) { // Wrap it in a array since maskData takes an Array of Array $ maskWrapper = array ( $ result [ 'results' ] ) ; $ this -> maskData ( $ maskWrapper ) ; return $ maskWrapper [ 0 ] ; } else { return 0 ; } }
Get details about a particular transaction
@param $transaction_id
@return array
@throws Exception
@throws InvalidArgumentException
Get details about a particular transaction