diff --git a/utils/wallet_client.py b/utils/wallet_client.py index f923dbf..b5247d3 100644 --- a/utils/wallet_client.py +++ b/utils/wallet_client.py @@ -94,21 +94,21 @@ def deposit_to_user_wallet_verify(payer_wallet, uuid): return response -def withdraw_from_user_wallet_submit(category_uuid, data): +def withdraw_from_user_wallet_submit(payee_wallet, data): class Tmp(): def to_dict(self): return data withdraw_data = Tmp() client = get_client() - response: ApplicationWithdraw = wallet_api_application_withdraw_create_2.sync(category_uuid=category_uuid, client=client, body=withdraw_data) + response: ApplicationWithdraw = wallet_api_application_withdraw_create.sync(payee_wallet=payee_wallet, client=client, body=withdraw_data) print(response) return response -def withdraw_from_user_wallet_verify(category_uuid, uuid): +def withdraw_from_user_wallet_verify(payee_wallet, uuid): client = get_client() - response: ApplicationWithdraw = wallet_api_application_withdraw_verify_retrieve_2.sync(category_uuid=category_uuid, uuid=uuid, client=client) + response: ApplicationWithdraw = wallet_api_application_withdraw_verify_retrieve.sync(payee_wallet=payee_wallet, uuid=uuid, client=client) print(response) return response