Shop
Path parameters
shopIdstringRequiredExample:
ID of Shop
0x0001be96d74202df38fd21462ffcef10dfe0fcbd7caa3947689a3903e8b6b874
Responses
200Success
application/json
get
GET /v1/summary/shop/{shopId} HTTP/1.1
Host:
Accept: */*
200Success
{
"code": 0,
"data": {
"shopInfo": {
"shopId": "0x0001be96d74202df38fd21462ffcef10dfe0fcbd7caa3947689a3903e8b6b874",
"name": "Coffee Nine",
"currency": "krw",
"status": 1,
"account": "0xafFe745418Ad24c272175e5B58610A8a35e2EcDa",
"delegator": "0xD10ADf251463A260242c216c8c7D3e736eBdB398",
"providedAmount": "0",
"usedAmount": "0",
"refundedAmount": "0",
"refundableAmount": "0",
"refundableToken": "0"
},
"tokenInfo": {
"symbol": "ACC",
"name": "ACC Coin",
"decimals": 18
},
"exchangeRate": {
"token": {
"symbol": "ACC",
"value": "1000000000000000000"
},
"currency": {
"symbol": "krw",
"value": "2169736506000000000"
}
},
"ledger": {
"point": {
"balance": "3895000000000000000000",
"value": "3895000000000000000000"
},
"token": {
"balance": "1661929627132000000000",
"value": "3605949382391000000000"
}
},
"mainChain": {
"point": {
"balance": "0",
"value": "0"
},
"token": {
"balance": "99900000000000000000",
"value": "216756676949000000000"
}
},
"sideChain": {
"point": {
"balance": "0",
"value": "0"
},
"token": {
"balance": "0",
"value": "0"
}
},
"protocolFees": {
"transfer": "100000000000000000",
"withdraw": "100000000000000000",
"deposit": "100000000000000000"
}
},
"error": {
"message": "Failed to check the validity of parameters"
}
}
Path parameters
shopIdstringRequiredExample:
ID of Shop
0x0001be96d74202df38fd21462ffcef10dfe0fcbd7caa3947689a3903e8b6b874
Responses
200Success
application/json
get
GET /v2/summary/shop/{shopId} HTTP/1.1
Host:
Accept: */*
200Success
{
"code": 0,
"data": {
"shopInfo": {
"shopId": "0x0001be96d74202df38fd21462ffcef10dfe0fcbd7caa3947689a3903e8b6b874",
"name": "Coffee Nine",
"currency": "krw",
"status": 1,
"account": "0xafFe745418Ad24c272175e5B58610A8a35e2EcDa",
"delegator": "0xD10ADf251463A260242c216c8c7D3e736eBdB398",
"providedAmount": "0",
"usedAmount": "0",
"refundedAmount": "0",
"refundableAmount": "0",
"refundableToken": "0"
},
"tokenInfo": {
"symbol": "ACC",
"name": "ACC Coin",
"decimals": 18
},
"exchangeRate": {
"token": {
"symbol": "ACC",
"value": "1000000000000000000"
},
"currency": {
"symbol": "krw",
"value": "2169736506000000000"
}
},
"settlement": {
"manager": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"agent": {
"provision": "0x0000000000000000000000000000000000000000",
"refund": "0x0000000000000000000000000000000000000000",
"withdrawal": "0x0000000000000000000000000000000000000000"
},
"ledger": {
"point": {
"balance": "3895000000000000000000",
"value": "3895000000000000000000"
},
"token": {
"balance": "1661929627132000000000",
"value": "3605949382391000000000"
}
},
"mainChain": {
"point": {
"balance": "0",
"value": "0"
},
"token": {
"balance": "99900000000000000000",
"value": "216756676949000000000"
}
},
"sideChain": {
"point": {
"balance": "0",
"value": "0"
},
"token": {
"balance": "0",
"value": "0"
}
},
"protocolFees": {
"transfer": "100000000000000000",
"withdraw": "100000000000000000",
"deposit": "100000000000000000"
}
},
"error": {
"message": "Failed to check the validity of parameters"
}
}