售后服务管理系统免费试用

开放平台

获取客户结算单支付信息

请求方式:

GET

请求地址:

https://api.eshouhou.cn/open/v2/Client/GetStatementPay?access_token=eXNoNTRkZDRmOGFyaW5meCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDYmMTIw


请求参数:

参数

类型

必填

名称

备注

workOrderId

string

否

工单id


 

返回参数:

参数

类型

必填

名称

ResultCode

String

是

返回编码

ErrorMsg

String

否

返回信息

ResultValue

Object

否

返回对象

 

ResultValue对象:

参数

类型

必填

名称

备注

ID

string

是

结算单id


WorkOrderID

string

是

工单id


WorkOrderNumber

string

是

工单编号


TotalAmount

string

是

总金额


CustomerAmount

string

是

应付金额


AccessoryAmount

string

否

备件总金额


FeeItemAmount

string

否

服务项目总金额


OtherFeeItemAmount

string

否

其他收费项目总金额


Remark

string

否

备注


Accessorys

Array

否

配件集合


FeeItems

Array

否

服务项目


OtherFeeItems

Array

否

其他收费项目


Type

Int

否

结算类型

0默认,1支付宝,2微信支付,3现金,4对公转账,5合同收款6包年包月,7未收款,8支付宝(线上),9微信支付(线上)

TypeName

String

否

结算类型名称

支付宝,微信支付,现金,对公转账,合同收款,包年包月,暂未收款,支付宝(线上),微信支付(线上),

TypeList

Array

否

结算类型集合

示例:

[{Key:””, Value:””}]

Key为9时为微信线上支付,

Value为支付方式名称

StatementState

int

否

结算状态

0默认,1待结算,2待对账,3完成,4待结账/待付款,5已取消

WorkOrderState

int

否

工单状态

12结算单已生成

WorkOrderPendState

Int

否

工单待处理状态

28待客户付款状态

CustomerPaymentAction

Int

否

客户付款操作

49 客户付款时需要客户进行支付。

 

请求示例:

https://api.eshouhou.cn/open/v2/Client/GetStatementPay?access_token= eXNoNTRkZDRmOGFyaW5meCY2YTgyNTFiYS1jZTY0LTQ2YjctYTUwNS1hNGU1NjAwMzI3MDYmMTI&workOrderId=80404fbe-6b8b-45f1-9de9-e02e8f2ae9e1

 

返回成功示例:

{

    "ResultCode": 0,

    "ErrorMsg": "",

"ResultValue": {

"ID": "6a6f0e4e-70ef-4438-b9b6-3ae7a39368aa",

"WorkOrderID": "70e84c66-6607-4e9e-bf99-e04cc6b429b8",

"WorkOrderNumber": "W202108050004",

"CustomerName": null,

"ProductName": null,

"ProductType": null,

"ServiceCategory": null,

"TotalAmount": "0.00",

"CustomerAmount": "0.02",

"AccessoryAmount": "",

"FeeItemAmount": "",

"OtherFeeItemAmount": "",

"Remark": "",

"Accessorys": [],

"FeeItems": [],

"OtherFeeItems": [],

"GuaranteedName": "保内",

"Type": 7,

"TypeName": "未收款",

"TypeList": [

{

"Key": "9",

"Value": "微信支付(线上)",

                "ObjArray": [],

                "isChecked": false

            }

        ],

"StatementState": 4,

"OperatorID": null,

"OperatorName": null,

"StatementTime": null,

"StatementStateName": "待结账",

"StatementStateClass": "#428bca",

"IsOnlinePay": false,

"WorkOrderState": 12,

"WorkOrderPendState": 28,

"CustomerPaymentAction": 49

}

}


开发者:可为天下(北京)科技有限公司 版本号:V3.1.2
© 2026 eshouhou.com 易售后 保留所有权利
京ICP备15041347号-2京公网安备11011302007053
电话咨询
400-071-2899
在线咨询
免费试用
下载APP
返回顶部