Run in Apifox
If you only want to buy skins through item or steam MarketHashName, you can use this endpoint. if you don't set lowPrice and delivery, the default action is choose the price below your maxPrice, if exists auto deliver skin, it will purchase the lowest auto deliver skin, if not, it will choose the lowest price one
Request Add parameter in query app-key
Example: app-key: ********************
Body Params application/json
{
"outTradeNo" : "string" ,
"tradeUrl" : "string" ,
"device" : 0 ,
"itemId" : "string" ,
"appId" : 0 ,
"marketHashName" : "string" ,
"maxPrice" : 0 ,
"delivery" : 0 ,
"lowPrice" : 0
} Request Code Samples
curl --location -g --request POST 'http://openapi.c5game.com//merchant/trade/v2/quick-buy?app-key=prc09j51yuot4g0dreah132boeih6byy&app-key=<api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"outTradeNo": "string",
"tradeUrl": "string",
"device": 0,
"itemId": "string",
"appId": 0,
"marketHashName": "string",
"maxPrice": 0,
"delivery": 0,
"lowPrice": 0
}' Responses application/json Generate Code
{
"success" : false ,
"data" : {
"actualPay" : 0.0 ,
"delivery" : 0 ,
"orderAssetId" : 0 ,
"orderId" : 0 ,
"payStatus" : 0 ,
"orderStatus" : 0 ,
"requestId" : 0 ,
"offerId" : ""
} ,
"errorCode" : 0 ,
"errorMsg" : "" ,
"errorData" : { } ,
"errorCodeStr" : ""
} Modified at 2023-11-14 12:14:28