Swap 요청
지갑 정보를 조회합니다.
POST
https://{point-domain}/v1.0/swap/gamechip
Headers
Name
Type
Description
Authorization*
string
Bearer {{web-access-token}}
Content-Type*
string
application/json
Request Body
Name
Type
Description
swap_type
int64
ssr -> ssrm 이면 '34' ssrm -> ssr 이면 '35'
ssr_adjust_point
int64
ssr -> ssrm 이면 음수 ssrm -> ssr 이면 양수
ssrm_adjust_chip
int64
ssr -> ssrm 이면 양수 ssrm -> ssr 이면 음수
Response
{
"return": 0,
"message": "success"
}
curl --location 'https://localhost:51011/v1.0/swap/gamechip' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"swap_type" : 34,
"ssr_adjust_point" : -45,
"ssrm_adjust_chip" : 22
}'
Last updated