AccountsApi

interface AccountsApi

Functions

getAccounts
Link copied to clipboard
@GET(value = v1/accounts/list)
abstract fun getAccounts(): Call<AccountListResponse>
getBalance
Link copied to clipboard
@GET(value = /v1/accounts/{accountIdKey}/balance?instType=BROKERAGE&realTimeNAV=true)
abstract fun getBalance(@Path(value = accountIdKeyaccountIdKey: String): Call<BalanceResponse>
getTransaction
Link copied to clipboard
@GET(value = /v1/accounts/{accountIdKey}/transactions/{transactionId})
abstract fun getTransaction(@Path(value = accountIdKeyaccountIdKey: String, @Path(value = transactionIdtransactionId: String): Call<TransactionDetailsResponse>
listTransactions
Link copied to clipboard
@GET(value = /v1/accounts/{accountIdKey}/transactions)
abstract fun listTransactions(@Path(value = accountIdKeyaccountIdKey: String, @QueryMap() options: Map<String, String>): Call<TransactionListResponse>
viewPortfolio
Link copied to clipboard
@GET(value = /v1/accounts/{accountIdKey}/portfolio)
abstract fun viewPortfolio(@Path(value = accountIdKeyaccountIdKey: String, @QueryMap() options: Map<String, String>): Call<PortfolioResponse>

Sources

jvm source
Link copied to clipboard