Skip to content

Commit

Permalink
Merge pull request #57 from uJhin/1.3.4
Browse files Browse the repository at this point in the history
[Update] Upbit OPEN API Version 1.3.4
  • Loading branch information
uJhin authored May 22, 2023
2 parents ff40803 + 8fc2159 commit 7635038
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions client/python/upbit/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion client/python/upbit/pkginfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
8 changes: 8 additions & 0 deletions mapper/swg_mapper.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 7635038

Please sign in to comment.