Interface AccountService.WithRawResponse
-
- All Implemented Interfaces:
public interface AccountService.WithRawResponseA view of AccountService that provides access to raw HTTP responses for each method.
-
-
Method Summary
-
-
Method Detail
-
withOptions
abstract AccountService.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 WalletService.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 OrderService.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 OrderFulfillmentService.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 OrderRequestService.WithRawResponse orderRequests()
-
withdrawalRequests
abstract WithdrawalRequestService.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 WithdrawalService.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 TokenTransferService.WithRawResponse tokenTransfers()
Accountsrepresent the financial accounts of anEntity.Orders, dividends, and other transactions are associated with anAccount.
-
activities
abstract ActivityService.WithRawResponse activities()
Accountsrepresent the financial accounts of anEntity.Orders, dividends, and other transactions are associated with anAccount.
-
retrieve
@MustBeClosed() HttpResponseFor<Account> retrieve(String accountId)
Returns a raw HTTP response for
get /api/v2/accounts/{account_id}, but is otherwise the same as AccountService.retrieve.
-
retrieve
@MustBeClosed() HttpResponseFor<Account> retrieve(String accountId, AccountRetrieveParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<Account> retrieve(String accountId, AccountRetrieveParams params)
-
retrieve
@MustBeClosed() abstract HttpResponseFor<Account> retrieve(AccountRetrieveParams params, RequestOptions requestOptions)
-
retrieve
@MustBeClosed() HttpResponseFor<Account> retrieve(AccountRetrieveParams params)
-
retrieve
@MustBeClosed() HttpResponseFor<Account> retrieve(String accountId, RequestOptions requestOptions)
-
deactivate
@MustBeClosed() HttpResponseFor<Account> deactivate(String accountId)
Returns a raw HTTP response for
post /api/v2/accounts/{account_id}/deactivate, but is otherwise the same as AccountService.deactivate.
-
deactivate
@MustBeClosed() HttpResponseFor<Account> deactivate(String accountId, AccountDeactivateParams params, RequestOptions requestOptions)
-
deactivate
@MustBeClosed() HttpResponseFor<Account> deactivate(String accountId, AccountDeactivateParams params)
-
deactivate
@MustBeClosed() abstract HttpResponseFor<Account> deactivate(AccountDeactivateParams params, RequestOptions requestOptions)
-
deactivate
@MustBeClosed() HttpResponseFor<Account> deactivate(AccountDeactivateParams params)
-
deactivate
@MustBeClosed() HttpResponseFor<Account> deactivate(String accountId, RequestOptions requestOptions)
-
getCashBalances
@MustBeClosed() 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 AccountService.getCashBalances.
-
getCashBalances
@MustBeClosed() HttpResponseFor<List<AccountGetCashBalancesResponse>> getCashBalances(String accountId, AccountGetCashBalancesParams params, RequestOptions requestOptions)
-
getCashBalances
@MustBeClosed() HttpResponseFor<List<AccountGetCashBalancesResponse>> getCashBalances(String accountId, AccountGetCashBalancesParams params)
-
getCashBalances
@MustBeClosed() abstract HttpResponseFor<List<AccountGetCashBalancesResponse>> getCashBalances(AccountGetCashBalancesParams params, RequestOptions requestOptions)
-
getCashBalances
@MustBeClosed() HttpResponseFor<List<AccountGetCashBalancesResponse>> getCashBalances(AccountGetCashBalancesParams params)
-
getCashBalances
@MustBeClosed() HttpResponseFor<List<AccountGetCashBalancesResponse>> getCashBalances(String accountId, RequestOptions requestOptions)
-
getDividendPayments
@MustBeClosed() 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 AccountService.getDividendPayments.
-
getDividendPayments
@MustBeClosed() HttpResponseFor<List<AccountGetDividendPaymentsResponse>> getDividendPayments(String accountId, AccountGetDividendPaymentsParams params, RequestOptions requestOptions)
-
getDividendPayments
@MustBeClosed() HttpResponseFor<List<AccountGetDividendPaymentsResponse>> getDividendPayments(AccountGetDividendPaymentsParams params)
-
getDividendPayments
@MustBeClosed() abstract HttpResponseFor<List<AccountGetDividendPaymentsResponse>> getDividendPayments(AccountGetDividendPaymentsParams params, RequestOptions requestOptions)
-
getInterestPayments
@MustBeClosed() 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 AccountService.getInterestPayments.
-
getInterestPayments
@MustBeClosed() HttpResponseFor<List<AccountGetInterestPaymentsResponse>> getInterestPayments(String accountId, AccountGetInterestPaymentsParams params, RequestOptions requestOptions)
-
getInterestPayments
@MustBeClosed() HttpResponseFor<List<AccountGetInterestPaymentsResponse>> getInterestPayments(AccountGetInterestPaymentsParams params)
-
getInterestPayments
@MustBeClosed() abstract HttpResponseFor<List<AccountGetInterestPaymentsResponse>> getInterestPayments(AccountGetInterestPaymentsParams params, RequestOptions requestOptions)
-
getPortfolio
@MustBeClosed() HttpResponseFor<AccountGetPortfolioResponse> getPortfolio(String accountId)
Returns a raw HTTP response for
get /api/v2/accounts/{account_id}/portfolio, but is otherwise the same as AccountService.getPortfolio.
-
getPortfolio
@MustBeClosed() HttpResponseFor<AccountGetPortfolioResponse> getPortfolio(String accountId, AccountGetPortfolioParams params, RequestOptions requestOptions)
-
getPortfolio
@MustBeClosed() HttpResponseFor<AccountGetPortfolioResponse> getPortfolio(String accountId, AccountGetPortfolioParams params)
-
getPortfolio
@MustBeClosed() abstract HttpResponseFor<AccountGetPortfolioResponse> getPortfolio(AccountGetPortfolioParams params, RequestOptions requestOptions)
-
getPortfolio
@MustBeClosed() HttpResponseFor<AccountGetPortfolioResponse> getPortfolio(AccountGetPortfolioParams params)
-
getPortfolio
@MustBeClosed() HttpResponseFor<AccountGetPortfolioResponse> getPortfolio(String accountId, RequestOptions requestOptions)
-
mintSandboxTokens
@MustBeClosed() HttpResponse mintSandboxTokens(String accountId)
Returns a raw HTTP response for
post /api/v2/accounts/{account_id}/faucet, but is otherwise the same as AccountService.mintSandboxTokens.
-
mintSandboxTokens
@MustBeClosed() HttpResponse mintSandboxTokens(String accountId, AccountMintSandboxTokensParams params, RequestOptions requestOptions)
-
mintSandboxTokens
@MustBeClosed() HttpResponse mintSandboxTokens(String accountId, AccountMintSandboxTokensParams params)
-
mintSandboxTokens
@MustBeClosed() abstract HttpResponse mintSandboxTokens(AccountMintSandboxTokensParams params, RequestOptions requestOptions)
-
mintSandboxTokens
@MustBeClosed() HttpResponse mintSandboxTokens(AccountMintSandboxTokensParams params)
-
mintSandboxTokens
@MustBeClosed() HttpResponse mintSandboxTokens(String accountId, RequestOptions requestOptions)
-
-
-
-