get_transaction {charlesschwabapi}R Documentation

Get Specific Transaction Information

Description

Given the tokens object from the 'get_authentication_tokens' function, the encrypted account ID of interest, and the transaction ID of interest, return information corresponding to that transaction. Note that the transaction ID can be obtained by first calling the 'get_transactions' function, finding the transaction of interest, and then finding the transaction ID on that data frame.

Usage

get_transaction(tokens, account_number, transaction_id)

Arguments

tokens

token object from 'get_authentication_tokens' function (list).

account_number

encrypted ID of the account (string).

transaction_id

transaction ID of interest (numeric).

Value

Returns a data frame containing the transaction information.

Author(s)

Nick Bultman, njbultman74@gmail.com, July 2024


[Package charlesschwabapi version 1.0.2 Index]