Class WithdrawalRequestServiceImpl
-
- All Implemented Interfaces:
-
com.dinari.api.services.blocking.v2.accounts.WithdrawalRequestService
public final class WithdrawalRequestServiceImpl implements WithdrawalRequestService
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 classWithdrawalRequestServiceImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description WithdrawalRequestService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. WithdrawalRequestServicewithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. WithdrawalRequestcreate(WithdrawalRequestCreateParams params, RequestOptions requestOptions)WithdrawalRequestretrieve(WithdrawalRequestRetrieveParams params, RequestOptions requestOptions)List<WithdrawalRequest>list(WithdrawalRequestListParams params, RequestOptions requestOptions)-
Methods inherited from class com.dinari.api.services.blocking.v2.accounts.WithdrawalRequestService
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
WithdrawalRequestService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
WithdrawalRequestService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
create
WithdrawalRequest create(WithdrawalRequestCreateParams params, RequestOptions requestOptions)
-
retrieve
WithdrawalRequest retrieve(WithdrawalRequestRetrieveParams params, RequestOptions requestOptions)
-
list
List<WithdrawalRequest> list(WithdrawalRequestListParams params, RequestOptions requestOptions)
-
-
-
-