ESB转发类接口--mq转发请求接口

品牌方通知

电子凭证系统通知到品牌渠道

接口用途

接口说明

请求参数,WHALE===>ESB

通知报文主体

字段 类型 是否必填 字段意义 备注
channelId String 品牌id  
notifyUrl String 通知地址  
notifyType String 通知类型  
messageType String 报文类型 ebuy:易百标准报文格式,third:第三方自定义格式
whaleMessage String 易百标准报文

易百标准报文:制码通知

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 MakeCodeNotify
bizContent JSONString<makeCodeNotify> 制码通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:制码订单作废

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 MakeVoidNotify
bizContent JSONString<makeVoidNotify> 制码订单作废通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:码状态更新通知

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 UpdateCodeStatusNotify
bizContent JSONString<updateCodeStatusNotify> 更新码状态通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:码延期通知

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 CodeDelayNotify
bizContent JSONString<codeDelayNotify> 码延期通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:码过期通知

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 CodeExpireNotify
bizContent JSONString<codeExpireNotify> 码过期通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:串码核销

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 VerifyNotify
bizContent JSONString<verifyNotify> 核销通知报文json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:串码核销撤销

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 VerifyVoidNotify
bizContent JSONString<verifyVoidNotify> 核销撤销通知报文json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

取码方通知

电子凭证系统通知到取码方

接口用途

接口说明

请求参数,WHALE===>ESB

通知报文主体

字段 类型 是否必填 字段意义 备注
channelId String 品牌id  
notifyUrl String 通知地址  
notifyType String 通知类型  
messageType String 报文类型 Ebuy:易百标准报文格式,Third:第三方自定义格式
whaleMessage String 易百标准报文

易百标准报文:串码核销

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 VerifyNotify
bizContent JSONString<verifyNotify> 核销通知报文json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:串码核销撤销

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 VerifyVoidNotify
bizContent JSONString<verifyVoidNotify> 核销撤销通知报文json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:码状态更新

字段 类型 是否必填 字段意义 备注
appId String(10) 电子凭证系统对接方id  
action String(20) 业务标识 UpdateCodeStatusNotify
bizContent JSONString<updateCodeStatusNotify> 更新码状态通知json字符串  
version String(10) 版本号
timestamp String 时间戳  
sign String 签名

制码方通知

电子凭证系统通知到制码方

接口用途

接口说明

请求参数,WHALE===>ESB

通知报文主体

字段 类型 是否必填 字段意义 备注
channelId String 品牌id  
notifyUrl String 通知地址  
notifyType String 通知类型  
messageType String 报文类型 Ebuy:易百标准报文格式,Third:第三方自定义格式
whaleMessage String 易百标准报文

易百标准报文:码状态更新通知

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 UpdateCodeStatusNotify
bizContent JSONString<updateCodeStatusNotify> 更新码状态通知json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

代理渠道通知

电子凭证系统通知到代理商

接口用途

接口说明

请求参数,WHALE===>ESB

通知报文主体

字段 类型 是否必填 字段意义 备注
channelId String 代理商id  
notifyUrl String 通知地址  
notifyType String 通知类型  
messageType String 报文类型 Ebuy:易百标准报文格式,Third:第三方自定义格式
whaleMessage String 易百标准报文

易百标准报文:串码核销

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 VerifyNotify
bizContent JSONString<verifyNotify> 核销通知报文json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

易百标准报文:串码核销撤销

字段 类型 是否必填 字段意义 备注
appId String 电子凭证系统对接方id  
action String 业务标识 VerifyVoidNotify
bizContent JSONString<verifyVoidNotify> 核销撤销通知报文json字符串  
version String 版本号
timestamp String 时间戳  
sign String 签名

第三方微信卡包通知

调用第三方插入微信卡包接口

接口用途

接口说明

url

请求参数,WHALE===>ESB

字段 类型 是否必填 字段意义 备注
channelId String 外部制码方id  
requestId String 请求流水号 32个字符,用于标识唯一一笔交易
codes String 码号  
userUnionId String 微信用户唯一识别号  
appId String 公众号id  
userOpenId String 微信用户唯一识别号  
sign String 签名

请求报文举例

{
    "channelId":"10002401",
    "requestId": "20181019112535100000000000000002",
    "codes": "1021242013780905000",
    "userUnionId":"2429********************",
    "sign":"deid3412dj98s34lix"
}

返回参数,ESB===>WHALE

字段 类型 是否必填 字段意义 备注
returnCode String 请求返回码  
returnMsg String 请求返回信息

返回报文举例

{
    "returnCode": "00",
    "returnMsg": "操作成功",
}