From 8fc215919c41e397c1810ff415eb9a27656bf0f4 Mon Sep 17 00:00:00 2001 From: Yu Jhin Date: Mon, 22 May 2023 14:09:05 +0900 Subject: [PATCH] [Update] Upbit OPEN API Version 1.3.4 [Update] Upbit OPEN API Version 1.3.4 --- client/python/upbit/models.py | 5 +++++ client/python/upbit/pkginfo.py | 2 +- mapper/swg_mapper.json | 8 ++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/client/python/upbit/models.py b/client/python/upbit/models.py index b3b7f16..7f799c6 100644 --- a/client/python/upbit/models.py +++ b/client/python/upbit/models.py @@ -714,6 +714,11 @@ def Withdraw_krw(self, **kwargs) -> dict: :param amount: 출금 원화 수량 :type amount: str + + :param two_factor_type: 2차 인증 수단 (optional) + - kakao_pay: 카카오페이 인증 (default) + - naver: 네이버 인증 + :type two_factor_type: str """ future = self.__client.Withdraw.Withdraw_krw(**kwargs) diff --git a/client/python/upbit/pkginfo.py b/client/python/upbit/pkginfo.py index 1dd4c8b..d152d4b 100644 --- a/client/python/upbit/pkginfo.py +++ b/client/python/upbit/pkginfo.py @@ -29,7 +29,7 @@ def _get_versions(package_name): PACKAGE_NAME = "upbit-client" OPEN_API_VERSION = "1.3.4" -CURRENT_VERSION = OPEN_API_VERSION+".0" +CURRENT_VERSION = OPEN_API_VERSION+".1" RELEASED_VERSION = _get_versions(PACKAGE_NAME) LATEST_VERSION = RELEASED_VERSION[0] diff --git a/mapper/swg_mapper.json b/mapper/swg_mapper.json index 58ba8fa..c968932 100644 --- a/mapper/swg_mapper.json +++ b/mapper/swg_mapper.json @@ -829,6 +829,14 @@ "description": "출금 원화 수량\n", "required": true, "type": "string" + }, + { + "name": "two_factor_type", + "in": "formData", + "description": "2차 인증 수단 (기본 값 : kakao_pay)\n", + "required": false, + "type": "string", + "default": "kakao_pay" } ], "responses": {