Backend function for interacting and getting data on linked bank accounts.
Usage
api_ach(
RH,
action,
amount = NULL,
status_url = NULL,
cancel_url = NULL,
transfer_url = NULL
)
Arguments
- RH
object of class RobinHood
- action
(string) one of "transfers", "relationships", "schedules", "status", "cancel", "deposit", "withdraw"
- amount
(numeric) amount in dollars you want to deposit or withdraw (NULL if not one of those actions)
- status_url
(string) URL returned by place_ach_transfer()
- cancel_url
(string) URL returned by place_ach_transfer()
- transfer_url
(string) url of your linked account, output of get_ach(RH, "relationships")