Swap 요청*

POST https://{dashboard-domain}/v1.0/db/swap

Headers

Name
Type
Description

Authorization*

string

Bearer {{web-access-token}}

Content-Type*

string

application/json

Request Body

Name
Type
Description

tx_type

int

swap type

3: 포인트 -> 코인

4 : 코인 -> 포인트 26 : 코인 -> 코인

from_point

object

보낼 포인트 정보

app_id

int64

앱 ID

point_id

int64

포인트 ID

adjust_point_quantity

int64

포인트 조정량

(포인트->코인 이면 음수)

to_point

object

받을 포인트 정보

app_id

int64

앱 ID

point_id

int64

포인트 ID

adjust_point_quantity

int64

포인트 조정량

(코인->코인 이면 양수

from_coin

object

보낼 코인 정보

coin_id

int

코인ID

adjust_coin_quantity

float64

코인 조정량 (음수)

to_coin

object

받을 코인 정보

coin_id

int

코인ID

adjust_coin_quantity

float64

코인 조정량 (양수)

otp_code

string

Authenticator 앱에서 발급 받은 6자리 OTP code

Last updated