api_ach: RobinHood API: ACH

View source: R/api_ach.R

api_achR Documentation

RobinHood API: ACH

Description

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")


JestonBlu/RobinHood documentation built on Aug. 21, 2023, 7:57 a.m.