Beispiel #1
0
 Task <OneOf <Result <Balance>, Unauthorised, Error> > ITrueLayerApi.GetAccountBalance(string accountId, string accessToken)
 {
     return(Get <Result <Balance> >(accessToken, TrueLayerUris.GetBalanceUrl(accountId)));
 }
Beispiel #2
0
 Task <OneOf <Result <Transaction>, Unauthorised, Error> > ITrueLayerApi.GetAccountTransactions(string accountId, string accessToken)
 {
     return(Get <Result <Transaction> >(accessToken, TrueLayerUris.GetTransactionsUrl(accountId)));
 }