Interface AccountServiceAsync.WithRawResponse
-
- All Implemented Interfaces:
public interface AccountServiceAsync.WithRawResponseA view of AccountServiceAsync that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract AccountServiceAsync.WithRawResponse withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
wallet
abstract WalletServiceAsync.WithRawResponse wallet()
Walletsrepresent the blockchain wallet that holds the assets of anAccount.An
Accountmay be connected to a singleWallet.Individual
Entitiescan connect their self-custodiedWalletsby proving ownership of theWalletaddress. For Dinari Partners, a Dinari-managedWalletcan be created for the PartnerEntityin the Dinari Partners Portal. This may be used in omnibus accounting for self-managing customers' assets.
-
orders
abstract OrderServiceAsync.WithRawResponse orders()
Ordersrepresent the buying and selling of assets under anAccount.For
Accountsusing self-custodiedWallets,Ordersare created and fulfilled by making calls to Dinari's smart contracts, or using the Proxied Orders methods.For
Accountsusing managedWallets,Ordersare created and fulfilled by using theManaged Ordersmethods, which then create the corresponding transactions on the blockchain.
-
orderFulfillments
abstract OrderFulfillmentServiceAsync.WithRawResponse orderFulfillments()
Ordersrepresent the buying and selling of assets under anAccount.For
Accountsusing self-custodiedWallets,Ordersare created and fulfilled by making calls to Dinari's smart contracts, or using the Proxied Orders methods.For
Accountsusing managedWallets,Ordersare created and fulfilled by using theManaged Ordersmethods, which then create the corresponding transactions on the blockchain.
-
orderRequests
abstract OrderRequestServiceAsync.WithRawResponse orderRequests()
-
withdrawalRequests
abstract WithdrawalRequestServiceAsync.WithRawResponse withdrawalRequests()
Withdrawalsrepresent the transfer of stablecoins from anAccountconnected to a managedWalletto anotherAccountthat is owned by theEntity.Since the
Accountis backed by a managedWallet, theWithdrawalmust be processed by Dinari and the corresponding transaction is submitted on chain.Upon requesting a withdrawal, a
WithdrawalRequestis created, which is then submitted on chain by Dinari. Once the transfer is submitted on chain, the correspondingWithdrawalis created.Currently, withdrawals are made in USDC on the Arbitrum network (Chain ID
eip155:42161).
-
withdrawals
abstract WithdrawalServiceAsync.WithRawResponse withdrawals()
Withdrawalsrepresent the transfer of stablecoins from anAccountconnected to a managedWalletto anotherAccountthat is owned by theEntity.Since the
Accountis backed by a managedWallet, theWithdrawalmust be processed by Dinari and the corresponding transaction is submitted on chain.Upon requesting a withdrawal, a
WithdrawalRequestis created, which is then submitted on chain by Dinari. Once the transfer is submitted on chain, the correspondingWithdrawalis created.Currently, withdrawals are made in USDC on the Arbitrum network (Chain ID
eip155:42161).
-
tokenTransfers
abstract TokenTransferServiceAsync.WithRawResponse tokenTransfers()
Accountsrepresent the financial accounts of anEntity.Orders, dividends, and other transactions are associated with anAccount.
-
activities
abstract ActivityServiceAsync.WithRawResponse activities()
Accountsrepresent the financial accounts of anEntity.Orders, dividends, and other transactions are associated with anAccount.
-
retrieve
CompletableFuture<HttpResponseFor<Account>> retrieve(String accountId)
Returns a raw HTTP response for
get /api/v2/accounts/{account_id}, but is otherwise the same as AccountServiceAsync.retrieve.
-
retrieve
CompletableFuture<HttpResponseFor<Account>> retrieve(String accountId, AccountRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<Account>> retrieve(String accountId, AccountRetrieveParams params)
-
retrieve
abstract CompletableFuture<HttpResponseFor<Account>> retrieve(AccountRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<HttpResponseFor<Account>> retrieve(AccountRetrieveParams params)
-
retrieve
CompletableFuture<HttpResponseFor<Account>> retrieve(String accountId, RequestOptions requestOptions)
-
deactivate
CompletableFuture<HttpResponseFor<Account>> deactivate(String accountId)
Returns a raw HTTP response for
post /api/v2/accounts/{account_id}/deactivate, but is otherwise the same as AccountServiceAsync.deactivate.
-
deactivate
CompletableFuture<HttpResponseFor<Account>> deactivate(String accountId, AccountDeactivateParams params, RequestOptions requestOptions)
-
deactivate
CompletableFuture<HttpResponseFor<Account>> deactivate(String accountId, AccountDeactivateParams params)
-
deactivate
abstract CompletableFuture<HttpResponseFor<Account>> deactivate(AccountDeactivateParams params, RequestOptions requestOptions)
-
deactivate
CompletableFuture<HttpResponseFor<Account>> deactivate(AccountDeactivateParams params)
-
deactivate
CompletableFuture<HttpResponseFor<Account>> deactivate(String accountId, RequestOptions requestOptions)
-
getCashBalances
CompletableFuture<HttpResponseFor<List<AccountGetCashBalancesResponse>>> getCashBalances(String accountId)
Returns a raw HTTP response for
get /api/v2/accounts/{account_id}/cash, but is otherwise the same as AccountServiceAsync.getCashBalances.
-
getCashBalances
CompletableFuture<HttpResponseFor<List<AccountGetCashBalancesResponse>>> getCashBalances(String accountId, AccountGetCashBalancesParams params, RequestOptions requestOptions)
-
getCashBalances
CompletableFuture<HttpResponseFor<List<AccountGetCashBalancesResponse>>> getCashBalances(String accountId, AccountGetCashBalancesParams params)
-
getCashBalances
abstract CompletableFuture<HttpResponseFor<List<AccountGetCashBalancesResponse>>> getCashBalances(AccountGetCashBalancesParams params, RequestOptions requestOptions)
-
getCashBalances
CompletableFuture<HttpResponseFor<List<AccountGetCashBalancesResponse>>> getCashBalances(AccountGetCashBalancesParams params)
-
getCashBalances
CompletableFuture<HttpResponseFor<List<AccountGetCashBalancesResponse>>> getCashBalances(String accountId, RequestOptions requestOptions)
-
getDividendPayments
CompletableFuture<HttpResponseFor<List<AccountGetDividendPaymentsResponse>>> getDividendPayments(String accountId, AccountGetDividendPaymentsParams params)
Returns a raw HTTP response for
get /api/v2/accounts/{account_id}/dividend_payments, but is otherwise the same as AccountServiceAsync.getDividendPayments.
-
getDividendPayments
CompletableFuture<HttpResponseFor<List<AccountGetDividendPaymentsResponse>>> getDividendPayments(String accountId, AccountGetDividendPaymentsParams params, RequestOptions requestOptions)
-
getDividendPayments
CompletableFuture<HttpResponseFor<List<AccountGetDividendPaymentsResponse>>> getDividendPayments(AccountGetDividendPaymentsParams params)
-
getDividendPayments
abstract CompletableFuture<HttpResponseFor<List<AccountGetDividendPaymentsResponse>>> getDividendPayments(AccountGetDividendPaymentsParams params, RequestOptions requestOptions)
-
getInterestPayments
CompletableFuture<HttpResponseFor<List<AccountGetInterestPaymentsResponse>>> getInterestPayments(String accountId, AccountGetInterestPaymentsParams params)
Returns a raw HTTP response for
get /api/v2/accounts/{account_id}/interest_payments, but is otherwise the same as AccountServiceAsync.getInterestPayments.
-
getInterestPayments
CompletableFuture<HttpResponseFor<List<AccountGetInterestPaymentsResponse>>> getInterestPayments(String accountId, AccountGetInterestPaymentsParams params, RequestOptions requestOptions)
-
getInterestPayments
CompletableFuture<HttpResponseFor<List<AccountGetInterestPaymentsResponse>>> getInterestPayments(AccountGetInterestPaymentsParams params)
-
getInterestPayments
abstract CompletableFuture<HttpResponseFor<List<AccountGetInterestPaymentsResponse>>> getInterestPayments(AccountGetInterestPaymentsParams params, RequestOptions requestOptions)
-
getPortfolio
CompletableFuture<HttpResponseFor<AccountGetPortfolioResponse>> getPortfolio(String accountId)
Returns a raw HTTP response for
get /api/v2/accounts/{account_id}/portfolio, but is otherwise the same as AccountServiceAsync.getPortfolio.
-
getPortfolio
CompletableFuture<HttpResponseFor<AccountGetPortfolioResponse>> getPortfolio(String accountId, AccountGetPortfolioParams params, RequestOptions requestOptions)
-
getPortfolio
CompletableFuture<HttpResponseFor<AccountGetPortfolioResponse>> getPortfolio(String accountId, AccountGetPortfolioParams params)
-
getPortfolio
abstract CompletableFuture<HttpResponseFor<AccountGetPortfolioResponse>> getPortfolio(AccountGetPortfolioParams params, RequestOptions requestOptions)
-
getPortfolio
CompletableFuture<HttpResponseFor<AccountGetPortfolioResponse>> getPortfolio(AccountGetPortfolioParams params)
-
getPortfolio
CompletableFuture<HttpResponseFor<AccountGetPortfolioResponse>> getPortfolio(String accountId, RequestOptions requestOptions)
-
mintSandboxTokens
CompletableFuture<HttpResponse> mintSandboxTokens(String accountId)
Returns a raw HTTP response for
post /api/v2/accounts/{account_id}/faucet, but is otherwise the same as AccountServiceAsync.mintSandboxTokens.
-
mintSandboxTokens
CompletableFuture<HttpResponse> mintSandboxTokens(String accountId, AccountMintSandboxTokensParams params, RequestOptions requestOptions)
-
mintSandboxTokens
CompletableFuture<HttpResponse> mintSandboxTokens(String accountId, AccountMintSandboxTokensParams params)
-
mintSandboxTokens
abstract CompletableFuture<HttpResponse> mintSandboxTokens(AccountMintSandboxTokensParams params, RequestOptions requestOptions)
-
mintSandboxTokens
CompletableFuture<HttpResponse> mintSandboxTokens(AccountMintSandboxTokensParams params)
-
mintSandboxTokens
CompletableFuture<HttpResponse> mintSandboxTokens(String accountId, RequestOptions requestOptions)
-
-
-
-