Class WithdrawalRequestServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.async.v2.accounts.WithdrawalRequestServiceAsync
public final class WithdrawalRequestServiceAsyncImpl implements WithdrawalRequestServiceAsync
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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWithdrawalRequestServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description WithdrawalRequestServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. WithdrawalRequestServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. CompletableFuture<WithdrawalRequest>create(WithdrawalRequestCreateParams params, RequestOptions requestOptions)CompletableFuture<WithdrawalRequest>retrieve(WithdrawalRequestRetrieveParams params, RequestOptions requestOptions)CompletableFuture<List<WithdrawalRequest>>list(WithdrawalRequestListParams params, RequestOptions requestOptions)-
Methods inherited from class com.dinari.api.services.async.v2.accounts.WithdrawalRequestServiceAsync
create, create, create, list, list, list, list, list, retrieve, retrieve, retrieve -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
WithdrawalRequestServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
WithdrawalRequestServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
CompletableFuture<WithdrawalRequest> create(WithdrawalRequestCreateParams params, RequestOptions requestOptions)
-
retrieve
CompletableFuture<WithdrawalRequest> retrieve(WithdrawalRequestRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<List<WithdrawalRequest>> list(WithdrawalRequestListParams params, RequestOptions requestOptions)
-
-
-
-