Settlement Change Query

3 min read

Basic Information

Debug Tool

  • Service: cps-mesh.open.orders.settlement.get
  • Request Method: POST

Request Header

Header ParameterRequiredExampleNote
Content-TypeYesapplication/json

Common Parameters

Parameter NameRequiredExampleNote
app_keyYes2312521Media application AppKey How to obtain
timestampYes1596592757Timestamp in seconds
serviceYescps-mesh.open.orders.settlement.getInterface service name
signYes5D17CCCD5B29F98171D6D0D43136B366Signature Details

Interface Parameters

Parameter NameRequiredExampleNote
stimeYesOrder start time, timestamp in seconds, note: time span cannot exceed 1 day
etimeYesOrder end time, timestamp in seconds, note: time span cannot exceed 1 day
ads_idNoPlan ID
order_snNoOrder number
euidNoFeedback tag, Explanation
pageNoPage number, default is 1
page_sizeNoPage size, default is 20, maximum is 200

Request Example

{
    "stime": "string",
    "etime": "string",
    "ads_id": "string",
    "order_sn": "string",
    "euid": "string",
    "page": "string",
    "page_size": "string"
}

Return Parameters

NameTypeRequiredDefaultDescriptionAdditional Information
statusintegerNoStatus code
messagestringNoError message
dataobjectNoSettlement change details
├─ order_snstringNoOrder ID
├─ order_timestringNoOrder time, format: yyyy-MM-dd HH:mm:ss
├─ euidstringNoFeedback tag, Explanation
├─ confirmpriceolddecimal(16,4)NoHistorical amount, e.g., 1.0000
├─ modify_pricedecimal(16,4)NoChange amount, e.g., 1.0000
├─ confirm_pricedecimal(16,4)NoCurrent amount, e.g., 1.0000
├─ confirmsitercommission_olddecimal(16,4)NoHistorical commission, e.g., 1.0000
├─ modifysitercommissionstringNoChange in commission, e.g., 1.0000
├─ confirmsitercommissionstringNoCurrent commission, e.g., 1.0000
├─ modify_atstringNoChange time, format: yyyy-MM-dd HH:mm:ss
├─ ads_idstringNoPlan ID
├─ ads_namestringNoPlan name
├─ charge_currencystringNoSettlement currency: CNY (RMB), USD

Response Example

{
    "status": 0,
    "message": "string",
    "data": {
        "order_sn": "string",
        "order_time": "string",
        "euid": "string",
        "confirm_price_old": null,
        "modify_price": null,
        "confirm_price": null,
        "confirm_siter_commission_old": null,
        "modify_siter_commission": "string",
        "confirm_siter_commission": "string",
        "modify_at": "string",
        "ads_id": "string",
        "ads_name": "string",
        "charge_currency": "string"
    }
}