상품 구매 결과

결제 이후 호출

POST https://{market-domain}/v1.0/presales/sale/purchase

Request Body

Name
Type
Description

sales_id*

int64

SalesID

claim_id*

int64

상품ID

coin_id*

int64

결제한 코인 ID

purchase_state*

int64

0:결제취소. 1:결제성공

tx_hash*

string

txhash(sui 는 Digest)

{
    "return": 0,
    "message": "success",
}

curl --location --request POST 'https://{market-domain}/v1.0/presales/sale/purchase' --header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR....' --header 'Content-Type: application/json' --data-raw '{ "product_id": 7, "basecoin_id": 1, "coin_id": 1 }'

Last updated