特约商户进件文档里说明超级管理员信息里的身份证号码可传身份证、来往内地通行证、来往大陆通行证、护照,我传身份证格式的时候,接口未有提示,但是我传-香港居民来往内地通行证(证件: H10402667)-的时候,提示:
超级管理员身份证号码(/contact_info/contact_id_number)取值有误:需为15位数字,或18位数字,或17位数字+X.
提交的json
{
"business_code":"20200324343802",
"contact_info":{
"contact_name":"aoVwVic+6dUlP/X1t38CACmH9AHclCc3uK/EQxKBaxKnVTJb72X8WECGq0nfBw4fymxK6mMeDIvwrj0XH59gEX97BATw5EN39taX9p4z83BvOKgoQrCYGM4U2Tgxc8IGvQjpMoLdi99XhOIJIRQOMqIApWit4t+B+8Fz52BOhw9GCEi+Ocilj2o13HPP3D1OX/frYxdAUelKGklIVwdahMX9d7rm7yjRjmao46YtBrz3ezmKtkrw/CyfjVY1T4gqsk7+dw2UirY9PLvkl1Z8SKxFEjPEUmW8PEMkaU4Z6nsAg4Y/GG+EyMlebab79haAWxMqvZGVold7YneJESw7uw==",
"contact_id_number":"LNCinfPIykQaGs24KblFut1p0FZEit085bAKQLTk4ZQGVyyKwiXehigHr9pTwbM9ivDjWWQOu3xocgA3EzNUJuHzUnVtNL6aHS+tFGNm+2BDXtSZrodPODOXLeV9vpYucGVEivRLuW39jAwttuFe9hjMD56OiqmvVoOThKF9Ic5ZSDzlASrm8IqsZTWuP6Eq8vVSbf9GLfFTj/Ow7TJjhmWuO8ft2M+3WWW1eWfgYB0uFRzNeO6O6UklPVr+K0UgW7xkl8e9my0b0hac8l5fol6vi+zyVPdma4era9U8ViXSzjr2O5H/2X9gGKH6QZsi3zV+8c1RmXt+ne6S6tKtVQ==",
"mobile_phone":"s98C1hBv4I93IaopwreN2zJeDL7GqtACB266igT7m33ejvhP9r1tYKbjO+6RZ5yAlWS8lyyT/aF7tj650eHU38iS59YZlIAje19iRBbxydZditvRsnM2mwg7M4ZNE50Re8wRXa8mAShSRjUoqpDiMq4c4zAGPX0CNlsU2uJSotXig02b1t9dxl9cCvvQH2UXZyQs7/LZiRYTf0Zv0TyLwUzBI2AHdIYE3Uhl4eSghhPjgm9SSiTPKPPo80hU00Pf2OCq7NJS69jTQRm3KOk1XD91T7EecoE7meg7ezPlth5QrUN28Hz8CjAGjPWyEy4sN7X+NChj7hkzTh72Z9cLxg==",
"contact_email":"MWg+M134Mq7Tvol/T2JdnaEs+Ap0d4bnoi+21Gjy80XcC8A3FI8hIJ6VTl8jf8j+kB7idWow12qBdA7vO03OCfUmW6x8Alsk0ySZhCtkNAEuCTHTt0wF3nbZgfKB8LI9S06Cd2D7kDQc7r/S+n3n4ciQgt9MODEnxMDU4w5lfRZh3/TUUQ5FiWH2rLTg+qghdApP0ziiLPg+ComKLCWNxMrnx4sZgFHn5oAuTy4R6lRx4Hwi7fUsQ7bRLqZDaOEhZmNmoXRNL8UsBnl/8o8WmI4I+Q+gZ7LhZi2CrHUcZ3pEoLclW7K/adcfcgtKixxl/FlvDbS9nSk598eTvyeKBQ=="
},
"subject_info":{
"subject_type":"SUBJECT_TYPE_INDIVIDUAL",
"business_license_info":{
"license_copy":"0eIX-D7RrmO0SU8NyskPeuTKVNWv5F-QJBQMhqpnj2tei1_YVpqXUZcmc0ypBiNUG6mqQ6qGZXBUk3y7x_oZHFUIjdprTxDCScvy6wANMWg",
"license_number":"111111111111111111",
"merchant_name":"测试",
"legal_person":"测试"
},
"certificate_info":null,
"certificate_letter_copy":null,
"organization_info":null,
"identity_info":{
"id_doc_type":"IDENTIFICATION_TYPE_HONGKONG_PASSPORT",
"id_card_info":null,
"id_doc_info":{
"id_doc_copy":"0eIX-D7RrmO0SU8NyskPepIEzUpaKrP9cJp2THl2JeIC4t6sB3kl2vkeC-XCYD3TLW3gU6RjQdAc2sAKhJDdL8guopn_DxcTV0cZ6vJnn38",
"id_doc_name":"fXyqHSwh1iZvn605E5/rC+7lF0dyx3DRh9p7reea8mo8hxLaKfJCbB6xhPOPNVIdJtsMuBHL6sREaXQAzuQYItXHV5LzAVTPuWFcBGtrsvsE1kNtWzCaQW+jTA0YvDCh/hjuYJw9wdZyhgQwTPZ4xtR775TGtijwbxiMcojoW2ZyjG2rSgwfY83lkIjvk73Pk33uDkvlxy1nY7wHtcljFth4SA8ooSVS9b1omYvCvf4Az9PsHwVTHX7y6FgGsixnqWHdCzJzL5s4qJDBpx4Oe1ROjp7COErXxx1frSU5dY+z50ymbFkTXNDQlC4oau3olVzLUtisGjM4m09Xd/n0KQ==",
"id_doc_number":"Fmx26YVyp+9ILerfM5meJZXGNbetvDTCF4KgvdbiHZSJTt9PNiFLeTlzN0kbt0TzzdlMEXpizP7B+s05qp2whsBA4Fx2aYKwyU0mIyMlpDPW2fXNQRilY4nebyl2C6IPjVg0SNm4jJ39y9iNiBM2/lA7u6V6WTmxwiqbFTHty6rguOeKDY0CPpLQEx5J1/9AD49v5TGlZW888xW74mb6IfRiiDj9T59AN1VFdjnmbdIh4/3GnPKLoaWG3IL4JxPqNypbdONAvb+6BkOq9U4VQtOLkLCrIph9pfmM9WQg+mZyXN9uy+SiX/fZ3SrM+wGNz6GVpm9DEMYAewf/hMOM5g==",
"doc_period_begin":"2020-03-24",
"doc_period_end":"长期"
},
"owner":true
},
"ubo_info":null
},
"business_info":{
"merchant_shortname":"测试",
"service_phone":"13666666666",
"sales_info":{
"sales_scenes_type":[
"SALES_SCENES_STORE"
],
"biz_store_info":{
"biz_store_name":"测试",
"biz_address_code":"120103",
"biz_store_address":"测试地址",
"store_entrance_pic":[
"0eIX-D7RrmO0SU8NyskPeo93pEb05Qfwd2UZTtvLbq9saqDaCl5LaYxCHnhwIcTVUkDgYZNM57OOo_VEmj3qAfcWgSMwGno1WmA8fX28d80"
],
"indoor_pic":[
"0eIX-D7RrmO0SU8NyskPeiKePWKJI_rxoIP4dDNOyRtcW0B4y2ylLMn1KKoDrTllsRbgZ4h2cXPLvD19QzTPuZEsnjVgAyujicqCOb8icjI"
],
"biz_sub_appid":null
},
"mini_program_info":null,
"app_info":null,
"web_info":null,
"mp_info":null,
"wework_info":null
}
},
"settlement_info":{
"settlement_id":"719",
"qualification_type":"机票/机票代理",
"qualifications":[
"0eIX-D7RrmO0SU8NyskPemhypJ2-haTBGMFz6-SN7oTcU1NdYMw0ve8WtuQBou-cFCmzyocuppIvcug31g9PAtjcEnNgC07mFT-LBHpiu8E"
]
},
"bank_account_info":{
"bank_account_type":"BANK_ACCOUNT_TYPE_CORPORATE",
"account_name":"zxz2BpiDGcAVkkBtGQ1CijNe5lomVGUaUAS2dBCymglnT2WdOrK2AZvlnXsteyQ3p4b2Ei5ulQHxX3XCW/VuyUAIni3FzC/rfKv9FOw+0/7lvw66wFWd4Tjtv+kMkrGheJ4RVJJOMh+LYzuI8lTrNDNl5IzoxhJztiAQgP18lUhFd4vnW3OCb8pW1UD5r6l323id+Wwckc4ezlIZJacZo5yLt6FQOHKGT5J/cYDCexrgcHbzOsPdx0e5N2/Yz5MD/vFSWDS/LuLUjo83rXtmk5s9uho5FFiyTgxLE4shNQdAHOPJpoiAMM4sELMzMNZK66EDRROGC+F1+ZTREklggw==",
"account_bank":"工商银行",
"bank_address_code":"140203",
"bank_name":null,
"account_number":"tbQYcb1Qfx5W6ZcFpvvQv+Udg6y9gr2l3lzsQKhvtUJ7yOrGx8LRQRK2SQvAsAR7zgXtpLC4SR3rhpZmUKZizuSQmMo92ZEmtufVyQVdy2IBD2nrnoKgREqz3wg5qz+6YZwuVZQfTz2srpPDWRuF0EtY+H+uhFFXz6FnzVvouZySES8GLU8qwo7fz+WSJQnu8ij/D/C2oI92H4W/+2rDNgXz8eKSnkej/pP1excnP9OzzmHy8/4p20ZoernxICU25AOY6R3w9oWpQkhTStZGOkoBunGCv+46hoj6EJItCmciy7zHBb5RhqoSABgHOccHkoYq9RCZbkZIQ+X2LJSySQ=="
},
"addition_info":{
"business_addition_pics":null,
"business_addition_msg":null
}
}
//返回的结果
{
"code":"PARAM_ERROR",
"message":"超级管理员身份证号码(/contact_info/contact_id_number)取值有误:需为15位数字,或18位数字,或17位数字+X"
}
https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/applyment4sub/chapter3_1.shtml 这里有对应的文档,文档有很详细的说明,严格按照文档要求传参数,参数是一 一对应的,不能随便传。可能是你的加密有问题。