Skip to main content

depositRecharge:预存款充值/扣款

入参

参数名称

是否必须

类型

描述

sKey

Y

String

令牌

clientGuid

Y

String

erp客户唯一标识,ERP内部ID,接口同步码,系统唯一。该字段是DHB与ERP的对接码

date

Y

String

充值/扣款日期,格式:YYYY-MM-DD

money Y float64 金额,单位元,最多两位小数
remark N String 充值备注
type Y String 类型,充值为recharge,扣款为deduct
bank_id N Int 收款账户ID,通过接口getOfflineBankAccounts获取
入参示例
{
    "f": "depositRecharge",
    "v": {
        "sKey": "e1ca0a619a62d01e17faf538ba68e171",
        "clientGuid": "2532",
        "date" : "2025-07-21",
        "money" : 1.21,
        "type" : "recharge",
        "remark" :"充值预存款",
        "bank_id" : 1234
    }
}
返参

参数名称

类型

描述

rStatus

Int

100:正常,其他:异常

message

String

信息描述

rData

Object

具体的数据

返参示例
{
    "rStatus": 100,
    "message": "客户预存款充值成功",
    "rData": []
}