CS2DT饰品开放平台
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
首页商户中心
首页商户中心
🇺🇸 English
  • 🇨🇳简体中文
  • 🇺🇸 English
  1. order related interface
  • Response codes
  • CS2DT Open Platform Access Guide
  • v1
    • user related interface
      • Steam account status query Copy
      • User balance query
      • Create Steam account status check
      • Steam account status query
    • market prodcut related interface
      • CS2 Style Data
      • get full Items
      • Market Search
      • item price query
      • all the filters query
      • item for sale list query
      • Get the sales status of the product
      • Batch query of products on sale by product ID
      • Get the sales details of a product
    • purchase related interface
      • buy item
      • quick buy item
    • order related interface
      • buyer order list v2
        POST
      • buyer order list
        GET
      • buyer order detail
        GET
      • buyer cancel order
        POST
    • callback related
      • Callback Notification Service Description
    • exchange rate
      • USD/CNY exchange rate
    • websocket
      • How to Use WebSocket
      • Get WSS Address
  1. order related interface

buyer cancel order

POST
https://openapi.cs2dt.com/v1/order/buyer-cancel
Cancel an order that has been waiting for more than 30 minutes without deliver.
The cancellation result can be checked by viewing the buyer order detail.
Cancellation penalty fee description:
When the seller's delivery time does not exceed 30 minutes, a certain fee needs to be paid when canceling the order
When the seller successfully sends a quotation and needs to cancel the order, a certain fee needs to be paid
When the seller successfully sends a quotation, because the buyer does not accept the quotation for more than 24 hours, or manually cancels the quotation, or there are illegal operations such as counter-offering, the order is cancelled, and a certain fee needs to be paid
The penalty fee is 2% of the jewelry price, the upper limit is 10T, and the minimum is 0.01T (if the penalty is less than 0.01T, it will be charged as 0.01T)

请求参数

Query 参数
app-key
string 
可选
默认值:
{{app-key}}
Body 参数application/json
orderId
string  | null 
必需
cancel orderId
示例
{
    "orderId": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://openapi.cs2dt.com/v1/order/buyer-cancel?app-key=' \
--header 'Content-Type: application/json' \
--data-raw '{
    "orderId": "string"
}'

返回响应

🟢200成功
application/json
Body
success
boolean  | null 
可选
Is request successful
data
string  | null 
可选
Business data
errorCode
integer  | null 
可选
Error code
errorMsg
string  | null 
可选
Error message
errorData
object (Object) 
可选
Error data,when errorCode is not equals to 0,maybe this property will have a value
errorCodeStr
string  | null 
可选
like the errorCode,but this property is string
示例
{
  "success": false,
  "data": "",
  "errorCode": 0,
  "errorMsg": "",
  "errorData": {}
}
修改于 2025-01-03 06:45:02
上一页
buyer order detail
下一页
Callback Notification Service Description
Built with