Swap 우대 조건 확인

지갑 정보를 조회합니다.

GET https://{dashboard-domain}/v1.0/db/swap/tier/check

Headers

Name
Type
Description

Authorization*

string

Bearer {{web-access-token}}

Request Body

Name
Type
Description

tx_type

int64

swap type

3: 포인트 -> 코인

from_id

int64

시작 재화 ID

to_id

int64

반환 재화 ID

Response

{
    "return": 0,
    "message": "success",
    "value": {
        "swap_tier_check": [
            {
                "tier_id": 1,
                "condition_type": 2,
                "condition_id": 10,
                "quantity": "3000",
                "is_achieved_condition": true
            },
            {
                "tier_id": 1,
                "condition_type": 2,
                "condition_id": 12,
                "quantity": "300",
                "is_achieved_condition": true
            },
            {
                "tier_id": 2,
                "condition_type": 2,
                "condition_id": 10,
                "quantity": "100000",
                "is_achieved_condition": true
            },
            {
                "tier_id": 2,
                "condition_type": 2,
                "condition_id": 12,
                "quantity": "10000",
                "is_achieved_condition": false
            },
            {
                "tier_id": 3,
                "condition_type": 3,
                "condition_id": 200583,
                "quantity": "1",
                "is_achieved_condition": true
            }
        ],
        "select_tier": {
            "select_tier": 1,
            "minimum_exchange_quantity": "10000",
            "exchange_ratio": 0.015
        }
    }
}
curl --location --request GET 'https://{dashboard-domain}/v1.0/db/tier/check?tx_type=3&from_id=6&to_id=10 \
--header 'Authorization: Bearer eyJhbGciOiJ...'

Last updated