Skip to content

Commit 6739ada

Browse files
authored
README.md
Signed-off-by: Temidayo Omotayo <[email protected]>
1 parent e106597 commit 6739ada

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,13 @@ System.out.println("Redeem Assets : " + cngnManger.redeemAssets(redeemAssetParam
174174
#### Update Business
175175

176176
```java
177-
UpdateExternalAccountParams.WalletAddress walletAddress = new UpdateExternalAccountParams.WalletAddress(
178-
"" //bscAddress or any other chain
179-
);
180-
UpdateExternalAccountParams.BankDetails bankDetails = new UpdateExternalAccountParams.BankDetails(
181-
"Test Bank", //bankName
182-
"Test Account", //bankAccountName
183-
"1234567890" //bankAccountNumber
184-
185-
);
186-
187-
UpdateExternalAccountParams params = new UpdateExternalAccountParams(walletAddress, bankDetails);
188-
System.out.println("Update External Accounts " + cngnManger.updateExternalAccounts(params));
177+
UpdateExternalAccountParams updateExternalAccountParams = new UpdateExternalAccountParams(
178+
"Test Bank",
179+
"Example account",
180+
"1234567890"
181+
);
182+
updateExternalAccountParams.addWalletAddress("bscAddress", "0x3d8e....");
183+
System.out.println("Update External Accounts " + cngnManager.updateExternalAccounts(updateExternalAccountParams));
189184
```
190185

191186

@@ -201,6 +196,13 @@ System.out.println("Withdraw : " + cngnManager.withdraw(withdrawParams));
201196

202197
```
203198

199+
#### Verify Withdrawal Reference
200+
```java
201+
System.out.println("Withdraw : " + cngnManager.verifyWithdrawalReference(
202+
"123-456-789-789405" //Transaction Reference
203+
));
204+
```
205+
204206

205207
#### Fetch Banks
206208

0 commit comments

Comments
 (0)