收藏
回答

【疑问】关于微信校园轻松付预签约接口参数问题请教

接口文档: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文档中定义的参数,求解惑。

回答关注问题邀请回答
收藏

1 个回答

  • Memory (私信不回复)
    Memory (私信不回复)
    2021-10-26

    identity和identify傻傻分不清,你这怎么对比的

    2021-10-26
    有用 1
    回复 1
    • 看这里
      看这里
      2021-10-26
      汗颜,眼花了,怎么找到找不到,非常感谢你了,帮大忙了。
      2021-10-26
      回复
登录 后发表内容