Interface WithdrawalServiceAsync
-
- All Implemented Interfaces:
public interface WithdrawalServiceAsyncWithdrawalsrepresent 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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceWithdrawalServiceAsync.WithRawResponseA view of WithdrawalServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract WithdrawalServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract WithdrawalServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
retrieve
CompletableFuture<Withdrawal> retrieve(String withdrawalId, WithdrawalRetrieveParams params)
Get a specific
Withdrawalby its ID.
-
retrieve
CompletableFuture<Withdrawal> retrieve(String withdrawalId, WithdrawalRetrieveParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<Withdrawal> retrieve(WithdrawalRetrieveParams params)
-
retrieve
abstract CompletableFuture<Withdrawal> retrieve(WithdrawalRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<List<Withdrawal>> list(String accountId)
Get a list of all
Withdrawalsunder theAccount, sorted by most recent.
-
list
CompletableFuture<List<Withdrawal>> list(String accountId, WithdrawalListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<List<Withdrawal>> list(String accountId, WithdrawalListParams params)
-
list
abstract CompletableFuture<List<Withdrawal>> list(WithdrawalListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<List<Withdrawal>> list(WithdrawalListParams params)
-
list
CompletableFuture<List<Withdrawal>> list(String accountId, RequestOptions requestOptions)
-
-
-
-