@@ -21,7 +21,7 @@ We also provide an out-of-the-box [Hyperwallet Android UI SDK](https://github.c
2121To install Hyperwallet Core SDK, you just need to add the dependency into your build.gradle file in Android Studio (or Gradle). For example:
2222
2323``` bash
24- api ' com.hyperwallet.android:core-sdk:1.0.0-beta06 '
24+ api ' com.hyperwallet.android:core-sdk:1.0.0-beta07 '
2525```
2626
2727### Proguard
@@ -154,6 +154,56 @@ Hyperwallet.getDefault().listPayPalAccounts(payPalAccountQueryParam, listener);
154154// onFailure: error (ErrorType) will contain Errors containing information about what caused the failure
155155```
156156
157+ ### Create Venmo Account
158+ ``` java
159+ final VenmoAccount venmoAccount = new VenmoAccount .Builder ()
160+ .transferMethodCountry(" US" )
161+ .transferMethodCurrency(" USD" )
162+ .accountId(" 9876543210" )
163+ .build();
164+
165+ Hyperwallet . getDefault(). createVenmoAccount(venmoAccount, listener);
166+ // onSuccess: response (VenmoAccount in this case) will contain information about the user’s Venmo account
167+ // onFailure: error (ErrorType) will contain Errors containing information about what caused the failure
168+ ```
169+
170+ ### Get Venmo Account
171+ ``` java
172+ Hyperwallet . getDefault(). getVenmoAccount(" trm-fake-token" , listener);
173+ // onSuccess: response (VenmoAccount in this case) will contain information about the user’s Venmo account or null if not exist.
174+ // onFailure: error (ErrorType) will contain Errors containing information about what caused the failure
175+ ```
176+
177+ ### Update Venmo Account
178+ ``` java
179+ final VenmoAccount venmoAccount = new VenmoAccount
180+ .Builder ()
181+ .accountId(" 9876543211" )
182+ .token(" trm-fake-token" )
183+ .build();
184+
185+ Hyperwallet . getDefault(). updateVenmoAccount(venmoAccount, mListener);
186+ // Code to handle successful response or error
187+ // onSuccess: response (VenmoAccount in this case) will contain information about the user’s Venmo account
188+ // onFailure: error (ErrorType) will contain Errors containing information about what caused the failure of Venmo account updating
189+ ```
190+
191+ ### Deactivate Venmo Account
192+ ``` java
193+ Hyperwallet . getDefault(). deactivateVenmoAccount(" trm-fake-token" , " deactivate Venmo account" , mListener);
194+ // Code to handle successful response or error
195+ // onSuccess: response (StatusTransition in this case) will contain information about the status transition
196+ // onFailure: error (ErrorType) will contain Errors containing information about what caused the failure of Venmo account deactivation
197+ ```
198+
199+ ### List Venmo Account
200+ ``` java
201+ VenmoAccountQueryParam queryParam = new VenmoAccountQueryParam .Builder (). status(ACTIVATED ). build();
202+ Hyperwallet . getDefault(). listVenmoAccounts(queryParam, mListener);
203+ // onSuccess: response (PageList<VenmoAccount>) will contain a PageList of VenmoAccount or null if not exists
204+ // onFailure: error (ErrorType) will contain Errors containing information about what caused the failure
205+ ```
206+
157207### Create Bank Account
158208``` java
159209final BankAccount bankAccount = new BankAccount .Builder ()
@@ -324,6 +374,16 @@ Hyperwallet.getDefault().listUserBalances(balanceQueryParam, listener);
324374// onFailure: error (ErrorType) will contain Errors containing information about what caused the failure
325375```
326376
377+ ### List Prepaid Card Balances
378+ ``` java
379+ PrepaidCardBalanceQueryParam prepaidCardBalanceQueryParam = new PrepaidCardBalanceQueryParam .Builder ()
380+ .sortByCurrencyAsc()
381+ .build();
382+ Hyperwallet . getDefault(). listPrepaidCardBalances(" trm-12345" , prepaidCardBalanceQueryParam, listener);
383+ // onSuccess: response (PageList<Balance>) will contain a PageList of Balance or null if not exists
384+ // onFailure: error (ErrorType) will contain Errors containing information about what caused the failure
385+ ```
386+
327387### Create Transfer
328388``` java
329389final Transfer transfer = new Transfer .Builder ()
0 commit comments