简要描述:

  • 个体入网

请求域名:

  • http://xx.com

入网申请URL:

POST/&route=plugin.yop-pro.frontend.yop-apply.create

编辑重新申请入网URL:

POST/&route=plugin.yop-pro.frontend.yop-apply.reapply

参数:

参数名 是否必须 类型 说明
type int 2:个体
merShortName string 商户简称
legalName string 法人姓名,请按照证件上的真实姓名准确填写
legalIdCard string 法人身份证号
merLegalPhone int 商户法人手机
merLevel1No int 商户分类一级
merLevel2No int 商户分类二级
merProvince int 所在城市省
merCity int 所在城市市
merDistrict int 所在城市区
merAddress string 详细地址
cardNo string 结算银行卡号
headBankCode string 开户总行
bankProvince string 开户行省
bankCity string 开户行市
bankCode string 开户支行
merFullName string 商户全称
merCertNo string 营业执照号
merLegalEmail string 法人邮箱
[fileInfo][IDCARD_FRONT] string 法人身份证正面
[fileInfo][IDCARD_BACK] string 法人身份证反面
[fileInfo][SETTLE_BANKCARD] string 结算银行卡
[fileInfo][CORP_CODE] string 营业执照
[fileInfo][HAND_IDCARD] string 法人手持营业执照及身份证
[fileInfo][OTHER][] array 其他资质 最多10个
localFile array 项目服务器图片存储地址,键名相同

返回示例:

正确时返回:



{
  "result": 1,
  "msg": "入网申请成功!",
  "data": []
}




{
	"state": "SUCCESS",
	"result": {
		"returnMsg": "请求成功",
		"returnCode": "REG00000",
		"requestNo": "RT20181222102912126868",
		"externalId": "532319477549",
		"parentMerchantNo": "10025325695",
		"merchantNo": "10025947976"
	},
	"ts": 1545445756646,
	"sign": "t9M_QgNLw4ATilATK7G50DY-7cujARoCdxt7CprfP7BYLsJ2cftFEz_k7Cfy0Kk1eXCGRcgKl3w4SmxFOcUGuo0THagfz1xkweYyzpEiuvMHteGiyhviUJCuqzie4fNPrv7JTup86djHOxHNhrxvYdnSeA8XmxmrvuEEUzxXwhUKiVxm1E4ZIKPk_dr-h1Me2dsrnq6SB1QICT1SN0nN-DfDMuLTbLFEiZs4qdGwww6BtUk5y7dLS-dPlD3tTG6CE5U8PTA9wSIXixdsejtRaWl-W0StyMWm005oMjVrYvPkk-umUyGREuFa0VGbT4YSD7_TnaNLshZ7Zl_yTwvIwQ$SHA256",
	"error": null,
	"stringResult": "{\n    \"returnMsg\" : \"请求成功\",\n    \"returnCode\" : \"REG00000\",\n    \"requestNo\" : \"RT20181222102912126868\",\n    \"externalId\" : \"532319477549\",\n    \"parentMerchantNo\" : \"10025325695\",\n    \"merchantNo\" : \"10025947976\"\n  }",
	"format": "json",
	"validSign": true,
	"verSign": null
}

{
    "state": "SUCCESS",
    "result": {
        "returnMsg": "开户银行支行编码 必填项,请填写",
        "returnCode": "REG30002",
        "requestNo": "RT20181221184339722288",
        "parentMerchantNo": "10025325695"
    },
    "ts": 1545389019474,
    "sign": "gEQGedKvDCO5xwVZIeKYUlFbSAkMs6pduB_WLkLSa146HdZ0YnLsQiBbNYmd7BDuVmn_vXIB0Y7yGkPNfC4MxVwWfJ7MPHLOR39kPCMWzYiDjsH0mdHoy3tQfygaFe1bLHkYIHMwhdd0bIlgd5RZuwXFzhBJ_SaC_HGP5ezSqbhKcI4M7VEAxgLaxGDR3wNdhlx9IHbcbGfJxr3SYNSna6GkjQOaTq7by1vpRJ1vQtfaD7acYqkX_bmjVJW6P317LyHcJkgOCX_WEsXd2ObeMPjfbb7u7hJvOl74BoeTePYgCjEdxdaS__oVjy6AetgTvBZDdVfBYv_G_JYEis2Lgw$SHA256",
    "error": null,
    "stringResult": "{\n    \"returnMsg\" : \"开户银行支行编码 必填项,请填写\",\n    \"returnCode\" : \"REG30002\",\n    \"requestNo\" : \"RT20181221184339722288\",\n    \"parentMerchantNo\" : \"10025325695\"\n  }",
    "format": "json",
    "validSign": true,
    "verSign": null
}

错误时返回:

{
  "result": 0,
  "msg": "错误信息!",
  "data": []
}

返回参数说明:

参数名 类型 说明
returnCode int 状态码 成功 REG00000

备注: