易生云MIS技术文档
  1. 5. ERP接口定义
易生云MIS技术文档
  • 文本修改记录
  • 1. 综述
    • 1.1 阅读人员
    • 1.2 定义和术语
    • 1.3 场景和模型
    • 1.4 对接流程
    • 1.5 工具使用说明
  • 2. 接口规范
    • 1. 接口须知
    • 2. 接口规范
    • 3. 签名验签
    • 4. 签名及验签v1
    • 5. 统一示例参数
    • 4. 生成商户公私钥
      VIEW
  • 3. MIS推送接口定义
    • 3.1 推送交易
      POST
    • 3.2 交易查询
      POST
  • 4. 终端推送接口定义
    • 4.1 查询交易详情
      POST
    • 4.2 推送交易
      POST
    • 4.3 获取MQTT连接三元组接口
      LINK
    • 4.4 获取MQTT连接三元组接口
      POST
  • 5. ERP接口定义
    • 5.1 订单创建
      POST
    • 5.2 交易详情
      POST
    • 5.3 交易列表
      POST
    • 5.4 交易成功通知
      POST
  • 6. POS接口定义
    • 6.8 收银员结算
      • 6.8.1 结算信息预览
      • 6.8.2 收银员结算
      • 6.8.3 结算历史分页查询
      • 6.8.4 结算交易分页查询
    • 6.1 待支付订单详情查询
      POST
    • 6.2 待支付订单查询
      POST
    • 6.3 手工录入
      POST
    • 6.4 订单取消
      POST
    • 6.5 需退款订单查询
      POST
    • 6.6 退款订单创建
      POST
    • 6.7 账本查询
      POST
    • 6.9 MIS三方调用报文
      POST
  • 7. 附录
    • 7.1 交易代码定义
    • 7.2 交易状态定义
    • 7.3 请求支付方式
    • 7.4 接口返回码
    • 7.5 公用请求信息
    • 7.6 终端TPDU报文头规范
    • 7.7 支付方式
    • 7.8 卡类型
    • 7.9 计算交易类型
  1. 5. ERP接口定义

5.4 交易成功通知

正式环境
https://cloud-mis.eycard.cn:8443/sklmis
正式环境
https://cloud-mis.eycard.cn:8443/sklmis
POST
/misPayStateNotify
交易支付成功后,主动推送消息通知下游。
注意:
1.接收消息通知的ReqBody建议使用JSONObject或String,避免字段扩充造成验签失败。
2.收到消息后需返回“OK”确认消息,避免消息重发。
3.通知接口验签参考2.3签名验签
通知接口示例:

请求参数

Body 参数application/json

示例
{
    "reqHeader": {
        "transTime": "1978-02-07 01:",
        "transCode": "0003",
        "reqId": "39",
        "certificateId": "70"
    },
    "reqBody": {
        "instDate": "2022-09-18",
        "instTime": "2010-05-03 12:07:10",
        "transSequence": "sed eiusmod ullamco cupidatat labore",
        "transCode": "61",
        "transTime": "1975-01-06 02:57:54",
        "reqId": "42",
        "orderNo": "eu labore",
        "mchtCd": "consequat mollit in sint",
        "reqPayType": "occaecat non",
        "transAmt": "id est velit cillum",
        "orderInfo": "ut sint ex",
        "printInfo": "quis",
        "attach": "ex sint nostrud",
        "origTransSequence": "in",
        "transState": "Ut",
        "keyRsp": "in in sunt",
        "rspCode": "48",
        "payDate": "2016-10-09",
        "payTime": "1991-02-08 05:28:34",
        "termId": "54",
        "termBatchNo": "ut dolore tempor et ipsum",
        "termTransSsn": "Ut dolore",
        "payType": "dolore",
        "refNo": "Duis ullamco adipisicing occaecat laborum",
        "authCode": "99",
        "outRefNo": "do",
        "recOprId": "79",
        "storeId": "79",
        "origTransCode": "75",
        "origInstDate": "1982-05-30",
        "payAmt": "sed aute anim deserunt consequat",
        "cashRegisterNum": "71",
        "theme": "culpa nostrud",
        "customer": "incididunt veniam quis",
        "notifyUrl": "http://rfkfuopds.bv/ckwe"
    },
    "reqSign": "cillum",
    "signType": "SM2"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://cloud-mis.eycard.cn:8443/sklmis/misPayStateNotify' \
--header 'Content-Type: application/json' \
--data-raw '{
    "reqHeader": {
        "transTime": "1978-02-07 01:",
        "transCode": "0003",
        "reqId": "39",
        "certificateId": "70"
    },
    "reqBody": {
        "instDate": "2022-09-18",
        "instTime": "2010-05-03 12:07:10",
        "transSequence": "sed eiusmod ullamco cupidatat labore",
        "transCode": "61",
        "transTime": "1975-01-06 02:57:54",
        "reqId": "42",
        "orderNo": "eu labore",
        "mchtCd": "consequat mollit in sint",
        "reqPayType": "occaecat non",
        "transAmt": "id est velit cillum",
        "orderInfo": "ut sint ex",
        "printInfo": "quis",
        "attach": "ex sint nostrud",
        "origTransSequence": "in",
        "transState": "Ut",
        "keyRsp": "in in sunt",
        "rspCode": "48",
        "payDate": "2016-10-09",
        "payTime": "1991-02-08 05:28:34",
        "termId": "54",
        "termBatchNo": "ut dolore tempor et ipsum",
        "termTransSsn": "Ut dolore",
        "payType": "dolore",
        "refNo": "Duis ullamco adipisicing occaecat laborum",
        "authCode": "99",
        "outRefNo": "do",
        "recOprId": "79",
        "storeId": "79",
        "origTransCode": "75",
        "origInstDate": "1982-05-30",
        "payAmt": "sed aute anim deserunt consequat",
        "cashRegisterNum": "71",
        "theme": "culpa nostrud",
        "customer": "incididunt veniam quis",
        "notifyUrl": "http://rfkfuopds.bv/ckwe"
    },
    "reqSign": "cillum",
    "signType": "SM2"
}'

返回响应

🟢200成功
application/json
Body

示例
"OK"
修改于 2024-05-10 01:20:53
上一页
5.3 交易列表
下一页
6.8.1 结算信息预览
Built with