1、请求参数
参数名称 类型 必选 备注
appid string Y 小程序
appidmch_id string Y 支付商户号
nonce_str string Y 随机字符串
encrypted_data string Y 使用AESCBCPKCS7PADDING
iv string Y 用于解密的IV
sign string Y 1~5字段的签名
encrypted_data解密后的数据
参数名称 类型 必选 备注
openid string Y 用户id
2、返回参数
参数名称 类型 必选 备注
errcode int Y 0为成功
errmsg string N 错误信息
nonce_str string Y 原样带回
encrypted_data string Y 使用AESCBCPKCS7PADDING
iv string Y 用于解密的IV
encrypted_data解密后的数据