R/lc_CancelTransfer.R

Defines functions lc_CancelTransfer

Documented in lc_CancelTransfer

#' Cancel a scheduled transfer
#'
#' Cancel a scheduled transfer. You can get a listing of
#' scheduled transfers by using the \code{PendingTransfers()}
#' funciton.
#'
#'
#' @param transferId Numeric. Unique ID for the scheduled transfer
#' @inheritParams lc_AccountSummary
#' @export
lc_CancelTransfer<- function(transferId, LC_CRED=NULL){
    LC_CRED<-CheckCred(LC_CRED)

    postURL<- MakeURL(LC_CRED$investorID,"funds/cancel")

    params<- list("transferIds" = list(transferId))

    LC_POST(postURL, params, LC_CRED$key)

}
kuhnrl30/LendingClub documentation built on Jan. 1, 2020, 6:02 p.m.