接口文档:https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/edu/eduschoolpay/chapter3_1.shtml
请求参数:{
"appid": "简写",
"bank_card": {
"bank_card_no": "简写",
"bank_type": "COMM_DEBIT",
"phone": "简写"
},
"contract_mode": "LIMIT_BANK_CARD",
"downgrade_default_contract": true,
"identify": {
"credential_type": "IDENTITY_CARD",
"id_card_number": "简写",
"real_name": "简写"
},
"openid": "简写",
"out_contract_code": "简写",
"plan_id": "简写",
"school_id": "简写",
"user_id": "简写"
}
接口返回参数:
{
"code": "PARAM_ERROR",
"detail": {
"location": null,
"value": ["/body/identify", "/body/identify/credential_type", "/body/identify/id_card_number", "/body/identify/real_name"]
},
"message": "请求中含有未在API文档中定义的参数"
}
我对比了我请求的参数和文档上写的参数一致了,但是提示含有未在API文档中定义的参数,求解惑。
identity和identify傻傻分不清,你这怎么对比的