상품 구매 시작
POST https://{market-domain}/v1.0/presales/sale/begin
Request Body
Name
Type
Description
sales_id*
int64
SalesID
claim_id*
int64
상품ID
coin_id*
int64
결제할 코인
```json
{
"return": 0,
"message": "success",
"value": {
"basecoin_id": 3,
"basecoin_symbol": "SUI",
"coin_id": 7,
"coin_symbol": "SUI",
"product_price": "100000",
"to_address": "0xfc788F6956E98feb367b04f442F7CF8C771c25E9"
}
}
```curl --location --request POST 'https://{market-domain}/v1.0/presales/sale/begin' --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR....' --header 'Content-Type: application/json' --data-raw '{ "product_id": 7, "basecoin_id": 1, "coin_id": 1 }'
Key
Data Type
Desc
basecoin_id
int64
결제 베이스코인 ID
basecoin_symbol
string
결제 베이스코인 심볼
coin_id
int64
결제 코인 ID
coin_symbol
string
결제 코인 심볼
product_price
string
결제 가격
to_address
string
보낼 주소
return
message
desc.
0
success
성공
Last updated