상품 구매 시작
POST https://{game_host_ext_ssrm}/v1.0/ssrm/market/purchase/begin
Headers
Name
Type
Description
Context-Type*
string
application/json
Authorization
string
Login A.T
Request Body
Name
Type
Description
store_id
int64
상품 리스트에 있는 스토어 ID
product_id
int64
상품ID
payment_type
int64
결재 수단 (상품의 payments 에 있는 payment_type 참고)
Response
{
"return": 0,
"message": "success",
"value": {
"payment_id": "7548844b-1e33-4c03-8345-87bf6ac9e36b"
}
} {
"store_id" : 2,
"product_id" : 15,
"payment_type" : 1,
"wallet_address" : "0xa115c9936f3929A5101250127D44AB5932dF6976"
}curl --location 'https://localhost:51152/v1.0/ssrm/market/purchase/begin' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"store_id" : 2,
"product_id" : 15,
"payment_type" : 1,
"wallet_address" : "0xa115c9936f3929A5101250127D44AB5932dF6976"
}'key
data type
desc.
payment_id
string
line 결재용 ID
return
message
desc.
0
success
성공
500
internal server error
70001
Cache Error
캐시 에러
72521
Invalid store id
유효하지 않은 스토어 id
72522
Invalid product id
유효하지 않는 상품 id
72523
Invalid payment type
유효하지 않는 결제 재화 id
72524
Invalid wallet address
유효하지 않는 지갑 주소
이외 LINE 결제 에러

Last updated