3 New Api易支付消息回调

官方文档


文档

接口:


{New API host}/api/user/epay/notify

对应文件位置


topup.go文件里的方法EpayNotify

参数说明:


字段名变量名是否必须类型示例值描述
New Api平台的订单号out_trade_no是string
易支付平台的订单号trade_no是string
支付方式type是string
产品名称name否string
金额money否string
处理后的状态trade_status是string可选值:TRADE_SUCCESS 成功
WAIT_BUYER_PAY 待支付
TRADE_CLOSED 已关闭
签名值sign是string202cb962ac59075b964b07152d234b70
签名方式sign_type是stringMD5固定值MD5

返回值:


成功返回 success

失败返回: fail

备注说明


加签名方式见文章(可点击)

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注