Skip to content

Commit f080f3d

Browse files
committed
Updated Verify Withdrawal endpoint
1 parent e087939 commit f080f3d

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,16 @@ print(withdraw_result)
101101

102102
```
103103

104+
#### Verify Withdrawal Reference
105+
106+
```python
107+
tnxRef = '123-456-789-789405'
108+
109+
verify_result = manager.verify_withdrawal(withdraw_params)
110+
print(verify_result)
111+
112+
```
113+
104114
#### Redeem Asset
105115

106116
```python

cngn_manager/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ def get_transaction_history(self, page: int = 1, limit: int = 10 ) -> str:
9797
def withdraw(self, data: dict) -> str:
9898
return self.__make_calls("POST", "/withdraw", data)
9999

100+
def verify_withdrawal(self, tnxRef: str):
101+
return self.__make_calls('GET', f"/withdraw/verify/{tnxRef}")
102+
100103
def redeem_assets(self, data: dict) -> str:
101104
return self.__make_calls("POST", "/redeemAsset", data)
102105

0 commit comments

Comments
 (0)