通知支付状态
接口说明
- 此接口用于面向C端用户的渠道方,对接此接口请联系我方产品配置待支付状态;企业用车不接此接口。
- 用户在合作方支付完成后,回调首约,通知支付完成
- 用户完整支付成功则通知,未完整支付成功不通知
接口地址
https:// <SQYC_DOMAIN>/touch/partner/payNotify
请求方式
POST
请求参数
名称 | 类型 | 是否必选 | 说明 |
---|---|---|---|
orderNo | string | yes | 订单号 |
amount | decimal | yes | 乘客实际支付金额。单位:元,保留两位小数 传入该金额,首约侧会按照该金额开具发票 |
partnerOrderNo | string | yes | 合作方订单号 |
couponAmount | string | no | |
chargeSettleAmount | string | no | |
giftSettleAmount | string | no | |
customerCreditcardAmount | string | no | |
driverPay | string | no | |
ticketAmount | string | no | |
sign | string | yes | 参见sign生成算法 |
channel | string | yes | 渠道名称,由首汽提供 |
subsidy | double | no | 首约承担优惠,单位:元,保留两位小数 定制渠道使用,未沟通请勿使用 |
allowance | double | no | 合作方承担优惠。单位:元,保留两位小数 计算公式:amount(乘客实付)+allowance(合作方承担优惠)=customerPayPrice(乘客应付),首约侧不做该公式的校验,需要渠道侧做好限制 |
preFee | double | no | 预支付金额。单位:元,保留两位小数 定制渠道使用,未沟通请勿使用 |
返回数据
名称 | 类型 | 说明 |
---|---|---|
result | string | 0:成功;非0:失败原因编码 |
errmsg | string | 失败原因描述,若成功则值为空 |
返回示例
{
"result": "0",
"errmsg": "SUCCESS"
}