订单支付成功推送

描述

收钱吧微信小店订单支付成功后推送。

参数说明(JSON 格式)

参数 参数名称 类型 描述 示例
eventId 推送事件ID bigint 全局唯一 2024013000594610646
timestamp 推送时间戳 bigint 当前时间毫秒值 1706679507593
nonce 随机字串 String 随机字串,用于签名 "j9xd5kc7ixcryy7at5rrrv24xty783th"
content 订单数据 String JSON 字符串,详见 Content 字段格式 见下方示例
signature 报文签名 String 详见公共推送验签 见下方示例

content 示例

{
    "orderSn": "71655367906162",
    "payTsnList": ["7894259297368060"],
    "terminalSn": "2101056320290541156",
    "storeSn": "21590000000630325",
    "mallName": "智能商城0206-17:35",
    "orderAmount": 2,
    "createdAt": "2024-02-20 10:46:32",
    "orderStateCode": 35,
    "items": [
        {"title": "大瓶可乐+炒饭", "skuDesc": null, "quantity": "1", "unit": null}
    ],
    "collectedInfo": "[{\"type\":\"text\",\"form\":\"basic\",\"fieldName\":\"姓名\",\"content\":\"\"}]"
}

Content 字段格式(JSON 字串)

参数 参数名称 类型 描述
orderSn 订单号 String 全局唯一
orderSignature 订单签名 String
requestId 请求号 String 下单请求号
payTsnList 支付流水号列表 Array\
terminalSn 交易终端号 String 收钱吧终端号
storeSn 交易门店号 String 收钱吧门店号
mallName 交易商城 String
orderAmount 订单金额 bigint 单位:分
createdAt 下单时间 String 格式 yyyy-MM-dd HH:mm:ss
items 订单项 Array\ 详见「订单项格式」
collectedInfo 采集数据 String JSON 字串,详见「采集数据格式」
preOrderList 支付的代客下单数据 List\ 预订单信息集合
mallSn 商城号 String
payments 支付明细 List\
paidTime 支付时间 String yyyy-MM-dd HH:mm:ss
billSnList 账单号 List\ 订单支付的账单

items

参数 参数名称 类型 示例
title 商品标题 String "衣柜"
skuDesc 规格描述 String "高度"
quantity 数量 String "1"
unit 单位 String "件"

collectedInfo

参数 参数名称 类型 示例
type 控件类型 String "text"
form 控件格式 String "basic"
fieldName 字段名 String "姓名"
content 采集数据内容 String "张三"

preOrderList

参数 参数名称 类型
preOrderId 预订单id String
preOrderSn 预订单编号 String
requestId 请求号 String

payments

参数 参数名称 类型
amount 金额 Long
actualAmount 实际金额 Long
receivedAmount 商户收款金额 Long
payTool 支付工具 Integer
payWayDesc 支付工具描述 String
payTsn 支付流水号 String

验签方式

公共推送验签

results matching ""

    No results matching ""