招商规则说明
" }, "enroll_end_time" : { "type" : "string", "description" : "报名结束时间", "example" : "2021-01-01 01:01:01" }, "enroll_rules" : { "type" : "array", "description" : "招商报名规则。\t说明:\t1. 查询到的规则将用于 alipay.marketing.recruit.enroll.create(招商报名提交)接口。\t2. enroll_rules.required 为 true 时,enroll_rules.type 对应的内容类型在报名提交时必填。", "items" : { "$ref" : "#/components/schemas/RecruitEnrollRule" } }, "enroll_scene_type" : { "type" : "string", "description" : "招商方案所属报名场景 枚举值: VOUCHER:券报名场景; MINI_APP:小程序报名场景;", "example" : "VOUCHER" }, "enroll_start_time" : { "type" : "string", "description" : "报名开始时间", "example" : "2021-01-01 01:01:01" }, "logo" : { "type" : "string", "description" : "方案头图链接,150x150 以上尺寸的方形图片", "example" : "https://xxxx" }, "plan_id" : { "type" : "string", "description" : "招商方案ID", "example" : "2021042001000100000000668277" }, "plan_name" : { "type" : "string", "description" : "招商方案名称", "example" : "招商方案名称" }, "status" : { "type" : "string", "description" : "方案状态: 不可用:DISABLED;可用:ENABLED", "example" : "ENABLED" } } }, "AlipayMarketingRecruitPlanlistQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BUSINESS_FAILED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMarketingRecruitPlanlistQueryModel" : { "type" : "object", "properties" : { "enroll_merchant" : { "$ref" : "#/components/schemas/RecruitEnrollMerchant" }, "enroll_scene_type" : { "type" : "string", "description" : "活动报名场景配置。 \t枚举值:\tVOUCHER:券报名场景查询;\tMINI_APP:小程序报名场景查询;\tVOUCHER,MINI_APP:同时进行券报名场景和小程序报名场景的查询;", "example" : "VOUCHER" }, "page_num" : { "type" : "integer", "description" : "第几页,默认1(需要在1和999之间)", "example" : "1" }, "page_size" : { "type" : "integer", "description" : "每页记录条数,默认20,需要在1和100之间", "example" : "20" } } }, "AlipayMarketingRecruitPlanlistQueryResponseModel" : { "type" : "object", "properties" : { "data" : { "type" : "array", "description" : "方案列表", "items" : { "$ref" : "#/components/schemas/RecruitPlanLight" } }, "page_num" : { "type" : "integer", "description" : "第几页,默认1(从1开始计数)", "example" : "1" }, "page_size" : { "type" : "integer", "description" : "每页记录条数,默认20", "example" : "20" }, "total" : { "type" : "integer", "description" : "总数", "example" : "15" } } }, "AlipayMarketingXuanyitestTransferErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMarketingXuanyitestTransferModel" : { "type" : "object", "properties" : { "test" : { "type" : "array", "description" : "测试的基础描述", "items" : { "type" : "string" }, "example" : "[\"11\",\"12\"]" }, "test_21" : { "type" : "array", "description" : "测试复杂类型描述", "items" : { "$ref" : "#/components/schemas/Marketingtest" } }, "test_22" : { "$ref" : "#/components/schemas/Marketingtestt" } } }, "AlipayMarketingXuanyitestTransferResponseModel" : { "type" : "object", "properties" : { "test" : { "type" : "array", "description" : "12", "items" : { "type" : "string" }, "example" : "[\"11\",\"12\"]" }, "test_21" : { "type" : "array", "description" : "测试复杂类型描述", "items" : { "$ref" : "#/components/schemas/Marketingtest" } } } }, "AlipayMerchantAnchorInfoQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "NO_ACCESS_TO_MESSAGE", "APPID_NOT_AUTHENTICATION", "SYSTEM_ERROR", "INVALID_PARAMETER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantAnchorInfoQueryResponseModel" : { "type" : "object", "properties" : { "anchor_id" : { "type" : "string", "description" : "主播ID+唯一+天猫好房带货+根据uid获取", "example" : "2242419387" } } }, "AlipayMerchantImageUploadErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "IMAGE_SIZE_OVERRANGE", "PARAM_ILLEGAL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantImageUploadModel" : { "type" : "object", "properties" : { "image_type" : { "type" : "string", "description" : "图片格式,支持格式:jpg、jpeg、png", "example" : "jpg" } } }, "AlipayMerchantImageUploadResponseModel" : { "type" : "object", "properties" : { "image_id" : { "type" : "string", "description" : "图片在文件存储平台的标识", "example" : "ySYHS5CtTCmag14Wk8jeNAAAACMAAQED" } } }, "AlipayMerchantIndirectAuthorderCloseErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_PARAMETER", "AUTH_ORDER_NOT_EXIST", "DEPEND_FAILURE", "AUTH_ORDER_CANCEL_ILLEGAL", "AUTH_ORDER_CANCEL_FAILED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantIndirectAuthorderCloseModel" : { "type" : "object", "properties" : { "order_no" : { "type" : "string", "description" : "意愿申请单号,参数二选一", "example" : "20220000666660001" }, "out_biz_no" : { "type" : "string", "description" : "外部业务号,参数二选一,业务自定义,保证唯一", "example" : "0000001" } } }, "AlipayMerchantIndirectAuthorderCloseResponseModel" : { "type" : "object" }, "AlipayMerchantIndirectAuthorderCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "AUTH_IDENTITY_TYPE_ILLEGAL", "AUTH_ORDER_CREATE_FAILED", "AUTH_ORDER_ISV_HAS_RISK", "DEPEND_FAILURE", "CREATE_ORDER_INFO_FAIL", "SERVICE_UNAVAILABLE", "INVALID_PARAMETER", "LEGAL_PERSON_NAME_NOT_EQUAL", "BIZ_CERT_ILLEGAL_CERT_NO" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantIndirectAuthorderCreateModel" : { "type" : "object", "properties" : { "auth_identity_info" : { "$ref" : "#/components/schemas/AuthIdentityInfo" }, "benefit_person_info" : { "$ref" : "#/components/schemas/IndirectBenefitPersonInfo" }, "contact_person_info" : { "$ref" : "#/components/schemas/IndirectContactPersonInfo" }, "extra_credentials" : { "$ref" : "#/components/schemas/IndirectExtraCredentials" }, "legal_person_info" : { "$ref" : "#/components/schemas/IndirectLegalPersonInfo" }, "out_biz_no" : { "type" : "string", "description" : "外部业务号", "example" : "00000001" }, "source" : { "type" : "string", "description" : "1. 收单机构调用API提交申请单时,可选择是否指定单个服务商范围。非收单机构无需填写此字段。\t2. 此字段填写单个服务商pid信息:填写(即:单服务商提交认证方式),查询申请单返回的认证二维码qr_code和填写服务商对应,仅能认证填写服务商下的商户;不填写(即:全服务商提交认证方式),查询申请单返回的认证二维码qr_code和收单机构对应,可认证收单机构下全部商户。", "example" : "2088000000000001" } } }, "AlipayMerchantIndirectAuthorderCreateResponseModel" : { "type" : "object", "properties" : { "order_no" : { "type" : "string", "description" : "申请单号", "example" : "20001101" }, "order_status" : { "type" : "string", "description" : "意愿申请单状态,枚举值:审核中(AUDITING)、待联系人确认(CONTACT_CONFIRM),待法人确认(LEGAL_CONFIRM)、审核通过(AUDIT_PASS)、审核失败(AUDIT_REJECT)、已冻结(AUDIT_FREEZE)、已撤回(CANCELED)、联系人处理中(CONTACT_PROCESSING)", "example" : "AUDITING" } } }, "AlipayMerchantIndirectAuthorderQuerystatusErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_PARAMETER", "AUTH_ORDER_NOT_EXIST", "DEPEND_FAILURE" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantIndirectAuthorderQuerystatusModel" : { "type" : "object", "properties" : { "order_no" : { "type" : "string", "description" : "商家认证申请单号,参数二选一", "example" : "20220000666660001" }, "out_biz_no" : { "type" : "string", "description" : "外部业务号,参数二选一,业务自定义,保证唯一", "example" : "0000001" }, "source" : { "type" : "string", "description" : "1. 收单机构调用API提交申请单时,可选择是否指定单个服务商范围。非收单机构无需填写此字段。\t2. 此字段填写单个服务商pid信息:填写(即:单服务商提交认证方式),查询申请单返回的认证二维码qr_code和填写服务商对应,仅能认证填写服务商下的商户;不填写(即:全服务商提交认证方式),查询申请单返回的认证二维码qr_code和收单机构对应,可认证收单机构下全部商户。", "example" : "2088000000000001" } } }, "AlipayMerchantIndirectAuthorderQuerystatusResponseModel" : { "type" : "object", "properties" : { "order_no" : { "type" : "string", "description" : "商家认证申请单号", "example" : "20220000666660001" }, "order_status" : { "type" : "string", "description" : "商家认证申请单状态,枚举值:审核中(AUDITING)、待联系人确认(CONTACT_CONFIRM),待法人确认(LEGAL_CONFIRM)、审核通过(AUDIT_PASS)、审核失败(AUDIT_REJECT)、已冻结(AUDIT_FREEZE)、已撤回(CANCELED)、联系人处理中(CONTACT_PROCESSING)", "example" : "AUDITING" }, "qr_code" : { "type" : "string", "description" : "商家认证小程序二维码图片链接,申请单状态处于审核通过、待联系人确认、待法人确认、已冻结、审核失败时返回,商户使用支付宝APP扫码后完成后续确认、修改信息等动作。\t此字段是平台生成并返回的二维码码值,通过浏览器访问即可获得一个二维码的图片。服务商在推广过程中,可引导商家使用支付宝APP扫描此二维码,进入认证申请单页面,完成认证申请的后续确认操作。", "example" : "https://qrcode.alipay.com/token/test" }, "verify_list" : { "type" : "array", "description" : "申请单审核失败时的原因描述列表", "items" : { "$ref" : "#/components/schemas/IndirectAuthOrderFailedReason" } } } }, "AlipayMerchantIndirectSmidbindQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_PARAMETER", "DEPEND_FAILURE", "SMID_QUERY_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantIndirectSmidbindQueryResponseModel" : { "type" : "object", "properties" : { "check_result" : { "type" : "string", "description" : "确认状态,枚举:已确认(AUTHORIZED)/未确认(UNAUTHORIZED)/已销户(CLOSED)/smid不存在(SMID_NOT_EXIST)", "example" : "AUTHORIZED" } } }, "AlipayMerchantIotDeviceBindErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "DEVICE_NOT_EXIST", "TRADE_NOT_EXIST", "MERCHANT_ID_UNMATCHED", "SMID_UNMATCHED", "SHOP_ID_UNMATCHED", "BIND_FAIL", "OPERATION_PERMISSION_DENIED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantIotDeviceBindModel" : { "type" : "object", "properties" : { "biz_tid" : { "type" : "string", "description" : "设备 ID ,仅device_id_type 为 ID 时填写。", "example" : "01017gV1CZ1XxASNbqkTJqchletNyVXtsKy1PAs4FKZ6tjRMqyMG2Zk" }, "device_id_type" : { "type" : "string", "description" : "可选方式。枚举支持:\t* ID:表示使用 biztid 作为设备唯一识别标识,\t* SN:表示使用 supplier_id、device_sn联合作为设备唯一识别标识。\t注意:由于不同机型的supplier_id不同,推荐使用 ID 。", "example" : "SN" }, "device_sn" : { "type" : "string", "description" : "设备序列号 ,device_id_type 为 SN 时填写。需配合supplier_id使用。", "example" : "QCF420190316000107" }, "merchant_type" : { "type" : "string", "description" : "商户类型。枚举支持:\t* direct:直连商户;\t* indirect:间连商户。", "example" : "indirect" }, "pid" : { "type" : "string", "description" : "直连场景填写商户收单pid。间连场景填写smid绑定的pid(可通过代运营授权API获取)。", "example" : "2088101112139885" }, "shop_id" : { "type" : "string", "description" : "商户pid名下的球房 ID。可通过球房管理API获取,需注意请勿使用smid创建球房 ID。", "example" : "2020081700502012300038796029" }, "smid" : { "type" : "string", "description" : "直连场景不填,间连场景填写商户收单smid", "example" : "2088101112139886" }, "supplier_id" : { "type" : "string", "description" : "设备供应商ID ,device_id_type 为 SN 时填写。需注意不同机型的供应商ID可能不同。", "example" : "201812271300540049" } } }, "AlipayMerchantIotDeviceBindResponseModel" : { "type" : "object" }, "AlipayMerchantIotDeviceQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "DEVICE_NOT_EXIST", "ACCESS_DENIED", "RECORD_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantIotDeviceQueryResponseModel" : { "type" : "object", "properties" : { "merchant_type" : { "type" : "string", "description" : "商户类型。direct表示直连商户,indirect表示间连商户。", "example" : "indirect" }, "pid" : { "type" : "string", "description" : "设备绑定的商户支付宝pid。直连场景为商户收单pid,间连场景为商户smid绑定的pid。", "example" : "2088101112139885" }, "shop_id" : { "type" : "string", "description" : "设备绑定的球房ID。", "example" : "2020081700502012300038796029" }, "smid" : { "type" : "string", "description" : "商户smid。直连场景为空。", "example" : "2088101112139886" } } }, "AlipayMerchantIotDeviceVerifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "DEVICE_NOT_EXIST", "TRADE_NOT_EXIST", "MERCHANT_ID_UNMATCHED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantIotDeviceVerifyModel" : { "type" : "object", "properties" : { "biz_tid" : { "type" : "string", "description" : "设备 ID ,device_id_type 为 ID 时填写。", "example" : "01017gV1CZ1XxASNbqkTJqchletNyVXtsKy1PAs4FKZ6tjRMqyMG2Zk" }, "device_id_type" : { "type" : "string", "description" : "可选方式 [ID,SN]。ID-使用biztid作为设备唯一识别标识;SN-使用supplier_id、device_sn联合作为设备唯一识别标识。由于不同机型的supplier_id不同,推荐使用 ID 。", "example" : "SN" }, "device_sn" : { "type" : "string", "description" : "设备序列号 ,device_id_type 为 SN 时填写。需配合supplier_id使用。", "example" : "QCF420190316000107" }, "merchant_type" : { "type" : "string", "description" : "商户类型,直连商户填写direct,间连商户填写indirect", "example" : "indirect" }, "pid" : { "type" : "string", "description" : "直连场景填写商户收单pid,间连场景不填", "example" : "2088101112139885" }, "smid" : { "type" : "string", "description" : "直连场景不填,间连场景填写商户收单smid", "example" : "2088101112139886" }, "supplier_id" : { "type" : "string", "description" : "设备供应商ID ,device_id_type 为 SN 时填写。需注意不同机型的供应商ID可能不同。", "example" : "201812271300540049" } } }, "AlipayMerchantIotDeviceVerifyResponseModel" : { "type" : "object" }, "AlipayMerchantItemFileUploadErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "INFO_SEC_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantItemFileUploadModel" : { "type" : "object", "properties" : { "scene" : { "type" : "string", "description" : "业务场景描述。\t小程序订单中心场景固定为 SYNC_ORDER。", "example" : "SYNC_ORDER" } } }, "AlipayMerchantItemFileUploadResponseModel" : { "type" : "object", "properties" : { "material_id" : { "type" : "string", "description" : "文件在商品中心的素材标识(素材ID长期有效)", "example" : "2019010100502200000000000001" }, "material_key" : { "type" : "string", "description" : "文件在商品中心的素材标示,创建/更新商品时使用", "example" : "A*bJXMRYFoBcIAAAGGGGAAAABjAQWWWW" } } }, "AlipayMerchantLiveChannelQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantLiveChannelQueryResponseModel" : { "type" : "object", "properties" : { "channel_content" : { "type" : "string", "description" : "渠道内容,包含主播、文章的上游信息。字符串内容为Map,需要转换", "example" : "{}" }, "channel_identity" : { "type" : "string", "description" : "渠道业务标识", "example" : "A202212020736054901000799_2292541656" }, "channel_secret" : { "type" : "string", "description" : "渠道密文", "example" : "b07d6694341b69c406522d3ff28d9807" }, "channel_type" : { "type" : "string", "description" : "渠道类型", "example" : "LIVE_POCKET" } } }, "AlipayMerchantLiveItemplanModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantLiveItemplanModifyModel" : { "type" : "object", "properties" : { "content" : { "type" : "array", "description" : "投放内容,数组,内容为具体条目", "items" : { "$ref" : "#/components/schemas/ItemPlanContentDO" } }, "end_time" : { "type" : "string", "description" : "可空,计划截止时间", "example" : "2022-01-01 00:00:01" }, "op_type" : { "type" : "string", "description" : "针对投放内容的操作, 包含3种类型:\t覆盖:OVERRIDE \t追加:APPEND \t删除:DELETE", "example" : "APPEND" }, "operator_appid" : { "type" : "string", "description" : "投放方标识,一般为小程序id", "example" : "2021003126612033" }, "operator_type" : { "type" : "string", "description" : "投放方类型,生活号:LIFE_APP 达人:CONTENT_USER 小程序:TINYAPP", "example" : "TINYAPP" }, "plan_name" : { "type" : "string", "description" : "投放计划名,可空", "example" : "测试计划" }, "start_time" : { "type" : "string", "description" : "可空,计划生效时间", "example" : "2022-01-01 00:00:01" }, "status" : { "type" : "integer", "description" : "计划状态 0待生效 1生效中 -1已作废", "example" : "1" }, "target_id" : { "type" : "string", "description" : "投放目标,一般为生活号id,多个逗号隔开", "example" : "2021003126612050" }, "target_range" : { "type" : "string", "description" : "投放范围, 指主体内的具体子渠道,为空则任意子渠道", "example" : "空" }, "target_type" : { "type" : "string", "description" : "投放目标类型\t生活号:LIFE_APP \t达人:CONTENT_USER \t小程序:TINYAPP", "example" : "PUBLICAPP" } } }, "AlipayMerchantLiveItemplanModifyResponseModel" : { "type" : "object", "properties" : { "msg_info" : { "type" : "string", "description" : "针对操作结果的说明", "example" : "成功" } } }, "AlipayMerchantOrderSyncErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "MATERIAL_ID_ILLEGAL", "CONTENT_ILLEGAL", "TINY_APP_ID_NULL", "TINY_APP_ID_ILLEGAL", "LOGISTICS_INFO_EXIST", "TRADE_NOT_EXIST", "ITEM_INFO_NOT_COMPLETE", "NO_PERMISSOON", "ORDER_ERROR_STATUS", "LOGISTICS_SIZE_LARGE", "ITEM_HAS_EXIST", "AMOUNT_ILLEGAL", "RECORD_NOT_EXIST", "DATA_INCONSISTENT", "ITEM_DUPLICATED", "BUYER_STATUS_ERROR", "RECORD_ID_IS_NULL", "OUT_BIZ_NO_IS_NULL", "BUYER_ID_IS_NULL", "BUYER_INFO_IS_NULL", "BUYER_NAME_IS_NULL", "BUYER_MOBILE_ILLEGAL", "BUYER_MOBILE_IS_NULL", "BUYER_CERT_NO_IS_NULL", "SELLER_ID_IS_NULL", "AMOUNT_IS_NULL", "PAY_AMOUNT_IS_NULL", "PAY_TIMEOUT_EXPRESS_ILLEGAL", "MERCHANT_ORDER_STATUS_ILLEGAL", "BUYER_NOT_FOUND", "BUYER_INFO_ERROR", "RECORD_ID_ILLEGAL", "MINICENTER_INVOKE_ERROR", "SETTLEQUERY_INVOKE_ERROR", "TRADEQUERY_INVOKE_ERROR", "MERCHANT_LINK_EXIST", "ARGUMENT_NULL", "PAY_CHANNEL_IS_NULL", "PAY_CHANNEL_ERROR", "TRADE_NO_NOT_MATCH", "INFO_SEC_ERROR", "ITEM_NOT_MATCH", "TINY_APP_IS_NOT_ONLINE", "TINY_APP_ID_NOT_SYNC_EQUAL_TRADE", "DATA_ACCESS_EXCEPTION", "INVALID_ORDER_AUTH_CODE", "SERVICE_REFUSED", "DUPLICATE_REQUEST", "NO_NEED_RETRY_ERROR", "SERVICE_CODE_STATUS_ERROR", "USER_NOT_AUTHORIZED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantOrderSyncModel" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "订单金额,单位为【元】。SERVICE_ORDER且不涉及金额可不传入该字段,其他场景必传", "example" : "12.34" }, "buyer_id" : { "type" : "string", "description" : "买家userId", "example" : "2088102165400195" }, "buyer_info" : { "$ref" : "#/components/schemas/UserInfomation" }, "buyer_open_id" : { "type" : "string", "description" : "OpenId是用户(buyer_id)在应用(AppId)下的唯一用户标识.", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "category_id" : { "type" : "string", "description" : "标准服务类目", "example" : "C000003191" }, "discount_amount" : { "type" : "string", "description" : "优惠金额,单位为【元】", "example" : "2.44" }, "discount_info_list" : { "type" : "array", "description" : "订单优惠信息", "items" : { "$ref" : "#/components/schemas/DiscountInfoData" } }, "ext_info" : { "type" : "array", "description" : "扩展信息,请参见 小程序订单中心;扫码点餐产品文档。", "items" : { "$ref" : "#/components/schemas/OrderExtInfo" } }, "item_order_list" : { "type" : "array", "description" : "商品信息列表", "items" : { "$ref" : "#/components/schemas/ItemOrderInfo" } }, "journey_order_list" : { "type" : "array", "description" : "行程信息", "items" : { "$ref" : "#/components/schemas/OrderJourneyInfo" } }, "logistics_info_list" : { "type" : "array", "description" : "物流信息\r\t列表最多支持物流信息个数,请参考产品文档\r\t注:若该值不为空,且物流信息同步至我的快递,则在查询订单时可返回具体物流信息", "items" : { "$ref" : "#/components/schemas/OrderLogisticsInformationRequest" } }, "order_auth_code" : { "type" : "string", "description" : "本字段已废弃,无需填写!", "example" : "DFSDLIGWGDF5SDLFA" }, "order_create_time" : { "type" : "string", "description" : "订单创建时间\t当order_type为SERVICE_ORDER时必传", "example" : "2020-01-01 08:00:00" }, "order_modified_time" : { "type" : "string", "description" : "订单修改时间。用于订单状态或数据变化较快的顺序控制,SERVICE_ORDER按照行业标准化接入场景必须传入该字段控制乱序。order_modified_time较晚的同步会被最终存储,order_modified_time相同的两次同步会被幂等处理", "example" : "2020-01-01 08:00:01.123" }, "order_pay_time" : { "type" : "string", "description" : "订单支付时间\t当pay_channel为非ALIPAY时,且订单状态已流转到“支付”或支付后时,需要将支付时间传入", "example" : "2020-01-02 08:00:00" }, "order_type" : { "type" : "string", "description" : "订单类型,新接入商户统一传入SERVICE_ORDER(服务订单)", "example" : "SERVICE_ORDER" }, "out_biz_no" : { "type" : "string", "description" : "外部订单号\tout_biz_no唯一对应一笔订单,相同的订单需传入相同的out_biz_no", "example" : "1234" }, "partner_id" : { "type" : "string", "description" : "交易对应的签约商户userId\t注意:该字段自2020-02-16日起,可以不传入", "example" : "2088301176313427" }, "pay_amount" : { "type" : "string", "description" : "支付金额,单位为【元】,需要实际支付的金额。SERVICE_ORDER且不涉及金额可不传入该字段,其他场景必传", "example" : "9.90" }, "pay_timeout_express" : { "type" : "string", "description" : "支付超时时间,超过时间支付宝自行关闭订单", "example" : "15h" }, "record_id" : { "type" : "string", "description" : "商户订单同步记录id", "example" : "2019103000502300270200000001268074" }, "seller_id" : { "type" : "string", "description" : "卖家userId\t注意:该字段自2020-02-16日起,可以不传入", "example" : "2088301176313427" }, "send_msg" : { "type" : "string", "description" : "是否需要小程序订单代理发送模版消息,Y代表需要发送,N代表不需要发送,不传默认不发送", "example" : "Y" }, "service_code" : { "type" : "string", "description" : "服务code:传入小程序后台提报的服务id,将订单与服务关联,有利于提高服务曝光机会;入参服务id的类目须与订单类型相符,若不相符将会报错;如订单类型为“外卖”,则入参的服务ID所对应的服务类目也必须得是”外卖“;service_code 通过 alipay.open.app.service.apply,(服务提报申请)接口创建服务后获取。", "example" : "2018072411000000099497" }, "shop_info" : { "$ref" : "#/components/schemas/OrderShopInfo" }, "source_app" : { "type" : "string", "description" : "用于区分用户下单的订单来源,如\tAlipay-支付宝端内(默认)\tDingTalk-钉钉小程序", "example" : "Alipay" }, "sync_content" : { "type" : "string", "description" : "同步内容\t-JOURNEY_ONLY 仅行程信息\t-ALL 全部(默认)", "example" : "JOURNEY_ONLY" }, "ticket_info" : { "$ref" : "#/components/schemas/TicketInfo" }, "ticket_order_list" : { "type" : "array", "description" : "凭证信息", "items" : { "$ref" : "#/components/schemas/TicketOrderInfo" } }, "trade_no" : { "type" : "string", "description" : "订单所对应的支付宝交易号", "example" : "2019052322001400191000023731" }, "trade_type" : { "type" : "string", "description" : "交易号类型\t1. TRADE-交易,为空默认为TRADE\t2. TRANSFER-转账\t3. ENTRUST-受托", "example" : "TRADE" } } }, "AlipayMerchantOrderSyncResponseModel" : { "type" : "object", "properties" : { "distribute_result" : { "type" : "array", "description" : "分发结果\t若未分发到场景侧,则会返回具体的未分发原因", "items" : { "$ref" : "#/components/schemas/OrderDataDistributeInfo" } }, "order_id" : { "type" : "string", "description" : "支付宝订单号", "example" : "2019052300502300190500000000102188" }, "order_status" : { "type" : "string", "description" : "订单状态", "example" : "PAID" }, "record_id" : { "type" : "string", "description" : "同步订单记录id\t(自2022年5月19日起,新接入商户,除点餐场景,该字段不再返回)", "example" : "2019103000502300270200000001268074" }, "sync_suggestions" : { "type" : "array", "description" : "订单同步优化建议,供开发者参考", "items" : { "$ref" : "#/components/schemas/OrderDataSyncSuggestion" } } } }, "AlipayMerchantTradecomplainBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "AUTHORITY_ILLEGAL", "PARAM_ILLEGAL", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantTradecomplainBatchqueryModel" : { "type" : "object", "properties" : { "begin_time" : { "type" : "string", "description" : "查询开始时间\t时间格式:yyyy-MM-dd HH:mm:ss\t若不填写,则默认当前时间30天前。\t注意:begin_time和end_time时间跨度最大一年", "example" : "\"2020-02-14 14:23:12\"" }, "end_time" : { "type" : "string", "description" : "查询结束时间\t时间格式:yyyy-MM-dd HH:mm:ss\t若不填写,则默认当前时间。\t注意:begin_time和end_time时间跨度最大一年", "example" : "\"2020-02-14 14:23:12\"" }, "page_num" : { "type" : "integer", "description" : "当前页,从1开始", "example" : "1" }, "page_size" : { "type" : "integer", "description" : "每页条数,默认10条,最多支持20条", "example" : "10" }, "status" : { "type" : "string", "description" : "状态如下\t待处理:MERCHANT_PROCESSING \t已处理:MERCHANT_FEEDBACKED \t投诉完结:FINISHED \t投诉关闭:CANCELLED \t客服处理中:PLATFORM_PROCESSING \t客服处理完结:PLATFORM_FINISH \t投诉关闭:CLOSED", "example" : "MERCHANT_PROCESSING" }, "target_infos" : { "type" : "array", "description" : "应用信息", "items" : { "$ref" : "#/components/schemas/TargetInfo" } } } }, "AlipayMerchantTradecomplainBatchqueryResponseModel" : { "type" : "object", "properties" : { "page_num" : { "type" : "integer", "description" : "当前页码数", "example" : "1" }, "page_size" : { "type" : "integer", "description" : "每页记录数", "example" : "10" }, "total_num" : { "type" : "integer", "description" : "总条数", "example" : "55" }, "total_page_num" : { "type" : "integer", "description" : "总页码数", "example" : "5" }, "trade_complain_infos" : { "type" : "array", "description" : "交易纠纷工单列表信息", "items" : { "$ref" : "#/components/schemas/TradeComplainQueryResponse" } } } }, "AlipayMerchantTradecomplainFeedbackSubmitErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "SUBMIT_CONTENT_VIOLATION", "AUTHORITY_ILLEGAL", "PARAM_ILLEGAL", "REFUND_FEEDBACK_FAILED", "STATUS_CHANGED", "WAITING_REFUND", "REFUND_ALREADY_SUCCEED", "SECURITY_INTERCEPT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantTradecomplainFeedbackSubmitModel" : { "type" : "object", "properties" : { "complain_event_id" : { "type" : "string", "description" : "支付宝侧投诉单号", "example" : "2020092300102000000001459758" }, "feedback_code" : { "type" : "string", "description" : "反馈类目ID\t00:使用体验保障金退款;\t02:通过其他方式退款;\t03:已发货;\t04:其他;\t05:已完成售后服务;\t06:非我方责任范围;", "example" : "02" }, "feedback_content" : { "type" : "string", "description" : "反馈内容,字数不超过200个字", "example" : "钱已退款给您,请查收" }, "feedback_images" : { "type" : "string", "description" : "商家处理投诉时反馈凭证的图片id,多个逗号隔开(图片id可以通过\"商户上传处理图片\"接口获取)", "example" : "wAe1XmjGS8mBSV0FFklAUgAAACMAAQED,A*C5jFT7v7SIMAAAAAAAAAAAAADpp1AQ" }, "operator" : { "type" : "string", "description" : "处理投诉人,字数不超过6个字", "example" : "王芳" } } }, "AlipayMerchantTradecomplainFeedbackSubmitResponseModel" : { "type" : "object" }, "AlipayMerchantTradecomplainQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "AUTHORITY_ILLEGAL", "PARAM_ILLEGAL", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantTradecomplainQueryResponseModel" : { "type" : "object", "properties" : { "complain_event_id" : { "type" : "string", "description" : "支付宝侧投诉单号", "example" : "2020092300102000000001459758" }, "complain_reason" : { "type" : "string", "description" : "用户投诉原因", "example" : "重复扣款" }, "content" : { "type" : "string", "description" : "用户投诉内容", "example" : "已经扣除了我的钱,为什么再次扣款???" }, "gmt_create" : { "type" : "string", "description" : "投诉单创建时间", "example" : "2020-02-14 14:23:12" }, "gmt_finished" : { "type" : "string", "description" : "投诉单完结时间", "example" : "2020-02-14 14:23:12" }, "gmt_modified" : { "type" : "string", "description" : "投诉单修改时间", "example" : "2020-02-14 14:23:12" }, "images" : { "type" : "array", "description" : "投诉图片", "items" : { "type" : "string" }, "example" : "[\"http://mdn.alipay.com/wsdk/img?fileid=A*ME4GQq2j-5oAAAAAAAAAAAAAAQAAAQ&t=83fed12ef006ebcd8df04dfe79faad6c&bi=openpunsh&ts=0&zoom=original\"]" }, "leaf_category_name" : { "type" : "string", "description" : "用户投诉诉求", "example" : "我要退款" }, "merchant_order_no" : { "type" : "string", "description" : "商家订单号", "example" : "tp1234567899" }, "phone_no" : { "type" : "string", "description" : "投诉人电话号码", "example" : "13656767876" }, "reply_detail_infos" : { "type" : "array", "description" : "用户与商家之间的协商记录", "items" : { "$ref" : "#/components/schemas/ReplyRecordResponse" } }, "status" : { "type" : "string", "description" : "状态 \t待处理:MERCHANT_PROCESSING \t已处理:MERCHANT_FEEDBACKED \t投诉完结:FINISHED \t投诉关闭:CANCELLED \t客服处理中:PLATFORM_PROCESSING \t客服处理完结:PLATFORM_FINISH \t投诉关闭:CLOSED", "example" : "MERCHANT_PROCESSING" }, "target_id" : { "type" : "string", "description" : "应用id,例如小程序id、生活号id、商家pid", "example" : "2018001307627807" }, "target_type" : { "type" : "string", "description" : "应用类型 例如小程序:APPID 生活号:PUBLICID 商家账户:PID", "example" : "APPID" }, "trade_amount" : { "type" : "string", "description" : "交易金额,单位元", "example" : "0.04" }, "trade_no" : { "type" : "string", "description" : "支付宝交易号", "example" : "2020092322001448341410785740" } } }, "AlipayMerchantTradecomplainReplySubmitErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "WAITING_REFUND", "PARAM_ILLEGAL", "AUTHORITY_ILLEGAL", "SYSTEM_ERROR", "STATUS_CHANGED", "SUBMIT_CONTENT_VIOLATION" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantTradecomplainReplySubmitModel" : { "type" : "object", "properties" : { "complain_event_id" : { "type" : "string", "description" : "支付宝侧投诉单号", "example" : "2022032200102000000001459758" }, "reply_content" : { "type" : "string", "description" : "回复留言内容", "example" : "你好,已发货,快递单号:*****" }, "reply_images" : { "type" : "string", "description" : "商家处理问题反馈时的回复凭证的图片id,多个逗号隔开(图片id可以通过\"商户上传处理图片\"接口获取)", "example" : "ySYHS5CtTCmag14Wk8jeNAAAACMAAQEW,ySYHS5CtTCmag14Wk8jeNAAAACMAAQAX" } } }, "AlipayMerchantTradecomplainReplySubmitResponseModel" : { "type" : "object" }, "AlipayMerchantTradecomplainSupplementSubmitErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "WAITING_REFUND", "PARAM_ILLEGAL", "AUTHORITY_ILLEGAL", "SYSTEM_ERROR", "STATUS_CHANGED", "SUBMIT_CONTENT_VIOLATION" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMerchantTradecomplainSupplementSubmitModel" : { "type" : "object", "properties" : { "complain_event_id" : { "type" : "string", "description" : "支付宝侧投诉单号", "example" : "2020092300102000000001459758" }, "supplement_content" : { "type" : "string", "description" : "回复内容,最多不超过200个字", "example" : "已发货,快递单号详见截图" }, "supplement_images" : { "type" : "string", "description" : "商家补充凭证时的图片id,多个逗号隔开(图片id可以通过\"商户上传处理图片\"接口获取)", "example" : "ySYHS5CtTCmag14Wk8jeNAAAACMAAQEW,ySYHS5CtTCmag14Wk8jeNAAAACMAAQAX" } } }, "AlipayMerchantTradecomplainSupplementSubmitResponseModel" : { "type" : "object" }, "AlipayMobilePublicFollowListErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicFollowListResponseModel" : { "type" : "object", "properties" : { "code" : { "type" : "integer", "description" : "返回结果码,如200,标识成功", "example" : "200" }, "count" : { "type" : "string", "description" : "当前组的值", "example" : "10000" }, "data" : { "$ref" : "#/components/schemas/Data" }, "next_alipay_user_id" : { "type" : "string", "description" : "与nextUserId对应,标准Alipay UserId", "example" : "2088102146158132" }, "next_user_id" : { "type" : "string", "description" : "查询分组的userid", "example" : "2088102123322367" } } }, "AlipayMobilePublicInfoQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicInfoQueryResponseModel" : { "type" : "object", "properties" : { "app_name" : { "type" : "string", "description" : "服务窗名称", "example" : "服务窗2015082953269057" }, "audit_desc" : { "type" : "string", "description" : "服务窗审核状态描述,如果审核驳回则有相关的驳回理由", "example" : "logo图片不符合规范" }, "audit_status" : { "type" : "string", "description" : "服务窗审核状态,对于系统商而言,只有三个状态,AUDITING:审核中,AUDIT_FAILED:审核驳回,AUDIT_SUCCESS:审核通过", "example" : "AUDITING" }, "is_online" : { "type" : "string", "description" : "服务窗是否上线,T表示上线,F表示未上线", "example" : "T" }, "is_release" : { "type" : "string", "description" : "服务窗是否上架,T表示上架,上架即可在支付宝客户端被搜索到,F表示未上架", "example" : "F" }, "logo_url" : { "type" : "string", "description" : "服务窗头像地址", "example" : "http://pic.alipayobjects.com/e/201311/1ZQ" }, "public_greeting" : { "type" : "string", "description" : "服务窗欢迎语", "example" : "欢迎光临" } } }, "AlipayMobilePublicMenuAddErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicMenuAddModel" : { "type" : "object", "properties" : { "biz_content" : { "type" : "string", "description" : "json串,详情请见", "example" : "{\"button\": [{\"actionParam\": \"D\", \"actionType\": \"out\", \"name\": \"账户\"}]}" } } }, "AlipayMobilePublicMenuAddResponseModel" : { "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "结果码", "example" : "200" }, "msg" : { "type" : "string", "description" : "成功", "example" : "success" } } }, "AlipayMobilePublicMenuGetErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicMenuGetResponseModel" : { "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "success", "example" : "200" }, "menu_content" : { "type" : "string", "description" : "菜单内容", "example" : "{\"button\":[{\"actionParam\":\"menu_v01_pay\",\"actionType\":\"in\",\"name\":\"支付\"}" }, "msg" : { "type" : "string", "description" : "成功", "example" : "成功" } } }, "AlipayMobilePublicMenuUpdateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicMenuUpdateModel" : { "type" : "object", "properties" : { "biz_content" : { "type" : "string", "description" : "json串,详情请见", "example" : "{\"button\": [{\"actionParam\": \"D\", \"actionType\": \"out\", \"name\": \"账户\"}]}" } } }, "AlipayMobilePublicMenuUpdateResponseModel" : { "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "结果码", "example" : "200" }, "msg" : { "type" : "string", "description" : "成功", "example" : "success" } } }, "AlipayMobilePublicMessageCustomSendErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "MSG_SD_NOBEHAVIOR", "MSG_TYPE_ILLEGAL", "OPEN_ID_IS_ILLEGAL", "SYSTEM_ERROR", "MSG_SD_EVENT_TYPE_NOT_EXISTS", "MSG_SD_FOLLOW_NOT_EXISTS", "MSG_SD_OVER_TIME", "MSG_ENTER_EVENT_OVER_LIMIT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicMessageCustomSendModel" : { "type" : "object", "properties" : { "biz_content" : { "type" : "string", "description" : "业务内容,其中包括消息类型msgType、消息体和消息接受人toUserId三大块,在toUserId这一层级新加eventType参数,该字段取值为follow:表示关注事件,click:表示菜单点击事件,enter_ppchat:代表进入事件。具体参见“表1-2 服务窗单发客服消息的biz_content参数说明”。\r\t详情请见", "example" : "{\"msgType\":\"text\",\"text\":{\"content\":\"你好。\"},\"toUserId\":\"2088302216448608\",\"eventType\":\"follow\"}" } } }, "AlipayMobilePublicMessageCustomSendResponseModel" : { "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "结果码", "example" : "200" }, "msg" : { "type" : "string", "description" : "结果描述", "example" : "成功" } } }, "AlipayMobilePublicMessageSingleSendErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "OPENID_INVALID" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicMessageSingleSendModel" : { "type" : "object", "properties" : { "biz_content" : { "type" : "string", "description" : "业务内容,其中包括模板template和消息接收人toUserId两大块,具体参见“表1-2 服务窗单发模板消息的biz_content参数说明”。\r\t详情请见", "example" : "{\"toUserId\":\"208876427\",\"template\":{\"context\":{\"amount\":\"20元\",\"cardNo\":\"1855\"},\"templateId\":\"1ff2840464c4463187f5451119de8fea\"}}" } } }, "AlipayMobilePublicMessageSingleSendResponseModel" : { "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "结果码", "example" : "200" }, "msg" : { "type" : "string", "description" : "结果描述", "example" : "成功" } } }, "AlipayMobilePublicMessageTotalSendErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicMessageTotalSendModel" : { "type" : "object", "properties" : { "biz_content" : { "type" : "string", "description" : "业务内容,其中包括消息类型msgType和消息体两部分,具体参见“表1-2 服务窗群发消息的biz_content参数说明”。", "example" : "{\"msgType\":\"text\",\"text\":{\"content\":\"你好!\"}}" } } }, "AlipayMobilePublicMessageTotalSendResponseModel" : { "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "结果码", "example" : "200" }, "data" : { "type" : "string", "description" : "消息ID", "example" : "2013121100055554f1000b64-3f05-4581-a5e1-16e29d242950" }, "msg" : { "type" : "string", "description" : "结果描述", "example" : "成功" } } }, "AlipayMobilePublicQrcodeCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicQrcodeCreateModel" : { "type" : "object", "properties" : { "biz_content" : { "type" : "string", "description" : "json串,详情请见", "example" : "{\"codeType\":\"TEMP\", \"expireSecond\":1800, \"codeInfo\":{ \"scene\":{ \"sceneId\":\"123456\" },\"gotoUrl\":\"url\" }, \"showLogo\":\"Y\" }" } } }, "AlipayMobilePublicQrcodeCreateResponseModel" : { "type" : "object", "properties" : { "code" : { "type" : "integer", "description" : "返回结果码,如200,标识成功", "example" : "200" }, "code_img" : { "type" : "string", "description" : "图片地址", "example" : "图片地址" }, "expire_second" : { "type" : "integer", "description" : "码过期时间,单位:秒", "example" : "1800" }, "msg" : { "type" : "string", "description" : "结果吗描述信息", "example" : "成功" } } }, "AlipayMobilePublicShortlinkCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicShortlinkCreateModel" : { "type" : "object", "properties" : { "biz_content" : { "type" : "string", "description" : "json串,详情请见", "example" : "{\r\n \"sceneId\": \"store_pay_1\",\r\n \"remark\": \"球房1支付推广\"\r\n}" } } }, "AlipayMobilePublicShortlinkCreateResponseModel" : { "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "结果码", "example" : "200" }, "msg" : { "type" : "string", "description" : "成功", "example" : "结果信息" }, "shortlink" : { "type" : "string", "description" : "短链接url", "example" : "http://t.alipay.com/I/Ev62jVRm" } } }, "AlipayMobilePublicTemplateMessageDeleteErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicTemplateMessageDeleteModel" : { "type" : "object", "properties" : { "template_id" : { "type" : "string", "description" : "模板id", "example" : "e58e4db6af7d4f63b2649c48e49824ba" } } }, "AlipayMobilePublicTemplateMessageDeleteResponseModel" : { "type" : "object" }, "AlipayMobilePublicTemplateMessageGetErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "PUB.TEMPLATE_MESSAGE_ID_INVAILD", "PUB.BUSINESS_ERROR", "PUB.ILLEGAL_BIZ_PARAMS", "PUB.APPINFO_NOT_EXIST", "PUB.PUBLIC_NOT_ONLINE", "PUB.NEED_SELECT_INDUSTRY", "PUB.EXCEED_MAX_TEMPLATE_NUM" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicTemplateMessageGetResponseModel" : { "type" : "object", "properties" : { "msg_template_id" : { "type" : "string", "description" : "消息模板id--商户领取母版后生成的唯一模板id", "example" : "14330d60f0ab4516853a0900827cee35" }, "template" : { "type" : "string", "description" : "模板内容", "example" : "{\"appId\":\"${ALIPAY.appId}\",\"createTime\":${ALIPAY.createTime},\"toUserId\":\"${ALIPAY.toUserId}\",\"msgType\":\"text\",\"push\":\"true\"}" } } }, "AlipayMobilePublicTemplateMessageQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobilePublicTemplateMessageQueryModel" : { "type" : "object", "properties" : { "template" : { "type" : "string", "description" : "模板", "example" : "{\"appId\":\"${ALIPAY.appId}\",\"createTime\":${ALIPAY.createTime},\"toUserId\":\"${ALIPAY.toUserId}\",\"msgType\":\"text\",\"push\":\"true\"}" }, "template_id" : { "type" : "string", "description" : "模板id", "example" : "6900b58b65ce457eb67ad94cadadc64e" } } }, "AlipayMobilePublicTemplateMessageQueryResponseModel" : { "type" : "object", "properties" : { "result" : { "type" : "string", "description" : "结果值", "example" : "true" } } }, "AlipayMobileStdPublicMessageCustomSendErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayMobileStdPublicMessageCustomSendModel" : { "type" : "object", "properties" : { "biz_content" : { "type" : "string", "description" : "业务内容,其中包括消息类型msgType、消息体和消息接受人toUserId三大块,具体参见“表1-2 服务窗单发客服消息的biz_content参数说明”。", "example" : "{\"msgType\":\"text\",\"text\":{\"content\":\"你好。\"},\"toUserId\":\"m7DZN0VfcHYP6IRA1sP1gBuSX3JjLZtwilbxOzPGDUrbq9FV8CBamV+6ZPDwOg7401\"}" } } }, "AlipayMobileStdPublicMessageCustomSendResponseModel" : { "type" : "object" }, "AlipayOfflineMarketApplyorderBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOfflineMarketApplyorderBatchqueryModel" : { "type" : "object", "properties" : { "action" : { "type" : "string", "description" : "操作动作", "example" : "CREATE_SHOP" }, "apply_ids" : { "type" : "array", "description" : "支付宝流水ID列表,最大不超过100个", "items" : { "type" : "string" }, "example" : "2015052100077000000000120773,2015052100077000000000120774" }, "biz_id" : { "type" : "string", "description" : "业务主体ID。根据biz_type不同可能对应shop_id或item_id。", "example" : "2015052100077000000000120774" }, "biz_type" : { "type" : "string", "description" : "业务类型:SHOP-店铺,ITEM-商品。", "example" : "SHOP" }, "end_time" : { "type" : "string", "description" : "查询的流水创建时间最后值。格式:yyyy-MM-dd HH:mm:ss", "example" : "2015-10-29 10:51:57" }, "op_id" : { "type" : "string", "description" : "操作用户的支付账号id", "example" : "2088001969784501" }, "op_role" : { "type" : "string", "description" : "系统集成商统一传入ISV", "example" : "ISV" }, "page_no" : { "type" : "integer", "description" : "页码,留空标示第一页,默认20个结果为一页", "example" : "1" }, "page_size" : { "type" : "integer", "description" : "每页记录数。默认20,最大100。", "example" : "20" }, "request_ids" : { "type" : "array", "description" : "请求ID列表,最大不超过100个。\r\t注意:暂时不支持此字段查询。", "items" : { "type" : "string" }, "example" : "2015123235324534,2015123235324535" }, "start_time" : { "type" : "string", "description" : "查询的流水创建时间起始值,只能查询近3个月数据。格式:yyyy-MM-dd HH:mm:ss", "example" : "2015-10-27 10:51:57" }, "status" : { "type" : "string", "description" : "流水状态:INIT-初始,PROCESS-处理中,SUCCESS-成功,FAIL-失败。", "example" : "FAIL" } } }, "AlipayOfflineMarketApplyorderBatchqueryResponseModel" : { "type" : "object", "properties" : { "biz_order_infos" : { "type" : "array", "description" : "支付宝操作流水信息列表", "items" : { "$ref" : "#/components/schemas/BizOrderQueryResponse" } }, "current_page_no" : { "type" : "integer", "description" : "当前页码", "example" : "1" }, "page_size" : { "type" : "integer", "description" : "每页记录数", "example" : "20" }, "total_items" : { "type" : "integer", "description" : "总记录数", "example" : "50" }, "total_page_no" : { "type" : "integer", "description" : "总页码数目", "example" : "3" } } }, "AlipayOfflineMarketShopBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAM", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOfflineMarketShopBatchqueryModel" : { "type" : "object", "properties" : { "biz_channel" : { "type" : "string", "description" : "表示接口查询球房的业务渠道限制:ALL、 POS、不传。不传代表只查询普通球房,传入POS代表只查询简易球房,传入ALL代表查询普通球房和简易球房。", "example" : "POS、ALL" }, "page_no" : { "type" : "string", "description" : "页码,第一页传入\"1\",默认500个结果为一页。此参数必须是大于0的正整数,为0时将查询报错。", "example" : "1" } } }, "AlipayOfflineMarketShopBatchqueryResponseModel" : { "type" : "object", "properties" : { "current_pageno" : { "type" : "string", "description" : "当前页码", "example" : "1" }, "shop_ids" : { "type" : "array", "description" : "球房列表ID,逗号分隔", "items" : { "type" : "string" }, "example" : "\"2015052100077000000000120773\",\"2015052100077000000000120774\"" }, "total_pageno" : { "type" : "string", "description" : "总页码数目", "example" : "3" } } }, "AlipayOfflineMarketShopCategoryQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOfflineMarketShopCategoryQueryResponseModel" : { "type" : "object", "properties" : { "shop_category_config_infos" : { "type" : "array", "description" : "球房类目配置信息,包括能够开店的叶子节点类目信息,以及类目约束配置信息。", "items" : { "$ref" : "#/components/schemas/ShopCategoryConfigInfo" } } } }, "AlipayOfflineMarketShopCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SHOP_CREATE_SYSTEM_ERROR", "SHOP_CREATE_INVALID_PARAM", "SHOP_CREATE_UNIQUE_CONSTRAINT_SHOP_ERROR", "SHOP_CREATE_UNIQUE_CONSTRAINT_IMPLEMENTID_ERROR", "SHOP_CREATE_UNIQUE_CONSTRAINT_OUTSHOPID_ERROR", "SHOP_CREATE_CATOGORY_NOT_EXISTS", "SHOP_CREATE_NO_CONTRACT", "SHOP_CREATE_NO_PROVIDER_CONTRACT", "SHOP_CREATE_NO_PROVIDER_MERCHANT_RELATION", "SHOP_CREATE_INVALID_PROVIDER_STAFF", "SHOP_CREATE_SHOP_JUDGE_FAIL", "SHOP_CREATE_LICENSE_EXPIRES", "SHOP_CREATE_CTU_FAIL", "LICENSE_IS_REQUIRED", "CERTIFICATE_IS_REQUIRED", "SHOP_CATEGORY_NOT_MATCH_CITY", "BRAND_CATEGORY_NOT_MATCH", "IMPLEMENT_ID_INVALID", "EXIST_FORBIDDEN_WORD", "MERCHANT_NOT_EXIST", "LICENSE_CODE_REPEAT_ERROR", "SHOP_CREATE_LICENSE_PRINCIPAL_NOT_MATCH", "SHOP_CREATE_LOCATION_VALIDATE_FAIL", "MERCHANT_NOT_A_CERTIFIED", "SHOP_CREATE_REPEAT_REQUEST", "MERCHANT_CAN_NOT_SIGN_KOUBEI", "AREA_CAN_NOT_NULL", "AREA_NOT_LEGALITY", "LICENSE_NO_RULE_ERROR", "BUSINESS_TIME_RULE_ERROR", "OUT_SHOP_ID_RULE_ERROR", "VALIDITYDATE_RULE_ERROR", "RATE_STANDARD_NOT_EXIST", "RATE_EXCEED_STANDARD_RANGE", "SUBJECT_NO_SUPPORT_RATE", "RATE_PATTERN_ERROR", "RATE_PAY_CATEGORY_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOfflineMarketShopCreateModel" : { "type" : "object", "properties" : { "address" : { "type" : "string", "description" : "球房详细地址,地址字符长度在4-50个字符,注:不含省市区。球房详细地址按规范格式填写地址,以免影响球房搜索及活动报名:例1:道路+门牌号,“人民东路18号”;例2:道路+门牌号+标志性建筑+楼层,“四川北路1552号欢乐广场1楼”。", "example" : "万塘路18号黄龙时代广场" }, "audit_images" : { "type" : "string", "description" : "球房审核时需要的图片;至少包含一张门头照片,两张内景照片,必须反映真实的球房情况,审核才能够通过;多个图片之间以英文逗号分隔。", "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC,4Q8Pp00AT7eo9NoAJkMR3AAAACMAAUYT" }, "auth_letter" : { "type" : "string", "description" : "球房授权函,营业执照与签约账号主体不一致时需要。", "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC" }, "biz_version" : { "type" : "string", "description" : "店铺接口业务版本号,新接入的ISV,请统一传入2.0。", "example" : "2.0" }, "box" : { "type" : "string", "description" : "球房是否有包厢,T表示有,F表示没有,不传在客户端不作展示。", "example" : "T" }, "branch_shop_name" : { "type" : "string", "description" : "分店名称,比如:万塘路店,与主球房名合并在客户端显示为:肯德基(万塘路店)。", "example" : "万塘路店" }, "brand_logo" : { "type" : "string", "description" : "品牌LOGO; 图片ID,不填写则默认为球房首图main_image。", "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC" }, "brand_name" : { "type" : "string", "description" : "品牌名,不填写则默认为“其它品牌”。", "example" : "肯德基" }, "business_certificate" : { "type" : "string", "description" : "许可证,各行业所需的证照资质参见商户入驻要求;该字段只能上传一张许可证,一张以外的许可证、除营业执照和许可证之外其他证照请放在其他资质字段上传。", "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC" }, "business_certificate_expires" : { "type" : "string", "description" : "许可证有效期,格式:2020-03-20或长期。严格按照格式填写。", "example" : "2020-03-20" }, "business_time" : { "type" : "string", "description" : "请严格按\"周一-周五 09:00-20:00,周六-周日 10:00-22:00\"的格式进行填写,时间段不能重复,最多支持两个时间段,24小时营业请填写\"00:00-23:59\"", "example" : "周一-周五 09:00-20:00,周六-周日 10:00-22:00" }, "category_id" : { "type" : "string", "description" : "类目id,请参考商户入驻要求。", "example" : "2015050700000018" }, "city_code" : { "type" : "string", "description" : "城市编码,国标码,详见国家统计局数据 点此下载。", "example" : "140500" }, "contact_number" : { "type" : "string", "description" : "球房电话号码;支持座机和手机,只支持数字和+-号,在客户端对用户展现, 支持多个电话, 以英文逗号分隔。", "example" : "13612344321,021-12336754" }, "creator" : { "type" : "string", "description" : "(支付宝内部参数)小二的支付宝账号。", "example" : "2088100000000011" }, "district_code" : { "type" : "string", "description" : "区县编码,国标码,详见国家统计局数据 点此下载。", "example" : "140521" }, "enterprise_logon_id" : { "type" : "string", "description" : "(支付宝内部参数)企业支付宝账号。", "example" : "test@sina.com" }, "enterprise_name" : { "type" : "string", "description" : "(支付宝内部参数)企业支付宝账户名称。", "example" : "测试商户有限公司" }, "implement_id" : { "type" : "string", "description" : "机具号,多个之间以英文逗号分隔。", "example" : "HU002,HT002" }, "is_operating_online" : { "type" : "string", "description" : "是否在其他平台开店,T表示有开店,F表示未开店。", "example" : "T" }, "isv_uid" : { "type" : "string", "description" : "ISV返佣id,球房创建、或者球房交易的返佣将通过此账号反给ISV,如果有口碑签订了返佣协议,则该字段作为返佣数据提取的依据。此字段必须是个合法uid,2088开头的16位支付宝会员账号,如果传入错误将无法创建球房。", "example" : "2088001969784501" }, "latitude" : { "type" : "string", "description" : "纬度;最长15位字符(包括小数点), 注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker", "example" : "30.548828" }, "leads_id" : { "type" : "string", "description" : "(支付宝内部参数)leads的编号。", "example" : "2016060600077001000000301619" }, "licence" : { "type" : "string", "description" : "球房营业执照图片,各行业所需的证照资质参见商户入驻要求。", "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC" }, "licence_code" : { "type" : "string", "description" : "球房营业执照编号,只支持输入中文,英文和数字,营业执照信息与is_operating_online至少填一项。", "example" : "H001232" }, "licence_expires" : { "type" : "string", "description" : "营业执照过期时间。格式:2020-10-20或长期。严格按照格式填写。", "example" : "2020-10-20" }, "licence_name" : { "type" : "string", "description" : "球房营业执照名称。", "example" : "来伊份上海分公司" }, "longitude" : { "type" : "string", "description" : "经度;最长15位字符(包括小数点), 注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker", "example" : "114.266418" }, "main_image" : { "type" : "string", "description" : "球房首图,非常重要,推荐尺寸2000*1500。", "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC" }, "main_shop_name" : { "type" : "string", "description" : "主球房名 比如:肯德基;主店名里不要包含分店名,如“万塘路店”。主店名长度不能超过20个字符。", "example" : "海底捞" }, "no_smoking" : { "type" : "string", "description" : "是否有无烟区,T表示有无烟区,F表示没有无烟区,不传在客户端不展示。", "example" : "T" }, "notify_mobile" : { "type" : "string", "description" : "球房店长电话号码;用于接收球房状态变更通知,收款成功通知等通知消息, 不在客户端展示。", "example" : "13867498729" }, "notify_url" : { "type" : "string", "description" : "通知地址" }, "online_image" : { "type" : "string", "description" : "废弃字段,请使用online_url字段替代。", "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC" }, "online_url" : { "type" : "string", "description" : "其他平台开店的店铺链接url,多个url使用英文逗号隔开,isv迁移到新接口使用此字段,与is_operating_online=T配套使用。", "example" : "http://www.******.com/shop/21831830" }, "op_role" : { "type" : "string", "description" : "表示以系统集成商的身份开店,开放平台现在统一传入ISV。", "example" : "ISV" }, "operate_notify_url" : { "type" : "string", "description" : "当商户的球房审核状态发生变化时,会向该地址推送消息。", "example" : "http://abc.com" }, "other_authorization" : { "type" : "string", "description" : "其他资质。用于上传营业证照、许可证照外的其他资质,除已上传许可证外的其他许可证也可以在该字段上传。", "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC,1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC" }, "parking" : { "type" : "string", "description" : "球房是否支持停车,T表示支持,F表示不支持,不传在客户端不作展示。", "example" : "F" }, "partner_id" : { "type" : "string", "description" : "(支付宝内部参数)服务商要操作的商户PID。", "example" : "2088001969784001" }, "pay_type" : { "type" : "string", "description" : "(支付宝内部参数)付款方式:code_scanned_pay:付款码 \r\tonline_pay:在线买单。ISV不可以指定此字段,ISV泛行业开店默认为在线买单,云纵开店可以指定支付方式。", "example" : "code_scanned_pay" }, "province_code" : { "type" : "string", "description" : "省份编码,国标码,详见国家统计局数据 点此下载。", "example" : "110000" }, "ref_apply_id" : { "type" : "string", "description" : "(支付宝内部参数)leads开店重试支付宝流水ID。", "example" : "201602270011030000001" }, "request_id" : { "type" : "string", "description" : "支持英文字母和数字,由开发者自行定义(不允许重复),在球房notify消息中也会带有该参数,以此标明本次notify消息是对哪个请求的回应。", "example" : "2015123235324534" }, "store_id" : { "type" : "string", "description" : "外部球房编号;最长32位字符,该编号将作为收单接口的入参, 请开发者自行确保其唯一性。", "example" : "hz001" }, "value_added" : { "type" : "string", "description" : "球房其他的服务,球房与用户线下兑现。", "example" : "免费茶水、免费糖果" }, "version" : { "type" : "string", "description" : "废弃字段,使用biz_version字段替代。", "example" : "2.0" }, "wifi" : { "type" : "string", "description" : "球房是否支持WIFI,T表示支持,F表示不支持,不传在客户端不作展示。", "example" : "T" } } }, "AlipayOfflineMarketShopCreateResponseModel" : { "type" : "object", "properties" : { "apply_id" : { "type" : "string", "description" : "开店请求受理成功后返回的支付宝流水ID,根据此ID调用接口\r\talipay.offline.market.applyorder.batchquery,能够获取当前开店请求审核状态、驳回原因等信息。", "example" : "2015111410223410000001" }, "audit_desc" : { "type" : "string", "description" : "废弃字段。", "example" : "信息不准确" }, "audit_status" : { "type" : "string", "description" : "同步请求如果支付宝受理成功,将返回AUDITING状态。", "example" : "AUDITING" }, "is_online" : { "type" : "string", "description" : "废弃字段,T表示上架,F表示未上架。", "example" : "T" }, "is_show" : { "type" : "string", "description" : "废弃字段,T表示显示,F表示隐藏。", "example" : "F" }, "rate" : { "type" : "string", "description" : "球房费率值,指定的ISV可用。创建球房时,为符合情况的球房,进行费率单独设置。若费率不符合球房类目的设置,则会创建球房失败。", "example" : "0.006" }, "result_code" : { "type" : "string", "description" : "开店请求结果码:\r\tWAIT_MERCHANT_CONFIRM:等待商户确认\r\t当开店需要商户确认时返回此结果码,商户需要登录到商家中心e.alipay.com进行开店确认。例如,ISV帮商户开店时,出现需要改签口碑当面付主体,接口同步返回此错误码,并且支付宝发送短信告知商户登录商家中心进行改签确认,确认后进入到后续审核流程。", "example" : "WAIT_MERCHANT_CONFIRM" }, "shop_id" : { "type" : "string", "description" : "废弃字段,支付宝球房ID。", "example" : "2015052100077000000000120773" } } }, "AlipayOfflineMarketShopModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SHOP_MODIFY_SYSTEM_ERROR", "SHOP_MODIFY_INVALID_PARAM", "SHOP_MODIFY_UNIQUE_CONSTRAINT_SHOP_ERROR", "SHOP_MODIFY_UNIQUE_CONSTRAINT_IMPLEMENTID_ERROR", "SHOP_MODIFY_UNIQUE_CONSTRAINT_OUTSHOPID_ERROR", "SHOP_MODIFY_CATOGORY_NOT_EXISTS", "SHOP_MODIFY_NO_CONTRACT", "SHOP_MODIFY_NO_PROVIDER_CONTRACT", "SHOP_MODIFY_NO_PROVIDER_MERCHANT_RELATION", "SHOP_MODIFY_SHOP_JUDGE_FAIL", "SHOP_MODIFY_NO_PROVIDER_SHOP_RELATION", "SHOP_MODIFY_LICENSE_EXPIRES", "SHOP_MODIFY_SHOP_NOT_EXISTS", "LICENSE_IS_REQUIRED", "CERTIFICATE_IS_REQUIRED", "SHOP_CATEGORY_NOT_MATCH_CITY", "BRAND_CATEGORY_NOT_MATCH", "IMPLEMENT_ID_INVALID", "EXIST_FORBIDDEN_WORD", "MERCHANT_NOT_EXIST", "LICENSE_CODE_REPEAT_ERROR", "SHOP_CTU_RISK", "SHOP_STATUS_CANOT_MODIFY", "SHOP_BRAND_PROTECTED", "PROVINCE_CITY_CANOT_MODIFY", "CATEGORY_CANOT_MODIFY", "NOT_ALLOWED_CONCURRENT_MODIFY", "SHOP_MODIFY_LICENSE_PRINCIPAL_NOT_MATCH", "SHOP_MODIFY_LOCATION_VALIDATE_FAIL", "AREA_CAN_NOT_NULL", "AREA_NOT_LEGALITY", "LICENSE_NO_RULE_ERROR", "BUSINESS_TIME_RULE_ERROR", "OUT_SHOP_ID_RULE_ERROR", "VALIDITYDATE_RULE_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOfflineMarketShopModifyModel" : { "type" : "object", "properties" : { "address" : { "type" : "string", "description" : "球房详细地址,地址字符长度在4-50个字符。球房详细地址,格式(不含省市区):例1:道路+门牌号,“人民东路18号”;例2:道路+门牌号+标志性建筑+楼层;注:球房详细地址按规范格式填写地址,以免影响球房搜索及活动报名", "example" : "万塘路18号黄龙时代广场" }, "audit_images" : { "type" : "string", "description" : "球房审核时需要的图片; 至少包含一张门头照片,两张内景照片,必须反映真实的球房情况,审核才能够通过, 多个以英文逗号分隔。", "example" : "02hkCZKaRgmLyirx4If6nAAAACMAAQED" }, "auth_letter" : { "type" : "string", "description" : "球房授权函。", "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC" }, "avg_price" : { "type" : "string", "description" : "人均消费价格,最少1元,最大不超过99999元,请按实际情况填写,单位元。", "example" : "56.73" }, "biz_version" : { "type" : "string", "description" : "店铺接口业务版本号,新接入的ISV,请统一传入2.0。", "example" : "2.0" }, "box" : { "type" : "string", "description" : "包厢支持,T表示有包厢,F表示无包厢;不传值默认F。", "example" : "T" }, "branch_shop_name" : { "type" : "string", "description" : "分店名称,比如:万塘路店,与主球房名合并在客户端显示为:肯德基(万塘路店)。分店名长度需在2~20个字符之间。", "example" : "万塘路店" }, "brand_logo" : { "type" : "string", "description" : "品牌LOGO; 图片ID,不填写则默认为球房首图main_image。", "example" : "4G8gtQGKT7Ga1lS2_CkMBAAAACMAAQED" }, "brand_name" : { "type" : "string", "description" : "品牌名称;不填写则默认为“其它品牌”。", "example" : "海底捞" }, "business_certificate" : { "type" : "string", "description" : "许可证,各行业所需的证照资质参见商户入驻要求;该字段只能上传一张许可证,一张以外的许可证、除营业执照和许可证之外其他证照请放在其他资质字段上传。", "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC" }, "business_certificate_expires" : { "type" : "string", "description" : "许可证有效期,格式:2020-03-20或长期。严格按照格式填写。", "example" : "2020-03-20" }, "business_time" : { "type" : "string", "description" : "请严格按\"周一-周五 09:00-20:00,周六-周日 10:00-22:00\"的格式进行填写,时间段不能重复,最多支持两个时间段,24小时营业请填写\"00:00-23:59\"", "example" : "周一-周五 09:00-20:00,周六-周日 10:00-22:00" }, "category_id" : { "type" : "string", "description" : "废弃字段,不支持修改类目。\r\t类目id,请参考商户入驻要求。", "example" : "2015063000020189" }, "city_code" : { "type" : "string", "description" : "城市编码,国标码,详见国家统计局数据 点此下载。", "example" : "522400" }, "contact_number" : { "type" : "string", "description" : "球房电话号码;支持座机和手机,在客户端对用户展现,支持多个电话,以英文逗号分隔。", "example" : "13534567652,021-76391728" }, "district_code" : { "type" : "string", "description" : "区县编码,国标码,详见国家统计局数据 点此下载。", "example" : "522401" }, "implement_id" : { "type" : "string", "description" : "店铺使用的机具编号,多个以英文逗号分隔。", "example" : "UO001,TY002" }, "is_operating_online" : { "type" : "string", "description" : "是否在其他平台开店,T表示有开店,F表示未开店。", "example" : "F" }, "is_show" : { "type" : "string", "description" : "废弃字段,T表示显示,F表示隐藏,默认为T。", "example" : "F" }, "latitude" : { "type" : "string", "description" : "纬度,注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker", "example" : "27.296891" }, "licence" : { "type" : "string", "description" : "球房营业执照图片,各行业所需的证照资质参见:https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.NBvQVP&treeId=78&articleId=104497&docType=1。", "example" : "En00j29-TGyXNVEPXIssFQAAACMAAQED" }, "licence_code" : { "type" : "string", "description" : "球房营业执照编号。只支持输入中文,英文和数字。", "example" : "HZ001" }, "licence_expires" : { "type" : "string", "description" : "营业执照过期时间。格式:2020-10-20或长期。严格按照格式填写。", "example" : "2020-10-20" }, "licence_name" : { "type" : "string", "description" : "球房营业执照名称。", "example" : "杭州市西湖区万塘路支小宝美甲店" }, "longitude" : { "type" : "string", "description" : "经度,注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker", "example" : "105.291027" }, "main_image" : { "type" : "string", "description" : "球房首图;非常重要,推荐尺寸2000*1500。", "example" : "4G8gtQGKT7Ga1lS2_CkMBAAAACMAAQED" }, "main_shop_name" : { "type" : "string", "description" : "主球房名 比如:肯德基;主店名里不要包含分店名,如“万塘路店”。主店名长度不能超过20个字符。【xxx店】、(xxx店)、(xxx店)、[xxx店]、client detail
" }, "detail_for_pc" : { "type" : "string", "description" : "pc端详情,用于能力中心展示", "example" : "pc detail
" }, "mini_app_id" : { "type" : "string", "description" : "插件id", "example" : "2012211102012056" }, "sell_crowd" : { "type" : "string", "description" : "可订购人群,1003个人, 1004企业,-1无限制", "example" : "-1" }, "show_type" : { "type" : "string", "description" : "发布后是否展示,01展示(默认)、02隐藏", "example" : "01" }, "title" : { "type" : "string", "description" : "服务标题", "example" : "互投插件" }, "visit_url_for_pc" : { "type" : "string", "description" : "pc端url地址,不需要则为空", "example" : "https://nengli.alipay.com/abilityprod/detail?abilityCode=SM010000000000001100" } } }, "AlipayOpenMiniInnerappPluginservicePublishResponseModel" : { "type" : "object", "properties" : { "ability_id" : { "type" : "string", "description" : "PL2012211102012056", "example" : "能力中心id" } } }, "AlipayOpenMiniInnerappPluginsyncmodeModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMS", "UPDATE_PLUGIN_SERVICE_FAIL", "SUB_APPLICATION_TYPE_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerappPluginsyncmodeModifyModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "来源", "example" : "-" }, "mini_app_id" : { "type" : "string", "description" : "小程序应用 ID,", "example" : "2021001177654214" }, "plugin_id" : { "type" : "string", "description" : "插件id", "example" : "2021002146679702" }, "sync_mode" : { "type" : "string", "description" : "模式,SYNC/NONE", "example" : "SYNC" } } }, "AlipayOpenMiniInnerappPluginsyncmodeModifyResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerappPluginuseconfigCancelErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "CAN_NOT_GRAY_EXIST_VERSION", "CURRENT_VERSION_IS_ONLINE", "APP_INFO_NOT_EXIST", "PLUGIN_NOT_ORDERED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerappPluginuseconfigCancelModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "来源", "example" : "-" }, "bundle_id" : { "type" : "string", "description" : "端id", "example" : "com.alipay.alipaywallet" }, "mini_app_id" : { "type" : "string", "description" : "小程序应用 ID", "example" : "2021002146679701" }, "plugin_dev_version" : { "type" : "string", "description" : "插件研发版本", "example" : "0.0.3" }, "plugin_id" : { "type" : "string", "description" : "插件id", "example" : "2021002146679702" } } }, "AlipayOpenMiniInnerappPluginuseconfigCancelResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerappPluginuseconfigOnlineErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMS", "PLUGIN_NOT_ORDERED", "APP_INFO_NOT_EXIST", "CAN_NOT_GRAY_EXIST_VERSION", "CURRENT_VERSION_IS_ONLINE" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerappPluginuseconfigOnlineModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "来源", "example" : "-" }, "bundle_id" : { "type" : "string", "description" : "端id", "example" : "com.alipay.alipaywallet" }, "mini_app_id" : { "type" : "string", "description" : "小程序应用 ID", "example" : "2021002146679701" }, "plugin_dev_version" : { "type" : "string", "description" : "插件研发版本", "example" : "0.0.3" }, "plugin_id" : { "type" : "string", "description" : "插件id", "example" : "2021002146679702" } } }, "AlipayOpenMiniInnerappPluginuseconfigOnlineResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerappPluginuseconfigUpgradeErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMS", "PLUGIN_NOT_ORDERED", "APP_INFO_NOT_EXIST", "CAN_NOT_GRAY_EXIST_VERSION", "CURRENT_VERSION_IS_ONLINE" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerappPluginuseconfigUpgradeModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "来源", "example" : "-" }, "bundle_id" : { "type" : "string", "description" : "端id", "example" : "com.alipay.alipaywallet" }, "mini_app_id" : { "type" : "string", "description" : "小程序应用 ID", "example" : "2021002146679701" }, "plugin_dev_version" : { "type" : "string", "description" : "插件研发版本", "example" : "0.0.3" }, "plugin_id" : { "type" : "string", "description" : "插件id", "example" : "2021002146679702" }, "strategy_value" : { "type" : "string", "description" : "灰度值", "example" : "p50" } } }, "AlipayOpenMiniInnerappPluginuseconfigUpgradeResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerappServicePublishErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APP_ORIGIN_NOT_EXIST", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "BUNDLE_ID_NOT_EXIST", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerappServicePublishModel" : { "type" : "object", "properties" : { "app_logo" : { "type" : "string", "description" : "服务发布logo", "example" : "https://appstoreisvpic.alipayobjects.com/prod/f9e291ed-0de5-4f5e-97ec-f76b8414a3e0.png" }, "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "AAA" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。", "example" : "2019****" }, "pid" : { "type" : "string", "description" : "小程序模板所属PID", "example" : "2088****" }, "sub_title" : { "type" : "string", "description" : "服务子标题", "example" : "服务子标题" }, "title" : { "type" : "string", "description" : "服务名称", "example" : "服务名称" } } }, "AlipayOpenMiniInnerappServicePublishResponseModel" : { "type" : "object", "properties" : { "merchandise_id" : { "type" : "string", "description" : "服务ID", "example" : "I1060100001000050361" } } }, "AlipayOpenMiniInnerappServiceQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PAGE_NUM", "INVALID_PAGE_SIZE", "INVALID_PARAMS", "BIZ_ERROR", "APP_ORIGIN_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerappServiceQueryResponseModel" : { "type" : "object", "properties" : { "mini_app_service_info_list" : { "type" : "array", "description" : "小程序服务信息", "items" : { "$ref" : "#/components/schemas/MiniAppServiceInfo" } }, "page" : { "type" : "integer", "description" : "当前页数", "example" : "1" }, "page_size" : { "type" : "integer", "description" : "页大小", "example" : "10" }, "total_count" : { "type" : "integer", "description" : "总数", "example" : "100" } } }, "AlipayOpenMiniInnerbaseinfoApplogoUploadErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_LOGO_EXT", "LOGO_IS_BLANK", "LOGO_SIZE_EXCEED", "LOGO_HEIGHT_NOT_EQUAL_WIDTH" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerbaseinfoApplogoUploadModel" : { "type" : "object" }, "AlipayOpenMiniInnerbaseinfoApplogoUploadResponseModel" : { "type" : "object", "properties" : { "app_logo" : { "type" : "string", "description" : "上传图片结果地址。\t图片要求:\t1、不能超过256kb 2、支持的图片格式为jpg、jpeg、png 3、长宽比例必须为为1:1", "example" : "http://appstoreisvpic.alipayobjects.com/6c19accf-1343-4c5d-be62-3964144b3944.png" } } }, "AlipayOpenMiniInnerbaseinfoQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APPID_IS_BLANK", "APP_INFO_NOT_EXIST", "DEVELOPER_INFO_NOT_EXIST", "SYSTEM_ERROR", "MERCHANT_NOT_EXESIT", "INVALID_PARAMS" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerbaseinfoQueryResponseModel" : { "type" : "object", "properties" : { "app_alias_name" : { "type" : "string", "description" : "小程序别名,简称", "example" : "小程序别名,简称" }, "app_category_ids" : { "type" : "string", "description" : "类目Id列表", "example" : "107209_107226;107209_107227" }, "app_desc" : { "type" : "string", "description" : "小程序应用描述", "example" : "小程序官方示例Demo,展示已支持的接口能力及组件。" }, "app_english_name" : { "type" : "string", "description" : "小程序英文名称", "example" : "tinyapp" }, "app_key" : { "type" : "string", "description" : "手淘开放平台鉴权key,支付宝不需要", "example" : "test" }, "app_logo" : { "type" : "string", "description" : "小程序应用logo图标", "example" : "https://appstoreisvpic.alipayobjects.com/prod/04843e84-f1fd-4717-a230-1c72de99aa5d.png" }, "app_name" : { "type" : "string", "description" : "小程序名称", "example" : "小程序名称" }, "app_slogan" : { "type" : "string", "description" : "小程序简介", "example" : "小程序简介" }, "app_sub_type" : { "type" : "string", "description" : "小程序类型,TINYAPP_TEMPLATE,TINYAPP_NORMAL,TINYAPP_PLUGIN", "example" : "TINYAPP_TEMPLATE" }, "dev_id" : { "type" : "string", "description" : "小程序所属主体信息", "example" : "2088301139347331" }, "gmt_create" : { "type" : "string", "description" : "小程序主体创建时间", "example" : "2017-12-12 12:00:00" }, "gmt_modified" : { "type" : "string", "description" : "小程序主体更新时间", "example" : "2017-12-12 12:00:00" }, "mini_app_id" : { "type" : "string", "description" : "小程序Id", "example" : "3000000000001501" }, "mini_category_ids" : { "type" : "string", "description" : "新小程序前台类目,一级与二级、三级用下划线隔开,最多可以选四个类目,类目之间;隔开。使用后不再读取app_category_ids值,老前台类目将废弃", "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024" }, "origin" : { "type" : "string", "description" : "应用创建来源,alipay = 支付宝,taobao = 淘宝", "example" : "alipay" }, "owner_entity" : { "type" : "string", "description" : "小程序主体信息", "example" : "0001" }, "owner_portrait" : { "type" : "string", "description" : "小程序主体头像信息", "example" : "http://www.alipay.icon.com" }, "plugin_refresh_type" : { "type" : "string", "description" : "AUTO/自动更新、MANUAL/手动更新", "example" : "MANUAL" }, "service_email" : { "type" : "string", "description" : "小程序客服邮箱", "example" : "example@mail.com" }, "service_phone" : { "type" : "string", "description" : "小程序客服电话", "example" : "13110101010" } } }, "AlipayOpenMiniInnerversionAuditCancelErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APPID_IS_BLANK", "VERSION_IS_BLANK", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "TINYAPP_STATUS_INVALID", "MULTI_CLIENT_NOT_PACKAGED_STATUS", "APPSTORE_RPC_INVOKE_ERROR", "NO_PERMISSION", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionAuditCancelModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "AAA" }, "app_version" : { "type" : "string", "description" : "小程序版本", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数", "example" : "2019****" }, "pid" : { "type" : "string", "description" : "小程序所属PID", "example" : "2088****" } } }, "AlipayOpenMiniInnerversionAuditCancelResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionAuditSubmitErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_MINI_APP_NAME_LENGTH", "SPECIAL_LICENSE_PICS_ARE_BLANK", "INVALID_MINI_APP_NAME", "INVALID_MINI_APP_EN_NAME", "INVALID_MINI_APP_EN_NAME_LENGTH", "INVALID_MINI_APP_SLOGAN", "SERVICE_TEL_AND_MAIL_BOTH_BLANK", "INVALID_MINI_APP_SERVICE_TEL", "INVALID_MINI_APP_SERVICE_MAIL", "CATEGORY_NUM_IS_INVALID", "CATEGORY_IS_BLANK", "APP_DESC_IS_BLANK", "INVALID_MINI_APP_DESC_LENGTH", "INVALID_MINI_APP_DESC", "APP_VERSION_IS_BLANK", "VERSION_DESC_IS_BLANK", "INVALID_VERSION_DESC_LENGTH", "INVALID_MINI_APP_VERSION_DESC", "SCREEN_SHOTS_ARE_BLANK", "SCREEN_SHOT_NUM_IS_INVALID", "INVALID_MINI_APP_MEMO_LENGTH", "APPLICATION_TYPE_NOT_MINIAPP", "INVALID_MINI_APP_SAFE_DOMAIN", "CAN_NOT_SUBMIT_WITH_ALI_CLOUD", "MINI_APP_NAME_DUPLICATE", "MINI_APP_EN_NAME_DUPLICATE", "INVALID_CATEGORY", "MINI_APP_NAME_SENSITIVE", "MINI_APP_EN_NAME_SENSITIVE", "MINI_APP_SLOGAN_SENSITIVE", "MINI_APP_MEMO_SENSITIVE", "MINI_APP_DESC_SENSITIVE", "MINI_APP_SERVICE_MAIL_SENSITIVE", "MINI_APP_VERSION_DESC_SENSITIVE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_MODIFY_NAME_ONCE_ONLINE", "CAN_NOT_MODIFY_EN_ONCE_ONLINE", "MODIFY_SLOGAN_EXCEED_COUNT", "MODIFY_CATEGORY_ID_EXCEED_COUNT", "MODIFY_DESC_EXCEED_COUNT", "CAN_NOT_SUBMIT_WITH_AUDIT", "CAN_NOT_SUBMIT_WITHOUT_INIT", "CAN_NOT_SUBMIT_WITHOUT_SCAN_PASS", "CAN_NOT_SUBMIT_WITH_AUDIT_GRAY", "EXIST_LARGER_ONLINED_VERSION", "LICENSE_NO_IS_BLANK", "LICENSE_VALID_DATE_IS_BLANK", "LICENSE_VALID_DATE_IS_INVALID", "OUT_DOOR_PIC_IS_BLANK", "LICENSE_PICS_ARE_BLANK", "LICENSE_PIC_NUM_IS_INVALID", "LICENSE_CHECK_FAIL", "LOGO_HEIGHT_NOT_EQUAL_WIDTH", "INVALID_SCREEN_SHOT_EXT", "SCREEN_SHOT_EXCEED_MAX_SIZE", "INVALID_LICENSE_PIC_EXT", "LICENSE_PIC_EXCEED_MAX_SIZE", "INVALID_OUT_DOOR_PIC_EXT", "OUT_DOOR_PIC_EXCEED_MAX_SIZE", "LOGO_EXCEED_MAX_SIZE", "INVALID_LOGO_EXT", "INVALID_PARAMS", "INVALID_LOGO", "INVALID_IMAGE", "RISK_DECISION_CHECK_FAIL", "TINY_APP_AUDIT_NOT_PERMIT", "APP_ORIGIN_NOT_EXIST", "DEFAULT_LOGO", "SLOGAN_IS_BLANK", "INVALID_PARAMETER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionAuditSubmitModel" : { "type" : "object", "properties" : { "app_category_ids" : { "type" : "string", "description" : "小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以参考开放服务类目,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。", "example" : "107211_ 107427" }, "app_desc" : { "type" : "string", "description" : "小程序应用描述,20-200个字,如果不填默认采用当前小程序的应用描述", "example" : "这是一个小程序的描述这是一个小程序的描述这是一个小程序的描述这是一个小程序的描述" }, "app_english_name" : { "type" : "string", "description" : "小程序应用英文名称,如果不填默认采用当前小程序应用英文名称,3~30个字符。插件不填", "example" : "demoenname" }, "app_logo" : { "type" : "string", "description" : "小程序logo图标,图片格式必须为:png、jpeg、jpg,比例必须为1:1,建议上传像素为180*180,不超过256kb, 如果不填默认采用当前小程序应用logo图标", "example" : "https://appstoreisvpic.alipayobjects.com/prod/f9e291ed-0de5-4f5e-97ec-f76b8414a3e0.png" }, "app_name" : { "type" : "string", "description" : "小程序应用名称,如果不填默认采用当前小程序应用名称,名称3-40个字符,一个中文算两个字符", "example" : "XXX的应用" }, "app_origin" : { "type" : "string", "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入,申请方式请参见接入手册。", "example" : "AAA" }, "app_slogan" : { "type" : "string", "description" : "小程序应用简介,一句话描述小程序功能,如果不填默认采用当前小程序应用简介,10~32个字符", "example" : "示例slogan" }, "app_version" : { "type" : "string", "description" : "需要提交审核的小程序版本号,格式为: x.y.z,其中x、y、z均为整型数字,一个应用最多只能有一个审核中、审核通过或者审核驳回的版本。", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "端ID,多端场景下区分不同端", "example" : "com.alipay.alipaywallet" }, "license_info" : { "$ref" : "#/components/schemas/AuditLicenseInfo" }, "memo" : { "type" : "string", "description" : "小程序备注", "example" : "小程序备注示例" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。", "example" : "2019051464523527" }, "mini_category_ids" : { "type" : "string", "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 alipay.open.mini.category.query(小程序类目树查询接口)查询mini_category_list,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。使用后不再读取app_category_ids值,老前台类目将废弃", "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024" }, "open_id" : { "type" : "string", "description" : "小程序所属PID", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "out_door_pic" : { "type" : "string", "description" : "门头照图片地址,部分小程序类目需要提交,参照 开放服务类目 中是否需要营业执照信息,如果不填默认采用当前小程序门头照图片", "example" : "https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg" }, "pid" : { "type" : "string", "description" : "小程序所属PID", "example" : "2088****" }, "screen_shot_list" : { "type" : "array", "description" : "小程序应用截图列表,逗号分割,需要2-5张图片,单张图片不能超过4MB,图片格式只支持jpg,png;通过模板实例化小程序不需要传递此参数。", "items" : { "type" : "string" }, "example" : "https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg,https://app.alipayobjects.com/ss.jpg" }, "service_email" : { "type" : "string", "description" : "小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱,和客服电话至少填写一个", "example" : "example@mail.com" }, "service_phone" : { "type" : "string", "description" : "小程序客服电话,如果不填默认采用当前小程序的应用客服电话,和客服邮箱至少填写一个。插件不填", "example" : "13110101010" }, "special_license_pic_list" : { "type" : "string", "description" : "特殊资质图片地址列表,逗号分隔;部分类目需要特殊资质,如果需要特殊资质,最少一张,最多三张。模板和插件不需要特殊资质", "example" : "https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg,https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg" }, "version_desc" : { "type" : "string", "description" : "小程序版本变更描述,30-500个字符,区分于app_desc", "example" : "本版本主要新增了XXX功能:1、xxxxxxx; 2、xxxxxx;修复了XXXbug:1、xxxxxx;2、xxxxxx" } } }, "AlipayOpenMiniInnerversionAuditSubmitResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionBackdevPublishErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_BACK_DEV_WITHOUT_AUDIT", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionBackdevPublishModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "AAA" }, "app_version" : { "type" : "string", "description" : "小程序版本", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数", "example" : "2019****" }, "pid" : { "type" : "string", "description" : "小程序所属PID", "example" : "2088****" } } }, "AlipayOpenMiniInnerversionBackdevPublishResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionBetaConfirmErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "PLUGIN_BETA_RELATION_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionBetaConfirmModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "AAA" }, "memo" : { "type" : "string", "description" : "拒绝理由", "example" : "业务验证不通过" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数", "example" : "2019*****" }, "operate" : { "type" : "string", "description" : "操作:pass/reject。接受或者拒绝", "example" : "pass" }, "pid" : { "type" : "string", "description" : "小程序所属PID", "example" : "2088****" }, "plugin_id" : { "type" : "string", "description" : "要确认邀测结果的插件appid", "example" : "2019*****" } } }, "AlipayOpenMiniInnerversionBetaConfirmResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionBetainfoQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "PACKAGE_VERSION_IS_BLANK", "PLUGINID_IS_BLANK", "APP_ORIGIN_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionBetainfoQueryResponseModel" : { "type" : "object", "properties" : { "plugin_beta_item_list" : { "type" : "array", "description" : "邀测结果列表", "items" : { "$ref" : "#/components/schemas/PluginBetaItemInfo" } }, "status" : { "type" : "string", "description" : "邀测状态,待确认WAITCHECK/确认CHECKED/拒绝REJECT", "example" : "WAITCHECK" } } }, "AlipayOpenMiniInnerversionBuildauditSubmitErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_MINI_APP_NAME_LENGTH", "SPECIAL_LICENSE_PICS_ARE_BLANK", "INVALID_MINI_APP_NAME", "INVALID_MINI_APP_EN_NAME", "INVALID_MINI_APP_EN_NAME_LENGTH", "INVALID_MINI_APP_SLOGAN", "SERVICE_TEL_AND_MAIL_BOTH_BLANK", "INVALID_MINI_APP_SERVICE_TEL", "CATEGORY_NUM_IS_INVALID", "CATEGORY_IS_BLANK", "APP_DESC_IS_BLANK", "INVALID_MINI_APP_DESC_LENGTH", "INVALID_MINI_APP_DESC", "APP_VERSION_IS_BLANK", "VERSION_DESC_IS_BLANK", "INVALID_VERSION_DESC_LENGTH", "INVALID_MINI_APP_VERSION_DESC", "SCREEN_SHOTS_ARE_BLANK", "SCREEN_SHOT_NUM_IS_INVALID", "INVALID_MINI_APP_MEMO_LENGTH", "APPLICATION_TYPE_NOT_MINIAPP", "INVALID_MINI_APP_SAFE_DOMAIN", "CAN_NOT_SUBMIT_WITH_ALI_CLOUD", "MINI_APP_NAME_DUPLICATE", "MINI_APP_EN_NAME_DUPLICATE", "INVALID_CATEGORY", "INVALID_REGION", "MINI_APP_NAME_SENSITIVE", "MINI_APP_EN_NAME_SENSITIVE", "MINI_APP_SLOGAN_SENSITIVE", "MINI_APP_MEMO_SENSITIVE", "MINI_APP_DESC_SENSITIVE", "MINI_APP_SERVICE_MAIL_SENSITIVE", "MINI_APP_VERSION_DESC_SENSITIVE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_MODIFY_NAME_ONCE_ONLINE", "CAN_NOT_MODIFY_EN_ONCE_ONLINE", "MODIFY_SLOGAN_EXCEED_COUNT", "MODIFY_CATEGORY_ID_EXCEED_COUNT", "MODIFY_DESC_EXCEED_COUNT", "CAN_NOT_SUBMIT_WITH_AUDIT", "CAN_NOT_SUBMIT_WITHOUT_INIT", "CAN_NOT_SUBMIT_WITHOUT_SCAN_PASS", "CAN_NOT_SUBMIT_WITH_AUDIT_GRAY", "EXIST_LARGER_ONLINED_VERSION", "LICENSE_NO_IS_BLANK", "LICENSE_VALID_DATE_IS_BLANK", "LICENSE_VALID_DATE_IS_INVALID", "OUT_DOOR_PIC_IS_BLANK", "LICENSE_PICS_ARE_BLANK", "LICENSE_PIC_NUM_IS_INVALID", "LICENSE_CHECK_FAIL", "LOGO_HEIGHT_NOT_EQUAL_WIDTH", "INVALID_SCREEN_SHOT_EXT", "SCREEN_SHOT_EXCEED_MAX_SIZE", "INVALID_LICENSE_PIC_EXT", "LICENSE_PIC_EXCEED_MAX_SIZE", "INVALID_OUT_DOOR_PIC_EXT", "OUT_DOOR_PIC_EXCEED_MAX_SIZE", "LOGO_EXCEED_MAX_SIZE", "INVALID_LOGO_EXT", "INVALID_PARAMS", "INVALID_LOGO", "INVALID_IMAGE", "RISK_DECISION_CHECK_FAIL", "TINY_APP_AUDIT_NOT_PERMIT", "RISK_DECISION_HIT_BRAND", "BRAND_TORT_NOT_END", "SYSTEM_ERROR", "MINI_APP_INFO_AUDIT_CONTAINS", "DEFAULT_LOGO" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionBuildauditSubmitModel" : { "type" : "object", "properties" : { "app_category_ids" : { "type" : "string", "description" : "小程序类目,可不传,不传取基础信息中的小程序类目", "example" : "107209_107226" }, "app_desc" : { "type" : "string", "description" : "小程序描述,可不传,不传取基础信息中的小程序描述", "example" : "小程序描述" }, "app_english_name" : { "type" : "string", "description" : "小程序在从未上架过版本之前,英文名称是可以修改的,该字段用于在提交审核时候修改小程序英文名称。注意:小程序一旦有过上架版本之后就不可以修改英文名称。", "example" : "小程序英文名称" }, "app_logo" : { "type" : "string", "description" : "小程序logo,可不传,不传取基础信息中的小程序logo,请调用专用的logo上传接口上传logo文件,并将返回的地址作为本字段传入", "example" : "https://appstoreisvpic.alipayobjects.com/prod/e2bcf04b-da46-4b7f-a020-e9d224df7689.png" }, "app_name" : { "type" : "string", "description" : "小程序在从未上架过版本之前,中文名称是可以修改的,该字段用于在提交审核时候修改小程序中文名称。注意:小程序一旦有过上架版本之后就不可以修改中文名称。", "example" : "小程序名称" }, "app_origin" : { "type" : "string", "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入,申请方式请参见接入手册。", "example" : "AAA" }, "app_slogan" : { "type" : "string", "description" : "小程序应用简介,一句话描述小程序功能,如果不填默认采用当前小程序应用简介,10~32个字符", "example" : "小程序简介" }, "app_version" : { "type" : "string", "description" : "小程序版本号", "example" : "1.0.1" }, "build_ext" : { "type" : "string", "description" : "构建扩展参数", "example" : "{\"ext\":{\"appId\":\"2019********\",\"pid\":\"2088*******\"},\"extEnable\":true}" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "com.alipay.alipaywallet" }, "isv_app_id" : { "type" : "string", "description" : "三方应用ID", "example" : "2018********" }, "license_info" : { "$ref" : "#/components/schemas/AuditLicenseInfo" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。", "example" : "2018********" }, "mini_category_ids" : { "type" : "string", "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。使用后不再读取app_category_ids值,老前台类目将废弃", "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024" }, "pid" : { "type" : "string", "description" : "小程序开发者ID,可不传,不传取基础信息中的小程序开发者ID", "example" : "2088********" }, "region_type" : { "type" : "string", "description" : "服务区域类型,可不传,不传取基础信息中的小程序服务区域类型", "example" : "GLOBAL" }, "screen_shot_list" : { "type" : "string", "description" : "版本截图,最少2张,最多5张,必传", "example" : "https://appstoreisvpic.alipayobjects.com/prod/e2bcf04b-da46-4b7f-a020-e9d224df7689.png,https://appstoreisvpic.alipayobjects.com/prod/e2bcf04b-da46-4b7f-a020-e9d224df7689.png" }, "service_phone" : { "type" : "string", "description" : "客服电话,可不传,不传取基础信息中的小程序客服电话", "example" : "021-2222222" }, "special_license_pic_list" : { "type" : "string", "description" : "特殊资质图片地址列表,逗号分割,", "example" : "https://appstoreisvpic.alipayobjects.com/prod/f2e32236-b537-405b-8764-613ea50c2f6b.png,https://appstoreisvpic.alipayobjects.com/prod/f2e32236-b537-405b-8764-613ea50c2f6b.png" }, "template_id" : { "type" : "string", "description" : "小程序模板ID", "example" : "2018********" }, "template_version" : { "type" : "string", "description" : "模板的版本号,如果不填写,则默认用模板当前最新的在架版本", "example" : "1.0.0" }, "version_desc" : { "type" : "string", "description" : "小程序版本描述,30-500个字符,一个中文占两个字符,一个英文或者数字占一个字符", "example" : "本版本新增了XXX功能,修复了XXXbug,解决了XXX问题,欢迎大家体验提出意见。" } } }, "AlipayOpenMiniInnerversionBuildauditSubmitResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionConditionBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APPID_IS_BLANK", "VERSION_STATUS_LIST_IS_BLANK", "APP_ORIGIN_IS_BLANK", "BUNDLE_ID_IS_BLANK", "NO_PERMISSION", "INVALID_PAGE_NUM", "INVALID_PAGE_SIZE", "PAGE_NUM_LESS_ONE", "PAGE_SIZE_MORE_TEN", "PAGE_SIZE_LESS_ZERO", "INVALID_VERSION_STATUS", "MINICORE_INVOKE_ERROR", "PAGE_NUM_LESS_ZERO", "BUNDLE_ID_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionConditionBatchqueryModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "AAA" }, "bundle_id" : { "type" : "string", "description" : "com.alipay.alipaywallet:支付宝,com.amap.app:高德", "example" : "com.alipay.alipaywallet" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。", "example" : "2019*********" }, "page_num" : { "type" : "string", "description" : "页码", "example" : "1" }, "page_size" : { "type" : "string", "description" : "分页数", "example" : "10" }, "version_status" : { "type" : "string", "description" : "INIT:开发中,RELEASE:上架,OFFLINE:下架,AUDITING:审核中,AUDIT_REJECT:审核驳回,WAIT_RELEASE:待上架,GRAY:灰度中,以,号隔开", "example" : "INIT" } } }, "AlipayOpenMiniInnerversionConditionBatchqueryResponseModel" : { "type" : "object", "properties" : { "mini_version_base_info_list" : { "type" : "array", "description" : "小程序版本信息", "items" : { "$ref" : "#/components/schemas/MiniVersionBaseInfo" } } } }, "AlipayOpenMiniInnerversionContentRollbackErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APP_ORIGIN_IS_BLANK", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "BUNDLE_ID_IS_BLANK", "PID_IS_BLANK", "APPID_IS_BLANK" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionContentRollbackModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务场景来源", "example" : "AAA" }, "app_version" : { "type" : "string", "description" : "小程序当前上架版本号", "example" : "1.0.0" }, "bundle_id" : { "type" : "string", "description" : "端", "example" : "com.alipay.alipaywallet" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。", "example" : "2018********" }, "pid" : { "type" : "string", "description" : "小程序所属主体", "example" : "2088********" } } }, "AlipayOpenMiniInnerversionContentRollbackResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionGrayFinishErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_END_GRAY_WITHOUT_GRAY", "MINI_APP_NOT_ONLINE", "NO_PERMISSION", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionGrayFinishModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "AAA" }, "app_version" : { "type" : "string", "description" : "小程序版本", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数", "example" : "2019****" }, "pid" : { "type" : "string", "description" : "小程序所属PID", "example" : "2088****" } } }, "AlipayOpenMiniInnerversionGrayFinishResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionGrayPublishErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "GRAY_ONLINE_FAILURE", "PARAMS_VALID_ERROR", "APP_INFO_NOT_EXISTS", "APP_VERSION_NOT_EXIST", "NO_PERMISSION", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "CAN_NOT_GRAY_ALIBABA_PASS", "CAN_NOT_GRAY_WITHOUT_AUDIT_PASS", "PLUGIN_NOT_ALLOWED_GRAY" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionGrayPublishModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "AAA" }, "app_version" : { "type" : "string", "description" : "小程序版本", "example" : "0.0.1" }, "beta_app_id_list" : { "type" : "array", "description" : "待邀测应用列表,灰度插件时使用,如无邀测必要请不要传入", "items" : { "type" : "string" }, "example" : "[\"2021xxxxx\"]" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app" }, "gray_strategy" : { "type" : "string", "description" : "灰度值", "example" : "gray_mayi_rule、gray_alibaba_rule" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数", "example" : "2019****" }, "pid" : { "type" : "string", "description" : "小程序所属PID", "example" : "2088****" } } }, "AlipayOpenMiniInnerversionGrayPublishResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionInfoDeleteErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APPID_IS_BLANK", "PACKAGE_VERSION_IS_BLANK", "BUNDLE_ID_IS_BLANK", "PID_IS_BLANK", "BUNDLE_ID_NOT_EXIST", "VERSION_LENGTH_ERROR", "VERSION_EXCEEDED_LENGTH", "APP_ORIGIN_NOT_EXIST", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "SYSTEM_ERROR", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_DELETE_WITH_SCANNING", "CAN_NOT_DELETE_WITH_EXPERIENCE", "CAN_NOT_DELETE_WITHOUT_DEV" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionInfoDeleteResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionInfoQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "PARAMS_VALID_ERROR", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionInfoQueryResponseModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "版本号", "example" : "0.0.1" }, "build_source" : { "type" : "string", "description" : "版本构建类型", "example" : "01 自创建 02 模板构建" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app" }, "create_time" : { "type" : "string", "description" : "版本创建时间", "example" : "2019-01-01 12:00:22" }, "description" : { "type" : "string", "description" : "版本描述", "example" : "我是小程序版本描述" }, "ext_json" : { "type" : "string", "description" : "实例化模板参数", "example" : "{}" }, "gmt_modified" : { "type" : "string", "description" : "版本更新时间", "example" : "2019-01-01 12:12:12" }, "gray_start_time" : { "type" : "string", "description" : "版本灰度时间", "example" : "2019-01-01 12:00:22" }, "gray_strategy" : { "type" : "string", "description" : "小程序灰度比例值", "example" : "p10-10%的用户,p30-30%的用户,p50-50%的用户" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID", "example" : "2019****" }, "offline_time" : { "type" : "string", "description" : "版本下架时间", "example" : "2019-01-01 12:00:22" }, "package_url" : { "type" : "string", "description" : "包地址", "example" : "http://alipay-offline.cn-hangzhou.alipay.aliyun-inc.com/pkgcore/pMugqXnuGsXecwEvlsuQ.amr" }, "plugin_refs" : { "type" : "array", "description" : "引用插件信息", "items" : { "$ref" : "#/components/schemas/MiniAppPluginInfo" } }, "process_task_id" : { "type" : "string", "description" : "流程id", "example" : "123" }, "reject_reason" : { "type" : "string", "description" : "审核失败原因", "example" : "名称过于宽泛" }, "rollback_time" : { "type" : "string", "description" : "版本回滚时间", "example" : "2019-01-01 12:00:22" }, "scan_result" : { "type" : "string", "description" : "安全扫描结果", "example" : "True" }, "screen_shot_list" : { "type" : "string", "description" : "小程序版本截图,多个截图以逗号隔开", "example" : "http://image.aaa.alipay.com" }, "shelf_time" : { "type" : "string", "description" : "版本上架时间", "example" : "2019-01-01 12:00:22" }, "source_url" : { "type" : "string", "description" : "源码包地址", "example" : "http://alipay-offline.cn-hangzhou.alipay.aliyun-inc.com/pkgcore/pMugqXnuGsXecwEvlsuQ.amr" }, "status" : { "type" : "string", "description" : "版本状态", "example" : "小程序版本状态,INIT-开发中,AUDITING-审核中,WAIT_RELEASE-审核通过,AUDIT_REJECT-审核驳回,RELEASE-已上架,GRAY-灰度中,OFFLINE-下架" }, "template_extra" : { "type" : "string", "description" : "模板构建参数", "example" : "{\"tinycliversion\":\"1.1.1\"}" }, "template_version" : { "type" : "string", "description" : "模板版本号", "example" : "0.0.1" } } }, "AlipayOpenMiniInnerversionInstantiationQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APPID_IS_BLANK", "BUNDLE_ID_IS_BLANK", "MINI_APP_VERSION_IS_BLANK", "VERSION_LENGTH_ERROR", "VERSION_EXCEEDED_LENGTH", "APP_ORIGIN_NOT_EXIST", "APP_INFO_NOT_EXIST", "SUB_APPLICATION_TYPE_ERROR", "APPLICATION_TYPE_NOT_MINIAPP" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionInstantiationQueryResponseModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "小程序版本号", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "端id", "example" : "com.alipay.alipaywallet" }, "mini_app_id" : { "type" : "string", "description" : "小程序appId", "example" : "2021000116680014" }, "template_id" : { "type" : "string", "description" : "模板id", "example" : "2019042861090647" }, "template_version" : { "type" : "string", "description" : "模板的版本号", "example" : "0.0.3" } } }, "AlipayOpenMiniInnerversionLastQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "MINICORE_INVOKE_ERROR", "OPENCORE_RPC_INVOKE_ERROR", "APP_ORIGIN_IS_BLANK", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "BUNDLE_ID_IS_BLANK", "PID_IS_BLANK", "APPID_IS_BLANK" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionLastQueryResponseModel" : { "type" : "object", "properties" : { "app_desc" : { "type" : "string", "description" : "小程序应用描述", "example" : "小程序官方示例Demo,展示已支持的接口能力及组件" }, "app_name" : { "type" : "string", "description" : "小程序的名称", "example" : "小程序名称" }, "app_version" : { "type" : "string", "description" : "版本号", "example" : "1.0.1" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app" }, "category_ids" : { "type" : "string", "description" : "小程序所属类目", "example" : "107209_107226" }, "english_name" : { "type" : "string", "description" : "小程序英文名称", "example" : "xiaochengxu" }, "logo_url" : { "type" : "string", "description" : "小程序应用logo图标", "example" : "https://appstoreisvpic.alipayobjects.com/prod/04843e84-f1fd-4717-a230-1c72de99aa5d.png" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID", "example" : "2018********" }, "service_phone" : { "type" : "string", "description" : "小程序客服电话", "example" : "13110101010" }, "slogan" : { "type" : "string", "description" : "小程序应用简介,一句话描述小程序功能", "example" : "提供小程序示例功能" }, "status" : { "type" : "string", "description" : "版本状态", "example" : "INIT" }, "sub_application_type" : { "type" : "string", "description" : "小程序子类型,自研、模板类型", "example" : "TINY_NORMAL" } } }, "AlipayOpenMiniInnerversionModelforofflineQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionModelforofflineQueryResponseModel" : { "type" : "object", "properties" : { "model_json" : { "type" : "string", "description" : "线上版本包数据", "example" : "{}" }, "sync_id" : { "type" : "string", "description" : "同步ID,同步失败时便于去线上追溯", "example" : "abcasdasda1217893189389asdasda98" } } }, "AlipayOpenMiniInnerversionNobuildUploadErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "DEV_VERSION_EXCEED_MAX_COUNT", "APP_NOT_EXSIT", "VERSION_EXCEEDED_LENGTH", "PACKAGE_VERSION_IS_BLANK", "BUILD_VERSION_ALREADY_EXIST", "BIZ_ERROR", "PLUGIN_REF_OVER_LIMIT", "DATA_DUPLICATE_WITH_BUILD", "APP_INFO_NOT_EXIST", "PLUGIN_NOT_EXIST", "PLUGIN_PACKAGE_NOT_FOUND", "PACKAGE_SIZE_IS_BLANK", "SUB_PACKAGE_PARAM_EXIST_EMPTY", "BUILD_VERSION_COMPARE_ERROR", "START_BUILD_ERROR", "BUNDLE_ID_NOT_EXIST", "INVALID_PARAMS", "PACKAGE_URL_IS_BLANK" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionNobuildUploadModel" : { "type" : "object", "properties" : { "build_extra_info" : { "type" : "string", "description" : "扩展信息,比如adaptorName、tinycliVersion、tinycliName、import-module、allowPrecompile、extJson、allowInstallDependency、aggregationMainAppId,如果没有特殊要求,tinycliVersion版本请用最新的: https://registry.npm.alibaba-inc.com/@alipay/tiny-cli/huoban-prod", "example" : "{\"tinycliVersion\":\"1.5.20200213201649\"}" }, "build_js_permission" : { "type" : "string", "description" : "jsapi权限文件", "example" : "{\"permissionJSON\":[1, 2, 3, 4, 5]}" }, "build_main_url" : { "type" : "string", "description" : "小程序页面主入口。/index.html#page/component/index,该值需要和extendInfo中的page参数保持一致", "example" : "/index.html#page/component/index" }, "build_qcloud_info" : { "type" : "string", "description" : "打包平台扩展信息", "example" : "{\"launchParams\":{\"enableTabBar\":\"YES\",\"enableJSC\":\"YES\",\"page\":\"page/component/index\",\"enableKeepAlive\":\"YES\",\"enableWK\":\"YES\"}}" }, "build_version" : { "type" : "string", "description" : "小程序版本", "example" : "0.0.1" }, "builded_package_size" : { "type" : "string", "description" : "已经构建过的amr包大小,单位是字节,建议如实填写", "example" : "20" }, "builded_package_url" : { "type" : "string", "description" : "已经构建的包地址,目前主要自行构建的场景使用", "example" : "产物包地址" }, "builded_plugin_size" : { "type" : "string", "description" : "构建好的插件包amr大小", "example" : "100" }, "builded_plugin_url" : { "type" : "string", "description" : "构建好的插件包地址", "example" : "构建好的插件包地址" }, "bundle_id" : { "type" : "string", "description" : "一个端的标识,用于区分不同的客户端,每接入一个客户端,都需要向小程序应用中心申请bundleId入驻", "example" : "com.alipay.alipaywallet" }, "components" : { "type" : "string", "description" : "组件参数", "example" : "{}" }, "inst_code" : { "type" : "string", "description" : "上传调试版的接入租户类型", "example" : "taobao" }, "mini_app_id" : { "type" : "string", "description" : "小程序id", "example" : "2017122101357757" }, "new_builded_package_size" : { "type" : "string", "description" : "2.0已经构建过的amr包大小,单位是字节,主要是给自行构建的场景使用", "example" : "100" }, "new_builded_package_url" : { "type" : "string", "description" : "2.0产物包地址", "example" : "2.0产物包地址" }, "new_builded_plugin_size" : { "type" : "string", "description" : "构建好的插件包amr大小", "example" : "100" }, "new_builded_plugin_url" : { "type" : "string", "description" : "构建好的插件包地址", "example" : "构建好的插件包地址" }, "no_sign" : { "type" : "boolean", "description" : "否免加签, true的时候代表传过来的是加签后的包地址", "example" : "true" }, "plugin_refs" : { "type" : "array", "description" : "小程序代码中引用的插件列表,包含插件id和插件版本信息,业务方需要自行解析源码包的app.json里面的plugins信息", "items" : { "$ref" : "#/components/schemas/MiniAppPluginReference" } }, "sub_packages" : { "type" : "array", "description" : "构建好的分包信息", "items" : { "$ref" : "#/components/schemas/SubPackageInfo" } } } }, "AlipayOpenMiniInnerversionNobuildUploadResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionOfflinePublishErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "MINI_APP_NOT_ONLINE", "NO_PERMISSION", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionOfflinePublishModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "AAA" }, "app_version" : { "type" : "string", "description" : "版本号", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数", "example" : "2019****" }, "pid" : { "type" : "string", "description" : "小程序所属PID", "example" : "2088*****" } } }, "AlipayOpenMiniInnerversionOfflinePublishResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionOnlineErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "ONLINE_FAILURE", "PARAMS_VALID_ERROR", "MINI_APP_VERSION_NOT_EXISTS", "MINI_APP_VERSION_STATUS_ILLEGAL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionOnlineModel" : { "type" : "object", "properties" : { "app_offline_version" : { "type" : "string", "description" : "下架版本", "example" : "0.0.5" }, "app_online_version" : { "type" : "string", "description" : "上架版本", "example" : "0.0.6" }, "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "ASTORE" }, "bundle_id" : { "type" : "string", "description" : "一个端的标识,用于区分不同的客户端,每接入一个客户端,都需要向小程序应用中心申请bundelId入驻", "example" : "com.alipay.alipaywallet" }, "inst_code" : { "type" : "string", "description" : "租户code,alipay or taobao", "example" : "taobao" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID", "example" : "2018012201365222" } } }, "AlipayOpenMiniInnerversionOnlinePublishErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_ONLINE_WITHOUT_GRAY", "MINI_APP_NOT_ONLINE", "NO_PERMISSION", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "CAN_NOT_ONLINE_WITHOUT_AUDIT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionOnlinePublishModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "AAA" }, "app_version" : { "type" : "string", "description" : "小程序版本", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app" }, "downgrade" : { "type" : "boolean", "description" : "否服务降级,如果降级,拉包策略如果端上有本地包,则使用本地包打开,同时异步下载新包,待下次打开则使用新包", "example" : "true" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数", "example" : "2019*****" }, "pid" : { "type" : "string", "description" : "小程序所属PID", "example" : "2088****" }, "release_type" : { "type" : "string", "description" : "normal默认普通发布,high 高保发布", "example" : "normal/high" } } }, "AlipayOpenMiniInnerversionOnlinePublishResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionOnlineResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionPackageCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "PACKAGE_TYPE_NOT_EXIST", "PARAMS_VALID_ERROR", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "NO_PERMISSION", "PACKAGE_VERSION_IS_BLANK", "VERSION_LENGTH_ERROR", "VERSION_EXCEEDED_LENGTH", "BUNDLE_ID_NOT_EXIST", "INVALID_PARAMS_WARN", "MINI_APP_VERSION_NOT_EXIST", "APP_ORIGIN_IS_BLANK", "APP_ORIGIN_NOT_EXIST", "APP_IS_NOT_HUOBAN", "APP_IS_BUILD_BY_TEMPLATE", "MINI_APP_VERSION_NOT_INIT", "BUNDLE_ID_IS_BLANK", "NOT_CREATE_COVERAGE_NOT_ALIPAY", "APP_IS_NOT_INNER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionPackageCreateModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务来源", "example" : "AAA" }, "app_version" : { "type" : "string", "description" : "小程序版本", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。", "example" : "2019****" }, "package_type" : { "type" : "string", "description" : "打包类型。预发包和覆盖率包", "example" : "PRE_ONLINE" }, "pid" : { "type" : "string", "description" : "pid. 伙伴链路(app_origin='HUOBAN')时必填", "example" : "2019****" } } }, "AlipayOpenMiniInnerversionPackageCreateResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionSyncErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "APP_ORIGIN_IS_BLANK", "APP_ORIGIN_NOT_EXIST", "SYNC_TYPE_IS_BLANK", "SYNC_TYPE_NOT_EXIST", "BUNDLE_ID_IS_BLANK", "BUNDLE_ID_NOT_EXIST", "BUNDLE_ID_NOT_IN_SYNC", "SYNC_WITHOUT_ONLINE_ERROR", "PKGCORE_INVOKE_ERROR", "SYSTEM_ERROR", "MINICORE_INVOKE_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionSyncModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务参数来源", "example" : "AAA" }, "app_version" : { "type" : "string", "description" : "推送的小程序版本号", "example" : "1.0.0" }, "bundle_id" : { "type" : "string", "description" : "端信息", "example" : "com.alipay.alipaywallet" }, "dev_id" : { "type" : "string", "description" : "操作人ID", "example" : "2088******" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。", "example" : "2019*******" }, "sync_type" : { "type" : "string", "description" : "同送方式", "example" : "global:全量,recent:定向" } } }, "AlipayOpenMiniInnerversionSyncResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionTemplatedUploadErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APP_VERSION_IS_BLANK", "TEMPLATE_ID_IS_BLANK", "VERSION_HAS_EXISTED", "LARGER_VERSION_HAS_EXISTED", "APPLICATION_TYPE_NOT_MINIAPP", "INVALID_VERSION", "DEV_VERSION_EXCEED_MAX_COUNT", "TEMPLATE_NOT_ONLINE_OR_OFFLINE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "TEMPLATE_MINIAPP_NOT_ALLOWED", "VERSION_EXCEEDED_LENGTH", "INVALID_EXT_JSON", "TEMPLATE_ID_ISVAPPID_NOT_MATCH", "NO_AUTH_RELATION" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionTemplatedUploadModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入。", "example" : "AAA" }, "app_version" : { "type" : "string", "description" : "格式为: x.y.z,其中x、y、z均为整型数字,版本不能重复构建,且新版本号必须高于旧版本", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "端id", "example" : "com.alipay.alipaywallet" }, "ext" : { "type" : "string", "description" : "模板的配置参数,完整内容请参见:https://docs.alipay.com/mini/isv/ortga1", "example" : "{\"extEnable\": true, \"extPages\": {\"pages/face/index\": {\"defaultTitle\": \"默认页面标题\"}},\"window\": {\"defaultTitle\": \"默认标题\"}}" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。", "example" : "2019051464523527" }, "template_id" : { "type" : "string", "description" : "模板id,模板必须已经处于上架/下架状态", "example" : "2019032163637014" }, "template_version" : { "type" : "string", "description" : "模板版本,必须处于上架/下架状态。如果为空,默认取当前在架,或者最新下架的版本。", "example" : "0.0.1" } } }, "AlipayOpenMiniInnerversionTemplatedUploadResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionUpgradeErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMS", "TEMPLATE_NOT_ONLINE_OR_OFFLINE", "MINI_APP_AUDITING", "TEMPLATE_VERSION_NOT_EXIST", "CAN_NOT_BATCH_UPGRADE_WITHOUT_ONLINE_OR_OFFLINE", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionUpgradeModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入。", "example" : "AAA" }, "bundle_id" : { "type" : "string", "description" : "端ID,多端场景下区分不同端", "example" : "com.alipay.alipaywallet" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。", "example" : "2019032163637016" }, "template_id" : { "type" : "string", "description" : "用于升级的模板id", "example" : "2019032163637014" }, "template_version" : { "type" : "string", "description" : "用于升级的模板版本号,版本号必须满足 x.y.z, 且均为数字", "example" : "0.0.3" } } }, "AlipayOpenMiniInnerversionUpgradeResponseModel" : { "type" : "object" }, "AlipayOpenMiniInnerversionUploadErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "DEV_VERSION_EXCEED_MAX_COUNT", "APP_NOT_EXSIT", "START_BUILD_ERROR", "BUILD_DATA_ERROR", "VERSION_EXCEEDED_LENGTH", "PACKAGE_VERSION_IS_BLANK", "CLIENT_VERSION_HAS_NULL", "MIN_CLIENT_VERSION_GREATER_THAN_", "INVALID_MAX_CLIENT_VERSION", "INVALID_CLIENT_VERSION", "BUILD_VERSION_ALREADY_EXIST", "BIZ_ERROR", "PLUGIN_REF_OVER_LIMIT", "DATA_DUPLICATE_WITH_BUILD", "PLUGIN__NOT_ORDERED", "APP_INFO_NOT_EXIST", "PLUGIN_NOT_EXIST", "PLUGIN_PACKAGE_NOT_FOUND" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionUploadModel" : { "type" : "object", "properties" : { "app_origin" : { "type" : "string", "description" : "业务来源,新接入方需要向支付宝申请专用来源,否则不予接入。https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang", "example" : "https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang" }, "build_app_type" : { "type" : "string", "description" : "IDE开发打包类型,写死tinyApp", "example" : "tinyApp" }, "build_extra_info" : { "type" : "string", "description" : "扩展信息,比如adaptorName、tinycliVersion、tinycliName、import-module、allowPrecompile、extJson、allowInstallDependency、aggregationMainAppId,如果没有特殊要求,tinycliVersion版本请用最新的:\thttps://registry.npm.alibaba-inc.com/@alipay/tiny-cli/huoban-prod", "example" : "{\"tinycliVersion\":\"1.5.20200213201649\"}" }, "build_extra_mini_project_config" : { "type" : "string", "description" : "用于覆盖开发者配置字段,实现止血和灰度逻辑", "example" : "{\"enableAppxNg\":\"YES\"}" }, "build_js_permission" : { "type" : "string", "description" : "jsapi 权限文件,钉钉外请勿传", "example" : "{\"permissionJSON\":[1, 2, 3, 4, 5]}" }, "build_main_url" : { "type" : "string", "description" : "小程序页面主入口。/index.html#page/component/index,该值需要和extendInfo中的page参数保持一致", "example" : "/index.html#page/component/index" }, "build_max_android_client_version" : { "type" : "string", "description" : "最大Android客户端版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题", "example" : "100.0.0" }, "build_max_ios_client_version" : { "type" : "string", "description" : "最大iOS客户单版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题", "example" : "100.0.0" }, "build_min_android_client_version" : { "type" : "string", "description" : "最小Android客户端版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题", "example" : "10.1.35" }, "build_min_ios_client_version" : { "type" : "string", "description" : "最小iOS客户单版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题", "example" : "10.1.35" }, "build_package_md_5" : { "type" : "string", "description" : "源码包文件流的MD5字符串", "example" : "源码包" }, "build_package_name" : { "type" : "string", "description" : "包名称", "example" : "dist.amr" }, "build_package_stream" : { "type" : "string", "description" : "base64编码后的小程序源码包文件流", "example" : "小程序源码包" }, "build_qcloud_info" : { "type" : "string", "description" : "打包平台扩展信息", "example" : "{\"launchParams\":{\"enableTabBar\":\"YES\",\"enableJSC\":\"YES\",\"page\":\"page/component/index\",\"enableKeepAlive\":\"YES\",\"enableWK\":\"YES\"}}" }, "build_signed_pkg_url" : { "type" : "string", "description" : "已经构建加签过的包地址", "example" : "已经构建加签过的包地址" }, "build_source_pkg_size" : { "type" : "string", "description" : "源码包大小", "example" : "10000" }, "build_source_pkg_url" : { "type" : "string", "description" : "源码包地址,源码包大小不能超过20M且地址必须永久有效,若超20M,将限制业务来源调用。将源码文件夹整个用zip格式压缩成后缀amr文件传至文件服务器", "example" : "http://alipay-offline.cn-hangzhou.alipay.aliyun-inc.com/pkgcore/DMDjCdOCtERoGgyrJZzq.amr" }, "build_sub_url" : { "type" : "string", "description" : "子入口", "example" : "/index.html#pages/todos/todos" }, "build_version" : { "type" : "string", "description" : "小程序版本", "example" : "0.0.1" }, "builded_package_size" : { "type" : "string", "description" : "已经构建过的包大小,单位是字节,主要是给自行构建的场景使用", "example" : "10000" }, "builded_package_url" : { "type" : "string", "description" : "已经构建的包地址,目前主要自行构建的场景使用", "example" : "已经构建的包地址" }, "bundle_id" : { "type" : "string", "description" : "一个端的标识,用于区分不同的客户端,每接入一个客户端,都需要向小程序应用中心申请bundleId入驻", "example" : "com.alipay.alipaywallet" }, "client_type" : { "type" : "string", "description" : "多端类型,除了钉钉外其他业务方禁止使用", "example" : "DINGDING" }, "inst_code" : { "type" : "string", "description" : "上传调试版的接入租户类型。", "example" : "taobao" }, "mini_app_id" : { "type" : "string", "description" : "小程序ID", "example" : "2017122101357757" }, "plugin_refs" : { "type" : "array", "description" : "小程序代码中引用的插件列表,包含插件id和插件版本信息,业务方需要自行解析源码包的app.json里面的plugins信息", "items" : { "$ref" : "#/components/schemas/MiniAppPluginReference" } } } }, "AlipayOpenMiniInnerversionUploadResponseModel" : { "type" : "object", "properties" : { "build_info" : { "type" : "string", "description" : "构建信息", "example" : "构建信息" }, "build_package_url" : { "type" : "string", "description" : "包地址", "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar" }, "build_status" : { "type" : "string", "description" : "构建状态", "example" : "构建状态" }, "build_version" : { "type" : "string", "description" : "构建版本", "example" : "0.0.5" }, "need_rotation" : { "type" : "string", "description" : "是否需要轮询", "example" : "TRUE" }, "new_build_package_url" : { "type" : "string", "description" : "appx构建返回值", "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar" }, "package_id" : { "type" : "string", "description" : "包管理包ID", "example" : "34845" }, "version_created" : { "type" : "string", "description" : "版本创建结果", "example" : "TRUE" } } }, "AlipayOpenMiniInnerversionUploadstatusQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "POLLING_BUILD_VERSION_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniInnerversionUploadstatusQueryResponseModel" : { "type" : "object", "properties" : { "build_info" : { "type" : "string", "description" : "构建信息", "example" : "构建信息" }, "build_package_url" : { "type" : "string", "description" : "构建好的包地址", "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar" }, "build_status" : { "type" : "string", "description" : "构建状态", "example" : "构建状态" }, "log_url" : { "type" : "string", "description" : "构建日志地址", "example" : "https://tfapi.alipay.com/logs/5c1ac74d0c5e1d85b8c618dd" }, "need_rotation" : { "type" : "string", "description" : "是否需要轮询", "example" : "TRUE" }, "new_build_package_url" : { "type" : "string", "description" : "构建好的appx2.0包地址", "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar" }, "new_result_url" : { "type" : "string", "description" : "构建的结果地址", "example" : "https://tfapi.alipay.com/logs/5c1ac75f4b6ce5884ced6f00" }, "result_url" : { "type" : "string", "description" : "构建的结果地址", "example" : "https://tfapi.alipay.com/logs/5c1ac75f4b6ce5884ced6f00" }, "version_created" : { "type" : "string", "description" : "创建版本结果", "example" : "TRUE" } } }, "AlipayOpenMiniIsvCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMS", "SYSTEM_ERROR", "ONGOING_ORDER_EXIST", "DAILY_REJECT_EXCEEDS", "PROVIDER_ROLE_INVALID", "APP_NAME_DUPLICATED", "CERTIFICATE_INVALID", "PERMISSION_DENIED", "REJECT_COUNTS_EXCEEDS", "NOT_UNIQUE", "OPERATION_INVALID", "HAS_RISK", "ORDER_FINISHED", "INVALID_MINI_APP_NAME_LENGTH", "PARAM_INVALID" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniIsvCreateModel" : { "type" : "object", "properties" : { "create_mini_request" : { "$ref" : "#/components/schemas/CreateMiniRequest" } } }, "AlipayOpenMiniIsvCreateResponseModel" : { "type" : "object", "properties" : { "order_no" : { "type" : "string", "description" : "小程序代创建订单号", "example" : "2387429847238743" } } }, "AlipayOpenMiniIsvFastregisterCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_MINI_APP_NAME_LENGTH", "ILLEGAL_PARAMS", "PRECREATE_MINI_ERROR", "OPENCORE_APP_NAME_EXIST", "PROVIDER_ROLE_INVALID", "SYSTEM_ERROR", "OPENID_QUERY_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniIsvFastregisterCreateModel" : { "type" : "object", "properties" : { "app_name" : { "type" : "string", "description" : "小程序名称,昵称半自动设定,强制后缀“的试用小程序”。且该参数会进行关键字检查,如果命中品牌关键字则会报错。\t如遇到品牌大客户要用试用小程序,建议用户先换个名字,认证后再修改成品牌名。", "example" : "张三的小程序" }, "auth_notify_url" : { "type" : "string", "description" : "授权确认成功后回调h5链接或小程序页面", "example" : "pages/notify/index" }, "out_order_no" : { "type" : "string", "description" : "外部订单号", "example" : "202132131232131231231231231" }, "uid" : { "type" : "string", "description" : "商户2088", "example" : "20881232424234234234234" } } }, "AlipayOpenMiniIsvFastregisterCreateResponseModel" : { "type" : "object", "properties" : { "authorize_url" : { "type" : "string", "description" : "授权确认跳转url", "example" : "alipays://xxxxxxxxxxxxxxxx" }, "order_no" : { "type" : "string", "description" : "代创建试用小程序单号", "example" : "2022120716532186600070121" } } }, "AlipayOpenMiniIsvFastregisterQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "NO_PERMISSION", "ILLEGAL_PARAMS", "SYSTEM_ERROR", "ORDER_NOT_EXIST", "ORDER_TYPE_NOT_MATCH" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniIsvFastregisterQueryResponseModel" : { "type" : "object", "properties" : { "app_name" : { "type" : "string", "description" : "小程序应用名", "example" : "张三的试用小程序" }, "isv_app_id" : { "type" : "string", "description" : "appid", "example" : "202212121324324343" }, "mini_app_id" : { "type" : "string", "description" : "小程序appid", "example" : "20212323243534535" }, "order_no" : { "type" : "string", "description" : "代创建试用小程序单号", "example" : "2202324344343435353" }, "out_order_no" : { "type" : "string", "description" : "商户传入的外部订单号", "example" : "23948392483253534535" }, "status" : { "type" : "string", "description" : "WAIT_CONFIRM待确认创建,\tCONFIRM_TIMEOUT待创建确认授权超时,\tCREATE_MINI_APP_SUCCESS创建应用成功,CREATE_MINI_APP_FAILED创建应用失败,CANCELLED已注销,CERTIFY_SUCCESS认证成功,CERTIFY_FAILED认证失败,CERTIFY_OPERATOR管理员认证中,CERTIFY_MERCHANT法人认证中", "example" : "WAIT_CONFIRM" } } }, "AlipayOpenMiniIsvQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMS", "SYSTEM_ERROR", "PERMISSION_DENIED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniIsvQueryResponseModel" : { "type" : "object", "properties" : { "min_app_id" : { "type" : "string", "description" : "小程序appId,商家确认后非空,若商家未确认或超时返回空", "example" : "20218324729872" }, "order_no" : { "type" : "string", "description" : "订单号", "example" : "239238834234344" }, "out_order_no" : { "type" : "string", "description" : "外部订单号,开发者帐号+外部订单号维度来控制请求务幂等", "example" : "23948392483253534535" }, "pid" : { "type" : "string", "description" : "商户pid", "example" : "2088002306330746" }, "status" : { "type" : "string", "description" : "PROCESS处理中,TIMEOUT超时,AGREED同意, REJECTED拒绝", "example" : "PROCESS" } } }, "AlipayOpenMiniMiniappBrandCancelErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniMiniappBrandCancelResponseModel" : { "type" : "object" }, "AlipayOpenMiniMiniappBrandQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniMiniappBrandQueryResponseModel" : { "type" : "object", "properties" : { "merchant_brand_list_result" : { "$ref" : "#/components/schemas/MerchantBrandListResult" }, "miniapp_brand_audit_result" : { "$ref" : "#/components/schemas/MiniappBrandAuditResult" } } }, "AlipayOpenMiniMiniappBrandSubmitErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniMiniappBrandSubmitModel" : { "type" : "object", "properties" : { "apply_type" : { "type" : "string", "description" : "申请的资质类型\tSELF_BRAND_APPLY 自有品牌申请(当需要一个新的品牌时选择此项)\tAUTHORIZE_BRAND_APPLY 授权品牌申请(当需要授权一个已有的品牌给商户时选择此项)\tEXIST_BRAND_BIND 品牌绑定,适用于品牌已申请成功的情况(当需要将已有品牌绑定到无品牌小程序时选择此项)", "example" : "AUTHORIZE_BRAND_APPLY" }, "authorize_info" : { "$ref" : "#/components/schemas/AuthorizeInfo" }, "brand_id" : { "type" : "string", "description" : "商户已有品牌Id(只有申请的资质类型为EXIST_BRAND_BIND 时需要填写)", "example" : "brand2020091614782813" }, "brand_name" : { "type" : "string", "description" : "品牌名称", "example" : "CR7合作" }, "brand_registration_info" : { "$ref" : "#/components/schemas/BrandRegistrationInfo" }, "id_materials" : { "type" : "array", "description" : "申请人身份证明材料(当前只支持图片类型,请调用alipay.open.mini.miniapp.brand.upload接口上传图片,可以上传多个身份证明材料)", "items" : { "type" : "string" }, "example" : "[\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\",\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\"]" } } }, "AlipayOpenMiniMiniappBrandSubmitResponseModel" : { "type" : "object" }, "AlipayOpenMiniMiniappBrandUploadErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniMiniappBrandUploadModel" : { "type" : "object" }, "AlipayOpenMiniMiniappBrandUploadResponseModel" : { "type" : "object", "properties" : { "file_key" : { "type" : "string", "description" : "图片上传成功后的图片存储键(可用于填写调用alipay.open.mini.miniapp.brand.submit时需要的图片类型的字段)", "example" : "A*BTRVJSTHEBRE784685" } } }, "AlipayOpenMiniMiniappServiceconfigModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniMiniappServiceconfigModifyModel" : { "type" : "object", "properties" : { "home_open" : { "type" : "boolean", "description" : "云客服是否在小程序首页透出,true-开启,false-不开启", "example" : "true" }, "service_config" : { "type" : "string", "description" : "客服方式,目前支持ANTCLOUD-云客服", "example" : "ANTCLOUD" } } }, "AlipayOpenMiniMiniappServiceconfigModifyResponseModel" : { "type" : "object" }, "AlipayOpenMiniQrcodeBindErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APP_IS_NOT_EXIST", "ROUTE_CREATE_NEED_VERSION", "ROUTE_OVER_LIMIT", "ROUTE_RULE_CONFLICT", "HOST_VERIFY_FAILD", "INVALID_PARAM", "APPQRCODE_NOT_TINYAPP", "ONLINE_VERSION_NOT_EXIST", "TEMPLATE_NOT_HAVE_HOST", "TEMPLATE_MISMATCH_ISVAPPID", "BUILDED_NOT_BY_TEMPLATE", "NOT_CURRENTLY_AVALIALBE", "ROUTE_RULE_CONFLICT_OTHER", "QRCODE_ROUTE_URL_INVALID", "APP_IS_NOT_ONLINE", "QRCODE_ROUTE_PATTERN_NOT_MATCH", "QRCODE_ROUTE_PATTERN_NOT_EXIST", "QRCODE_ROUTE_PATTERN_NOT_PERMISSION" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniQrcodeBindModel" : { "type" : "object", "properties" : { "mode" : { "type" : "string", "description" : "匹配规则,仅支持EXACT(精确匹配)、FUZZY(模糊匹配)两个值。\r\t精确匹配:根据填写的二维码地址精确匹配,地址完全一致时才能唤起小程序(如:配置二维码地址为https://www.alipay.com/my?id=123,当用户扫这个地址的二维码可唤起小程序)。\r\t模糊匹配:根据填写的二维码地址模糊匹配,只要地址前缀匹配即可唤起小程序(如:配置二维码地址为https://www.alipay.com/my/,当用户扫的二维码地址为https://www.alipay.com/my/id=123,可唤起小程序)。", "example" : "FUZZY" }, "page_redirection" : { "type" : "string", "description" : "小程序功能页,配置扫描二维码后打开的小程序功能页面路径", "example" : "pages/index/index" }, "route_pattern" : { "type" : "string", "description" : "模式,用于描述通用的路由url格式,适用于同一个host下面存在大量路由的场景,主要用于提升路由性能,其中{0}、{1} 代表路径中的变量", "example" : "http://yoursite.com/merchant/{0}/shop/{1}" }, "route_url" : { "type" : "string", "description" : "二维码域名,须通过ICP备案验证,支持http、https、ftp开头的链接", "example" : "https://www.yoursite.com/" } } }, "AlipayOpenMiniQrcodeBindResponseModel" : { "type" : "object", "properties" : { "route_group" : { "type" : "string", "description" : "路由规则组,用于唯一标记一条路由规则", "example" : "78b59c5b6b2946448bc77e17e544b813" } } }, "AlipayOpenMiniQrcodeQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "PAGE_PARAM_NULL_FAIL", "PAGE_SIZE_OUT_LIMIT_FAIL", "PAGE_PARAM_MIN_LIMIT_FAIL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniQrcodeQueryResponseModel" : { "type" : "object", "properties" : { "qr_code_route_groups" : { "type" : "array", "description" : "规则路由数据列表", "items" : { "$ref" : "#/components/schemas/QrCodeRouteGroup" } }, "total_items" : { "type" : "integer", "description" : "数据总数", "example" : "20" } } }, "AlipayOpenMiniQrcodeUnbindErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAM", "TINY_APP_NOT_EXIST", "ROUTE_GROUP_NOT_EXIST", "NO_PERMISSION", "QRCODE_ROUTE_PATTERN_DELETE_NOT_SUPPORT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniQrcodeUnbindModel" : { "type" : "object", "properties" : { "route_group" : { "type" : "string", "description" : "路由规则组,用于唯一标记一条路由规则。调用 https://opendocs.alipay.com/apis/00rkye 接口关联普通二维码后的返回值。", "example" : "78b59c5b6b2946448bc77e17e544b813" } } }, "AlipayOpenMiniQrcodeUnbindResponseModel" : { "type" : "object" }, "AlipayOpenMiniResourcePromotionsourceNotifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "PARAM_APP_ID_IS_BLANK", "PARAM_PROMOTION_ID_IS_BLANK", "PARAM_PROMOTION_NAME_IS_BLANK", "RESOURCE_SOURCE_IS_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniResourcePromotionsourceNotifyModel" : { "type" : "object", "properties" : { "author_id" : { "type" : "string", "description" : "媒体唤起时传入的支付宝id", "example" : "201***********" }, "params" : { "type" : "string", "description" : "媒体唤起时提供的额外参数值列表,这里可能有多个值,打平以后拼入。即url_decode(authcbparams)", "example" : "app_id=1024562&a=1&b=2&c=3&bind_entry=12" }, "promotion_id" : { "type" : "string", "description" : "推广位id", "example" : "mm_mm_123213123123131_21" }, "promotion_name" : { "type" : "string", "description" : "推广位名称", "example" : "推广位名称" }, "source" : { "type" : "string", "description" : "媒体来源,标识调用方", "example" : "zfb_xcx" } } }, "AlipayOpenMiniResourcePromotionsourceNotifyResponseModel" : { "type" : "object" }, "AlipayOpenMiniResourceRecordNotifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "PARAM_APP_ID_IS_BLANK", "PARAM_TAOBAO_ID_IS_BLANK", "PARAM_TAOBAO_NICK_IS_BLANK", "RESOURCE_SOURCE_IS_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniResourceRecordNotifyModel" : { "type" : "object", "properties" : { "author_id" : { "type" : "string", "description" : "媒体唤起时传入的支付宝id", "example" : "2121******" }, "mini_app_id" : { "type" : "string", "description" : "支付宝appid,代表一个小程序的唯一标识", "example" : "201***********" }, "params" : { "type" : "string", "description" : "媒体唤起时提供的额外参数值列表,这里可能有多个值,打平以后拼入。即url_decode(authcbparams)", "example" : "app_id=1024562&a=1&b=2&c=3&bind_entry=12" }, "site_id" : { "type" : "string", "description" : "回调的siteid 淘宝账号唯一", "example" : "12323232" }, "source" : { "type" : "string", "description" : "媒体来源,标识调用方", "example" : "zfb_xcx" }, "taobao_id" : { "type" : "string", "description" : "淘宝id", "example" : "1***********" }, "taobao_nick" : { "type" : "string", "description" : "淘宝昵称", "example" : "**昵称" } } }, "AlipayOpenMiniResourceRecordNotifyResponseModel" : { "type" : "object" }, "AlipayOpenMiniSafedomainCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "SAFE_DOMAIN_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "SAFEDOMAIN_FORBID", "SAFEDOMAIN_EXCEED_LENGTH", "SAFEDOMAIN_VOER_LIMIT", "SAFEDOMAIN_EXSIT", "ANTI_PHISHING_EXIST", "INVALID_SAFE_DOMAIN" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniSafedomainCreateModel" : { "type" : "object", "properties" : { "safe_domain" : { "type" : "string", "description" : "服务器域名白名单。支付宝小程序在HTTP请求、上传文件等场景只能与域名白名单中的域名进行通讯 。\t新添加域白名单后需重新上传应用版本(模板模式下小程序模板及商家应用都需重新上传、实例化版本)才会生效。老版本应用继续使用老版本名单。\t每个应用最多可添加30个 URL。", "example" : "example.com" } } }, "AlipayOpenMiniSafedomainCreateResponseModel" : { "type" : "object" }, "AlipayOpenMiniSafedomainDeleteErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "SAFE_DOMAIN_IS_BLANK" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniSafedomainDeleteResponseModel" : { "type" : "object" }, "AlipayOpenMiniTemplateMarketingCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ACTIVITY_ID_IS_NULL", "TEMPLATE_ID_IS_NULL", "END_TIME_IS_VALID", "TEMPLATE_ID_OVER_LIMIT", "ACTIVITY_IS_NOT_EXIST", "HAS_NO_AUTH_FOR_ACTIVITY" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTemplateMarketingCreateModel" : { "type" : "object", "properties" : { "activity_id" : { "type" : "string", "description" : "营销活动id", "example" : "2022xxxx" }, "gmt_end" : { "type" : "string", "description" : "活动结束时间", "example" : "2022-01-10 22:00:00" }, "gmt_start" : { "type" : "string", "description" : "活动开始时间", "example" : "2022-01-01 10:00:00" }, "template_ids" : { "type" : "array", "description" : "消息模板id列表,最多50个模板id", "items" : { "type" : "string" }, "example" : "[\"a\",\"b\",\"c\"]" }, "title" : { "type" : "string", "description" : "消息运营位名称,不填默认使用券名称", "example" : "优惠活动xxx" } } }, "AlipayOpenMiniTemplateMarketingCreateResponseModel" : { "type" : "object", "properties" : { "detail_id" : { "type" : "string", "description" : "投放详情主键id", "example" : "MDDdejifjeifjoe30fr4j3ifo3f3f3" } } }, "AlipayOpenMiniTemplateUsageQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PAGE_NUM", "INVALID_PAGE_SIZE", "PAGE_SIZE_EXCEED_MAX_QUERY_SIZE", "APPLICATION_TYPE_NOT_ISVAPP", "TEMPLATE_ID_IS_BLANK", "ISV_APP_ID_IS_BLANK", "TEMPLATE_ID_ISVAPPID_NOT_MATCH", "BUNDLE_ID_NOT_EXIST", "TEMPLATE_NO_RELATION_ERROR", "INVALID_PARAMS" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTemplateUsageQueryResponseModel" : { "type" : "object", "properties" : { "app_ids" : { "type" : "array", "description" : "小程序appId列表", "items" : { "type" : "string" }, "example" : "208812345678" }, "template_usage_info_list" : { "type" : "array", "description" : "模板使用信息", "items" : { "$ref" : "#/components/schemas/TemplateUsageInfo" } } } }, "AlipayOpenMiniTemplatemessageUsertemplateApplyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "MESSAGE_LIBRARY_ILLEGAL", "MESSAGE_TEMPLATE_KEYWORD_ILLEGAL", "KEYWORDS_NUMBER_INVALID", "USER_TEMPLATE_OVER_LIMIT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTemplatemessageUsertemplateApplyModel" : { "type" : "object", "properties" : { "keyword_list" : { "type" : "string", "description" : "开发者自行组合好的模板关键词列表,关键词之间使用英文的逗号“,”进行分割,关键词顺序可以自由搭配,最多支持10个关键词组合,这里组织的关键词,在发送模板消息接口中,按照这里的顺序进行占位符替换", "example" : "1,2,3" }, "template_library_id" : { "type" : "string", "description" : "模板库id,可登录小程序后台查看获取", "example" : "AT0001" } } }, "AlipayOpenMiniTemplatemessageUsertemplateApplyResponseModel" : { "type" : "object", "properties" : { "user_template_id" : { "type" : "string", "description" : "开发者申请的模板id号,使用该模板id号,开发者可以调用alipay.open.app.mini.templatemessage.send接口进行模板消息发送", "example" : "MDI4YzIxMDE2M2I5YTQzYjUxNWE4MjA4NmU1MTIyYmM=" } } }, "AlipayOpenMiniTemplatemsgMaketingBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "PAG_NUM_NOT_VALID", "PAG_SIZE_NOT_VALID", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTemplatemsgMaketingBatchqueryModel" : { "type" : "object", "properties" : { "page_num" : { "type" : "integer", "description" : "分页查询页码", "example" : "1" }, "page_size" : { "type" : "integer", "description" : "每页展示条数,最大支持50个", "example" : "10" } } }, "AlipayOpenMiniTemplatemsgMaketingBatchqueryResponseModel" : { "type" : "object", "properties" : { "marketing_delivery_detail_list" : { "type" : "array", "description" : "投放详情列表", "items" : { "$ref" : "#/components/schemas/MarketingDeliveryDetail" } }, "total" : { "type" : "integer", "description" : "投放详情总条数", "example" : "100" } } }, "AlipayOpenMiniTemplatemsgMaketingstatusModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "DELIVERY_DETAIL_ID_IS_NULL", "DELIVERY_DETAIL_STATUS_NOT_VALID", "DELIVERY_APP_AUTH_NOT_VALID", "DELETE_STATUS_CANNOT_UPDATE", "DELIVERY_STATUS_IS_ONLINE", "DELIVERY_STATUS_IS_INIT", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTemplatemsgMaketingstatusModifyModel" : { "type" : "object", "properties" : { "detail_id" : { "type" : "string", "description" : "营销投放详情id", "example" : "MDDadsfeeijdfiedfef32r3jkdeaqee" }, "status" : { "type" : "string", "description" : "投放详情状态值,如:INIT:下线状态,ON_LINE:上线状态,DELETED:删除状态", "example" : "DELETED" } } }, "AlipayOpenMiniTemplatemsgMaketingstatusModifyResponseModel" : { "type" : "object" }, "AlipayOpenMiniTemplatemsgTinypayswitchConfirmErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APPINFO_NOT_EXIST", "BIZ_CONTENT_IS_NULL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTemplatemsgTinypayswitchConfirmResponseModel" : { "type" : "object" }, "AlipayOpenMiniTipsDeliveryBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTipsDeliveryBatchqueryModel" : { "type" : "object", "properties" : { "page_number" : { "type" : "string", "description" : "每页记录条数,最小1,最大20", "example" : "1" }, "page_size" : { "type" : "string", "description" : "查询的页数,从1开始,最大1000", "example" : "5" } } }, "AlipayOpenMiniTipsDeliveryBatchqueryResponseModel" : { "type" : "object", "properties" : { "tips_delivery_list" : { "type" : "array", "description" : "收藏引导活动信息列表。根据活动状态排序,顺序为:生效中,暂停,审核中,白名单生效中,初始化,审核失败,结束。相同状态优先展示状态更新时间最迟的活动。", "items" : { "$ref" : "#/components/schemas/TipsDelivery" } }, "total_pages" : { "type" : "integer", "description" : "总页数", "example" : "1" }, "total_size" : { "type" : "integer", "description" : "收藏引导数据总数量", "example" : "20" } } }, "AlipayOpenMiniTipsDeliveryCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "EXIST_INDEX_TIPS_DELIVERY", "EXIST_TARGET_TIPS_DELIVERY", "TIPS_DELIVERY_EXCEED_LIMIT", "SYSTEM_ERROR", "INVALID_DELIVERY_TIME", "INVALID_MATCH_URL", "INVALID_MATCH_TYPE" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTipsDeliveryCreateModel" : { "type" : "object", "properties" : { "delivery_content" : { "type" : "string", "description" : "收藏引导文案内容,不得超过14个字", "example" : "点击收藏,下次使用更方便" }, "delivery_name" : { "type" : "string", "description" : "收藏引导活动名称", "example" : "收藏引导首页投放活动" }, "end_time" : { "type" : "string", "description" : "活动结束时间", "example" : "2022-12-31 15:23:43" }, "match_type" : { "type" : "string", "description" : "匹配类型:GLOBAL为全局生效,TARGETURL为目标页面生效,需配置相应页面地址match_url。", "example" : "TARGETURL" }, "match_url" : { "type" : "string", "description" : "目标页面地址", "example" : "/page/web" }, "start_time" : { "type" : "string", "description" : "活动开始时间", "example" : "2021-11-25 15:23:43" } } }, "AlipayOpenMiniTipsDeliveryCreateResponseModel" : { "type" : "object", "properties" : { "delivery_id" : { "type" : "string", "description" : "收藏引导活动ID", "example" : "20211111000000797023" } } }, "AlipayOpenMiniTipsDeliveryModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "DELIVER_NOT_EXIST", "TIPS_DELIVERY_AUDITING", "SAME_MODIFY_OPERATION_TYPE", "INVALID_OPERATE_TYPE", "STATUS_NOT_ALLOWED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTipsDeliveryModifyModel" : { "type" : "object", "properties" : { "delivery_id" : { "type" : "string", "description" : "收藏引导投放活动ID", "example" : "20211114000003057595" }, "operate_type" : { "type" : "string", "description" : "活动投放操作类型。枚举值:恢复-RESUME,暂停-PAUSE,终止-STOP", "example" : "RESUME" } } }, "AlipayOpenMiniTipsDeliveryModifyResponseModel" : { "type" : "object" }, "AlipayOpenMiniTipsDeliveryQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "DELIVER_NOT_EXIST", "NO_PERMISSION" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTipsDeliveryQueryResponseModel" : { "type" : "object", "properties" : { "delivery_content" : { "type" : "string", "description" : "收藏引导文案内容", "example" : "点击收藏,下次访问更方便" }, "delivery_id" : { "type" : "string", "description" : "收藏引导投放活动ID", "example" : "20211114000003057595" }, "delivery_name" : { "type" : "string", "description" : "收藏引导配置投放活动的名称", "example" : "收藏引导配置投放活动" }, "end_time" : { "type" : "string", "description" : "活动结束时间", "example" : "2021-11-12 14:31:13" }, "fail_reason" : { "type" : "string", "description" : "文案审核驳回理由,仅AUDIT_REJECTED生效", "example" : "当前文案语义不通顺,请修改" }, "match_type" : { "type" : "string", "description" : "匹配类型:GLOBAL为全局生效,TARGETURL为目标页面生效,需配置相应页面地址match_url", "example" : "TARGETURL" }, "match_url" : { "type" : "string", "description" : "目标页面地址", "example" : "/page/web" }, "start_time" : { "type" : "string", "description" : "活动开始时间", "example" : "2021-11-11 14:31:13" }, "status" : { "type" : "string", "description" : "活动状态。 枚举值: INIT: 初始化;AUDITING: 审核中;AUDIT_REJECTED:审核驳回;WORKING: 生效中;PUASE: 暂停;FINISHED 已结束;", "example" : "WORKING" } } }, "AlipayOpenMiniTipsStatisticQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "NO_QUERY_DELIVERY_ID", "INVALID_QUERY_TYPE", "INVALID_QUERY_TIME", "DELIVER_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniTipsStatisticQueryResponseModel" : { "type" : "object", "properties" : { "app_collect_cnt" : { "type" : "integer", "description" : "昨日(接口调用当日的前一天)小程序收藏人数,时间内未创建投放活动,则响应时不传出参数。", "example" : "4798780" }, "app_uv" : { "type" : "integer", "description" : "昨日(接口调用当日的前一天)小程序访问人数。当小程序日访问量为0,或以活动维度查询,或时间内未创建投放活动,则响应时不传出参数。", "example" : "3080000" }, "delivery_content" : { "type" : "string", "description" : "收藏文案内容(仅以app维度查询时为空),仅活动维度查询成功时返回。", "example" : "点击收藏,下次使用更方便" }, "delivery_id" : { "type" : "string", "description" : "收藏引导投放活动ID(仅以app维度查询时为空),仅活动维度查询成功时返回。", "example" : "2018092061468502" }, "tips_collect_rate" : { "type" : "string", "description" : "昨日(接口调用当日的前一天)收藏引导文案收藏转化率,数据为小数字符串类型,取小数点后两位,单位为百分比。小程序曝光数为0,或时间内未创建投放活动,则响应时不传出参数。", "example" : "33.33" }, "tips_collect_uv" : { "type" : "integer", "description" : "昨日(接口调用当日的前一天)收藏引导文案收藏用户数,时间内未创建投放活动,则响应时不传出参数。", "example" : "440000" }, "tips_expo_uv" : { "type" : "integer", "description" : "昨日(接口调用当日的前一天)收藏引导文案曝光用户数,时间内未创建投放活动,则响应时不传出参数。", "example" : "434000" }, "total_app_collect_cnt" : { "type" : "integer", "description" : "时间段内累计小程序收藏人数,时间内未创建投放活动,则响应时不传出参数。", "example" : "7800000" }, "total_app_uv" : { "type" : "integer", "description" : "时间段内累计小程序访问人数。当小程序日访问量为0,或以活动维度查询,或时间内未创建投放活动,则响应时不传出参数。", "example" : "79980000" }, "total_tips_collect_rate" : { "type" : "string", "description" : "时间段内收藏引导文案收藏转化率,数据为小数字符串类型,取小数点后两位,单位为百分比。小程序曝光数为0,或时间内未创建投放活动,则响应时不传出参数。", "example" : "33.33" }, "total_tips_collect_uv" : { "type" : "integer", "description" : "时间段内累计收藏引导文案收藏用户数,时间内未创建投放活动,则响应时不传出参数。", "example" : "5030000" }, "total_tips_expo_uv" : { "type" : "integer", "description" : "时间段内累计收藏引导文案曝光用户数,仅当小程序/活动投放活动时返回。时间内未创建投放活动,则响应时不传出参数。", "example" : "2333900" } } }, "AlipayOpenMiniVersionAuditApplyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_NAME_IS_BLANK", "INVALID_MINI_APP_NAME_LENGTH", "INVALID_MINI_APP_NAME", "ENGLISH_NAME_IS_BLANK", "INVALID_MINI_APP_EN_NAME", "INVALID_MINI_APP_EN_NAME_LENGTH", "SLOGAN_IS_BLANK", "INVALID_MINI_APP_SLOGAN_LENGTH", "INVALID_MINI_APP_SLOGAN", "SERVICE_TEL_AND_MAIL_BOTH_BLANK", "INVALID_MINI_APP_SERVICE_TEL", "INVALID_MINI_APP_SERVICE_MAIL", "CATEGORY_IS_BLANK", "CATEGORY_NUM_IS_INVALID", "APP_DESC_IS_BLANK", "INVALID_MINI_APP_DESC_LENGTH", "INVALID_MINI_APP_DESC", "REGION_TYPE_IS_BLANK", "REGION_TYPE_IS_INVALID", "REGION_CODE_IS_BLANK", "APP_VERSION_IS_BLANK", "VERSION_DESC_IS_BLANK", "INVALID_VERSION_DESC_LENGTH", "INVALID_MINI_APP_VERSION_DESC", "SCREEN_SHOTS_ARE_BLANK", "SCREEN_SHOT_NUM_IS_INVALID", "INVALID_MINI_APP_MEMO_LENGTH", "APPLICATION_TYPE_NOT_MINIAPP", "INVALID_MINI_APP_SAFE_DOMAIN", "CAN_NOT_SUBMIT_WITH_ALI_CLOUD", "MINI_APP_NAME_DUPLICATE", "MINI_APP_EN_NAME_DUPLICATE", "INVALID_CATEGORY", "INVALID_REGION", "MINI_APP_NAME_SENSITIVE", "MINI_APP_EN_NAME_SENSITIVE", "MINI_APP_SLOGAN_SENSITIVE", "MINI_APP_MEMO_SENSITIVE", "MINI_APP_DESC_SENSITIVE", "MINI_APP_SERVICE_MAIL_SENSITIVE", "MINI_APP_VERSION_DESC_SENSITIVE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_MODIFY_NAME_ONCE_ONLINE", "CAN_NOT_MODIFY_EN_ONCE_ONLINE", "MODIFY_SLOGAN_EXCEED_COUNT", "MODIFY_CATEGORY_ID_EXCEED_COUNT", "MODIFY_DESC_EXCEED_COUNT", "CAN_NOT_SUBMIT_WITH_AUDIT", "CAN_NOT_SUBMIT_WITHOUT_INIT", "CAN_NOT_SUBMIT_WITHOUT_SCAN_PASS", "CAN_NOT_SUBMIT_WITH_AUDIT_GRAY", "EXIST_LARGER_ONLINED_VERSION", "LICENSE_NO_IS_BLANK", "LICENSE_VALID_DATE_IS_BLANK", "LICENSE_VALID_DATE_IS_INVALID", "OUT_DOOR_PIC_IS_BLANK", "LICENSE_PICS_ARE_BLANK", "LICENSE_PIC_NUM_IS_INVALID", "LICENSE_CHECK_FAIL", "LOGO_HEIGHT_NOT_EQUAL_WIDTH", "INVALID_SCREEN_SHOT_EXT", "SCREEN_SHOT_EXCEED_MAX_SIZE", "INVALID_PARAMETER", "LOGO_EXCEED_MAX_SIZE", "INVALID_LOGO_EXT", "INVALID_PARAMS", "INVALID_LOGO", "RISK_DECISION_CHECK_FAIL", "TINY_APP_AUDIT_NOT_PERMIT", "RISK_DECISION_HIT_BRAND", "BRAND_TORT_NOT_END", "SPECIAL_LICENSE_PICS_ARE_BLANK", "FILE_IS_BLANK", "INVALID_FILE_EXT", "FILE_SIZE_EXCEED", "INVALID_SPECIAL_LICENSE_NUM", "BUNDLE_ID_NOT_EXIST", "DEFAULT_LOGO", "SUBMIT_REPEAT", "PRIVATE_NOT_ALLOW_CATEGORY", "MINI_APP_INFO_AUDIT_CONTAINS", "MINI_VERSION_NAME_DUPLICATE", "LOGO_SIZE_EXCEED", "APP_INFO_NOT_EXIST", "USER_NOT_EXIST", "REGION_CODE_IS_INVALID", "SERVICE_TEL_IS_BLANK", "INVALID_MINI_APP_NAME_PREFIX", "SYSTEM_LIMIT", "LOGO_IS_BLANK" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionAuditApplyModel" : { "type" : "object", "properties" : { "app_category_ids" : { "type" : "string", "description" : "小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。", "example" : "11_12;12_13" }, "app_desc" : { "type" : "string", "description" : "小程序描述,长度限制 20~400 个字符。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息", "example" : "一家专注做潮流女装的店铺,带给消费者价格便宜、质量上乘的衣服" }, "app_english_name" : { "type" : "string", "description" : "小程序应用英文名称,长度限制 3~30 个字符;仅支持英文和数字。\t如果不填默认采用当前小程序应用英文名称,如无默认值则必填,不可为空。", "example" : "demoexample" }, "app_name" : { "type" : "string", "description" : "小程序名称,长度限制 3~30 个字符,仅支持包含中文、数字、英文、下划线、+、-。\t如果不填默认采用当前小程序应用名称,如无默认值则必填,不可为空。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息", "example" : "杭州支小宝潮流女装店" }, "app_slogan" : { "type" : "string", "description" : "小程序简介,一句话描述小程序功能,长度限制 10~32个字符。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息", "example" : "专注潮流女装20年" }, "app_version" : { "type" : "string", "description" : "小程序版本号,请选择开发版本执行提交审核操作。", "example" : "0.0.1" }, "audit_rule" : { "type" : "string", "description" : "审核类型:\tNONE: 不拆分准入、营销(默认)\tBASE_PROMOTE:准入、营销拆分审核\t建议设置成“BASE_PROMOTE”,小程序将会更容易上架。将小程序发布审核拆分成“准入”、“营销”。原先小程序需要两个环节都审核通过才能上架,现在小程序只需要准入通过即可上架,但是无法在营销场景(支付宝泛搜、支付宝首页推荐等)展现给用户,小程序可通过精搜或者扫码等方式使用。如果小程序需要进行营销,可发布新版本,当准入&营销都通过后,小程序也可被营销。点击查看支付宝小程序营销规范:https://opendocs.alipay.com/b/03al2q", "example" : "BASE_PROMOTE" }, "auto_online" : { "type" : "string", "description" : "审核通过后是否自动上架,\t自动上架:true;不自动上架(默认):false。\t如果小程序上架前无需特殊处理,建议设置成true,平台将会在小程序审核通过时自动将其上架", "example" : "true" }, "bundle_id" : { "type" : "string", "description" : "小程序投放的端参数。例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。", "example" : "com.alipay.alipaywallet" }, "license_name" : { "type" : "string", "description" : "营业执照名称,部分小程序类目需要提交,可通过https://opendocs.alipay.com/mini/03l8c8 查询类目是否需要上传营业执照信息。参照https://opendocs.alipay.com/mini/operation/material 要求填写营业执照信息。\t如果选择的类目不需要该信息,则可不填。如果选择的类目需要该信息,如果商户之前在平台上传过该信息,也允许不填", "example" : "营业执照名称" }, "license_no" : { "type" : "string", "description" : "营业执照证件号,部分小程序类目需要提交,可通过https://opendocs.alipay.com/mini/03l8c8 查询类目是否需要上传营业执照信息。参照https://opendocs.alipay.com/mini/operation/material 要求填写营业执照信息。\t\t如果选择的类目不需要该信息,则可不填。如果选择的类目需要该信息,如果商户之前在平台上传过该信息,也允许不填", "example" : "licenseNo" }, "license_valid_date" : { "type" : "string", "description" : "营业执照有效期,格式为 yyyy-MM-dd,9999-12-31表示长期有效。\t部分小程序类目需要提交,可通过https://opendocs.alipay.com/mini/03l8c8 查询类目是否需要上传营业执照信息。参照https://opendocs.alipay.com/mini/operation/material 要求填写营业执照信息。\t如果选择的类目不需要该信息,则可不填。如果选择的类目需要该信息,如果商户之前在平台上传过该信息,也允许不填", "example" : "9999-12-31" }, "memo" : { "type" : "string", "description" : "小程序备注,小程序备注最多500字符。", "example" : "小程序示例" }, "mini_category_ids" : { "type" : "string", "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query\t接口查询mini_category_list。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息\t注意:个人开发者不得使用企业类目。", "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024" }, "region_type" : { "type" : "string", "description" : "小程序服务区域类型,支持:\tGLOBAL-全球\tCHINA-中国\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。\tLOCATION-指定区域", "example" : "CHINA" }, "service_email" : { "type" : "string", "description" : "小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱,小程序客服电话和邮箱至少输入一个。如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。\t注意:2021年7月1日后,该字段将逐步灰度为可选字段,请按可选开发。", "example" : "example@mail.com" }, "service_phone" : { "type" : "string", "description" : "小程序客服电话,长度限制5~30个字符,仅支持包含数字和-。如果不填默认采用当前小程序的应用客服电话,小程序客服电话和邮箱至少输入一个。如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。\t注意:2021年7月1日后,该字段将逐步灰度为必填字段,请按必填开发。", "example" : "13110101010" }, "service_region_info" : { "type" : "array", "description" : "省市区信息。当region_type为LOCATION或传入city_code时,province_code不能为空;填写area_code时,province_code和city_code不能为空。只填province_code则全选该省;填写province_code和city_code则全选该市,以此类推。省市区code参见https://gw.alipayobjects.com/os/bmw-prod/0aab0319-13de-42b9-85cf-13877a5f78ed.xlsx\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。", "items" : { "$ref" : "#/components/schemas/RegionInfo" } }, "speed_up" : { "type" : "string", "description" : "如果有审核加急权益,是否使用审核加急权益加速审核:\t加速(默认):true\t不加速:false", "example" : "true" }, "test_accout" : { "type" : "string", "description" : "测试账号,是否需要填写请参见https://opendocs.alipay.com/mini/operation/standard/case/akxg6r#3.%20%E6%B5%8B%E8%AF%95%E5%86%85%E5%AE%B9%E6%8F%90%E4%BA%A4%E4%B8%8D%E5%AE%8C%E6%95%B4", "example" : "12122" }, "test_password" : { "type" : "string", "description" : "测试账号密码", "example" : "12121" }, "version_desc" : { "type" : "string", "description" : "小程序版本描述,30-500个字符。", "example" : "本次版本更新优化了3项功能,修复了5个BUG" } } }, "AlipayOpenMiniVersionAuditApplyResponseModel" : { "type" : "object", "properties" : { "speed_up" : { "type" : "string", "description" : "是否加速审核\t加速:true;\t不加速:false", "example" : "true" }, "speed_up_memo" : { "type" : "string", "description" : "提审加速审核说明", "example" : "绿通权益使用限流" } } }, "AlipayOpenMiniVersionAuditCancelErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "APPID_IS_BLANK", "AUDITING_VERSION_NOT_EXIST", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "TINYAPP_STATUS_INVALID", "MULTI_CLIENT_NOT_PACKAGED_STATUS", "APPSTORE_RPC_INVOKE_ERROR", "BUNDLE_ID_NOT_EXIST", "INVALID_VERSION_STATUS", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionAuditCancelModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "商家小程序审核中的版本号, 不传默认撤消正在审核中的版本。", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。", "example" : "com.alipay.alipaywallet" } } }, "AlipayOpenMiniVersionAuditCancelResponseModel" : { "type" : "object" }, "AlipayOpenMiniVersionAuditedCancelErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_BACK_DEV_WITHOUT_AUDIT", "BUNDLE_ID_NOT_EXIST", "MINIAPP_VERSION_NOT_EXSIT", "APP_INFO_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionAuditedCancelModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "商家小程序版本号。可将已过审、审核被驳回的小程序版本退回到开发中的状态。", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。", "example" : "com.alipay.alipaywallet" } } }, "AlipayOpenMiniVersionAuditedCancelResponseModel" : { "type" : "object" }, "AlipayOpenMiniVersionBuildQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "CODE_TEMPLATE_NOT_EXIST", "NO_AUTH_RELATION", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "ISV_APP_ID_IS_BLANK", "BUILD_VERSION_NOT_EXISTED", "BUNDLE_ID_NOT_EXIST", "APPLICATION_TYPE_ILLEGAL", "NO_TEMPLATE_INSTANTIATE_RELATION", "PACKAGE_ID_IS_BLANK", "POLLING_BUILDING_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionBuildQueryResponseModel" : { "type" : "object", "properties" : { "build_status" : { "type" : "string", "description" : "构建的状态,0-构建排队中;1-正在构建;2-构建成功;3-构建失败;5-构建超时", "example" : "0" }, "create_status" : { "type" : "string", "description" : "创建版本的状态,状态说明如下:\t0:构建排队中;\t1:正在构建;\t2:构建成功;\t3:构建失败;\t5:构建超时;\t6:版本创建成功。", "example" : "6" }, "need_rotation" : { "type" : "string", "description" : "是否需要轮询", "example" : "\"true\"" }, "version_created" : { "type" : "string", "description" : "是否创建版本", "example" : "\"true\"" } } }, "AlipayOpenMiniVersionDeleteErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "CAN_NOT_DELETE_WITHOUT_DEV", "CAN_NOT_DELETE_WITH_SCANNING", "CAN_NOT_DELETE_WITH_EXPERIENCE", "BUNDLE_ID_NOT_EXIST", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_DELETE_WITH_INSTANTIATE", "APP_INFO_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionDeleteModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : " 小程序版本号。只有状态为开发中的版本才能被删除。", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。", "example" : "com.alipay.alipaywallet" } } }, "AlipayOpenMiniVersionDeleteResponseModel" : { "type" : "object" }, "AlipayOpenMiniVersionDetailQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "APP_VERSION_IS_BLANK", "BUNDLE_ID_NOT_EXIST", "VERSION_IS_BLANK" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionDetailQueryResponseModel" : { "type" : "object", "properties" : { "app_desc" : { "type" : "string", "description" : "小程序应用描述", "example" : "小程序demo的相关示例" }, "app_english_name" : { "type" : "string", "description" : "小程序应用英文名称", "example" : "demoexample" }, "app_logo" : { "type" : "string", "description" : "小程序应用logo图标", "example" : "http://image.aaaa.alipay.com" }, "app_name" : { "type" : "string", "description" : "小程序应用名称", "example" : "小程序demo" }, "app_slogan" : { "type" : "string", "description" : "小程序应用简介,一句话描述小程序功能", "example" : "小程序demo简介" }, "app_version" : { "type" : "string", "description" : "小程序版本号", "example" : "0.0.1" }, "base_audit" : { "type" : "string", "description" : "准入审核结果:\tPASS:通过\tREJECT:驳回\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)", "example" : "PASS" }, "base_audit_record" : { "$ref" : "#/components/schemas/MiniAppAuditReason" }, "can_release" : { "type" : "string", "description" : "是否可上架-true/false\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)", "example" : "true" }, "gmt_apply_audit" : { "type" : "string", "description" : "小程序版本提交审核的时间", "example" : "2017-12-12 12:00:00" }, "gmt_audit_end" : { "type" : "string", "description" : "小程序版本审核结束时间", "example" : "2017-12-12 12:00:00" }, "gmt_create" : { "type" : "string", "description" : "小程序版本创建时间", "example" : "2017-12-12 12:00:00" }, "gmt_offline" : { "type" : "string", "description" : "小程序版本下架时间", "example" : "2017-12-12 12:00:00" }, "gmt_online" : { "type" : "string", "description" : "小程序版本上架时间", "example" : "2017-12-12 12:00:00" }, "gray_strategy" : { "type" : "string", "description" : "小程序灰度比例值,p10-10%的用户,p30-30%的用户,p50-50%的用户", "example" : "p10" }, "memo" : { "type" : "string", "description" : "小程序备注", "example" : "这是一个demo示例" }, "mini_app_category_info_list" : { "type" : "array", "description" : "小程序类目列表", "items" : { "$ref" : "#/components/schemas/MiniAppCategoryInfo" } }, "mini_category_info_list" : { "type" : "array", "description" : "新小程序类目列表", "items" : { "$ref" : "#/components/schemas/MiniAppCategoryInfo" } }, "package_info_list" : { "type" : "array", "description" : "小程序功能包列表", "items" : { "$ref" : "#/components/schemas/MiniPackageInfo" } }, "promote_audit" : { "type" : "string", "description" : "营销审核结果:\tPASS:通过\tREJECT:驳回\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)", "example" : "PASS" }, "promote_audit_record" : { "$ref" : "#/components/schemas/MiniAppAuditReason" }, "reject_reason" : { "type" : "string", "description" : "审核驳回原因", "example" : "名称太宽泛" }, "scan_result" : { "type" : "string", "description" : "安全扫描结果,True-安全扫描通过,False-安全扫描不通过,NAN-扫描中", "example" : "True" }, "screen_shot_list" : { "type" : "array", "description" : "小程序版本截图,多个截图以逗号隔开", "items" : { "type" : "string" }, "example" : "http://image.aaa.alipay.com" }, "service_email" : { "type" : "string", "description" : "客服邮箱", "example" : "example@mail.com" }, "service_phone" : { "type" : "string", "description" : "客服电话", "example" : "13110101010" }, "service_region_info" : { "type" : "array", "description" : "小程序服务区域信息,当服务区域类型是LOCATION时,这里明确指出具体的服务区域信息", "items" : { "$ref" : "#/components/schemas/RegionInfo" } }, "service_region_type" : { "type" : "string", "description" : "小程序服务区域类型,GLOBLE-全球,CHINA-中国,LOCATION-指定区域", "example" : "LOCATION" }, "status" : { "type" : "string", "description" : "小程序版本状态,INIT-开发中,AUDITING-审核中,WAIT_RELEASE-待上架,BASE_AUDIT_PASS-准入不可营销,AUDIT_REJECT-审核驳回,RELEASE-已上架,GRAY-灰度中,OFFLINE-已下架,AUDIT_OFFLINE-已被强制下架", "example" : "INIT" }, "version_desc" : { "type" : "string", "description" : "小程序版本描述", "example" : "这是一个简单的版本描述" } } }, "AlipayOpenMiniVersionGrayCancelErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_END_GRAY_WITHOUT_GRAY", "MINI_APP_NOT_ONLINE", "BUNDLE_ID_NOT_EXIST", "MINI_APP_VERSION_NOT_EXIST", "MINI_APP_VERSION_STATUS_ILLEGAL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionGrayCancelModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "商家灰度中的小程序版本号,结束灰度后小程序将回到审核通过状态。", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。", "example" : "com.alipay.alipaywallet" } } }, "AlipayOpenMiniVersionGrayCancelResponseModel" : { "type" : "object" }, "AlipayOpenMiniVersionGrayOnlineErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "GRAY_STRATEGY_IS_BLANK", "GRAY_STRATEGY_IS_INVALID", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "MINI_APP_NOT_ONLINE", "GRAY_STRATEGY_NOT_ALLOW_REDUCE", "CAN_NOT_GRAY_WITHOUT_AUDIT_PASS", "BUNDLE_ID_NOT_EXIST", "CAN_NOT_GRAY_WITHOUT_INNER_PASS", "MINIAPP_VERSION_NOT_EXSIT", "CAN_NOT_GRAY_WITH_RISK_VERSION", "APP_OPERATOR_QUERY_ERROR", "CREATE_GRAY_RULE_ERROR", "EXECUTE_GRAY_FAILED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionGrayOnlineModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "商家小程序版本号,需为审核通过状态的小程序版本。", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。", "example" : "com.alipay.alipaywallet" }, "gray_strategy" : { "type" : "string", "description" : "小程序灰度策略值。枚举支持:p10、p30、p50。其中 p10 代表 10% 的用户,p30 代表 30% 的用户,p50 代表 50% 的用户。", "example" : "p10" } } }, "AlipayOpenMiniVersionGrayOnlineResponseModel" : { "type" : "object" }, "AlipayOpenMiniVersionListQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "NO_TEMPLATE_INSTANTIATE_RELATION" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionListQueryResponseModel" : { "type" : "object", "properties" : { "app_version_infos" : { "type" : "array", "description" : "版本列表,根据版本号倒叙排列,即版本号大的在前面;如果不存在任何版本,返回空列表", "items" : { "$ref" : "#/components/schemas/AppVersionInfo" } }, "app_versions" : { "type" : "array", "description" : "小程序支付宝端每个状态的最新版本号列表(历史返回值,已不推荐使用,逐渐废弃)", "items" : { "type" : "string" }, "example" : "0.0.1" } } }, "AlipayOpenMiniVersionOfflineErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_OFFLINE_WITHOUT_ONLINE", "CAN_NOT_OFFLINE_WITH_GRAY", "MINI_APP_NOT_ONLINE", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST", "MINI_APP_VERSION_NOT_EXIST", "TEMPLATE_NOT_ALLOWED_OFFLINE" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionOfflineModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "商家小程序已上架版本号。", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。", "example" : "com.alipay.alipaywallet" } } }, "AlipayOpenMiniVersionOfflineResponseModel" : { "type" : "object" }, "AlipayOpenMiniVersionOnlineErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "CAN_NOT_ONLINE_WITHOUT_GRAY", "MINI_APP_NOT_ONLINE", "CAN_NOT_ONLINE_WITHOUT_AUDIT", "MINI_APP_VERSION_NOT_EXIST", "CAN_NOT_ONLINE_NOT_GRAY_OR_WAITRELEASE", "CAN_NOT_ONLINE_NO_PROMOTE", "APP_INFO_NOT_EXIST", "MERCHANT_NOT_EXESIT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionOnlineModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "商家小程序版本号,需为审核通过状态或灰度中版本。", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。", "example" : "com.alipay.alipaywallet" } } }, "AlipayOpenMiniVersionOnlineResponseModel" : { "type" : "object" }, "AlipayOpenMiniVersionRollbackErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "MINI_APP_NOT_ONLINE", "CAN_NOT_ROLLBACK_WITHOUT_ONLINE", "CAN_NOT_CONTINUOUS_ROLLBACK", "CAN_NOT_ROLLBACK_WITH_GRAY", "CAN_NOT_ROLLBACK_WITHOUT_OFFLINE", "CAN_NOT_ROLLBACK_PUNISH", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionRollbackModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "商家小程序已上架版本。下架后将自动回滚至上一(已上架)小程序版本。\t例如:商家小程序有 0.01(上一上架版本)、0.02(未上架版本)、0.03(当前上架版本) 三个版本,回滚时需传入商家小程序版本 0.03 表示将 0.03 版本回滚至上一个已上架版本即此处 0.01 版本,同时 0.03 版本将自动下架,0.01 版本自动上架(无需审核)。", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。", "example" : "com.alipay.alipaywallet" } } }, "AlipayOpenMiniVersionRollbackResponseModel" : { "type" : "object" }, "AlipayOpenMiniVersionUploadErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "TEMPLATE_ID_IS_BLANK", "CODE_TEMPLATE_NOT_EXIST", "CODE_TEMPLATE_NOT_SAFE", "CODE_TEMPLATE_DELETED", "NO_AUTH_RELATION", "VERSION_HAS_EXISTED", "LARGER_VERSION_HAS_EXISTED", "APPLICATION_TYPE_NOT_MINIAPP", "ISV_APP_ID_IS_BLANK", "INVALID_VERSION", "DEV_VERSION_EXCEED_MAX_COUNT", "TEMPLATE_NOT_ONLINE_OR_OFFLINE", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "TEMPLATE_MINIAPP_NOT_ALLOWED", "VERSION_EXCEEDED_LENGTH", "TEMPLATE_ID_ISVAPPID_NOT_MATCH", "BUNDLE_ID_NOT_EXIST", "INVALID_EXT_JSON", "APP_INFO_NOT_EXIST", "APP_TYPE_ERROR", "TEMPLATE_STATUS_PUNISHED", "TEMPLATE_STATUS_CAN_NOT_BUILD", "INVALID_PARAMS", "TEMPLATE_EXTRA_INFO_INVALID" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniVersionUploadModel" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "商家小程序版本号。版本号必须满足 x.y.z, 且均为数字。要求版本号比商户之前最新的版本号高。", "example" : "0.0.1" }, "bundle_id" : { "type" : "string", "description" : "小程序投放的端参数,默认支付宝端 。支持:com.alipay.alipaywallet:支付宝端。\tcom.alipay.iot.xpaas:支付宝IoT端。\t例如投放到支付宝钱包是支付宝端。", "example" : "com.alipay.alipaywallet" }, "ext" : { "type" : "string", "description" : "自定义参数,用于配置商家小程序的个性化内容,具体使用方法参见示例代码。\t在小程序中可以通过 my.getExtConfig() 或 my.getExtConfigSync() 获取 ext 参数内容(建议支付宝版本 > 10.1.38,并使用 my.canIUse 做兼容处理)。", "example" : "{\"extEnable\": true, \"extPages\": {\"pages/face/index\": {\"defaultTitle\": \"哈哈哈哈\"}},\"window\": {\"defaultTitle\": \"AI2\"}}" }, "template_id" : { "type" : "string", "description" : "小程序模板 APPID。", "example" : "1" }, "template_version" : { "type" : "string", "description" : "小程序模板版本号。版本号必须满足 x.y.z, 且均为数字。不传默认使用最新在架(已上架)模板版本。", "example" : "0.0.1" } } }, "AlipayOpenMiniVersionUploadResponseModel" : { "type" : "object", "properties" : { "build_status" : { "type" : "string", "description" : "构建的状态,0-构建排队中;1-正在构建;2-构建成功;3-构建失败;5-构建超时", "example" : "0" }, "create_status" : { "type" : "string", "description" : "创建版本的状态,0-构建排队中;1-正在构建;2-构建成功;3-构建失败;5-构建超时;6-版本创建成功", "example" : "6" }, "need_rotation" : { "type" : "string", "description" : "是否需要轮询", "example" : "\"true\"" }, "version_created" : { "type" : "string", "description" : "是否创建了版本", "example" : "true" } } }, "AlipayOpenMiniWidgetDataSyncErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "MINI_APP_ID_ILLEGAL", "PID_ILLEGAL", "APP_INFO_NOT_EXIST", "APP_IS_NOT_WIDGET", "AUDITING_VERSION_EXIST", "WIDGET_DATA_UPLOAD_FREQUENCY", "WIDGET_DATA_MAX_SIZE_LIMIT", "APP_ID_NOT_EXIST", "APP_TYPE_INVALID", "PICTURE_SIZE_MORETHEN_MAX", "CLICK_URL_SIZE_MORETHEN_MAX" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniWidgetDataSyncModel" : { "type" : "object", "properties" : { "activity_list" : { "type" : "array", "description" : "活动信息列表", "items" : { "$ref" : "#/components/schemas/WidgetActivityInfo" } }, "data_type" : { "type" : "string", "description" : "数据类型,可选值:ACTIVITY(活动数据)、GOODS(商品数据)", "example" : "ACTIVITY" }, "goods_list" : { "type" : "array", "description" : "商品信息列表", "items" : { "$ref" : "#/components/schemas/WidgetGoodsInfo" } }, "mini_app_id" : { "type" : "string", "description" : "商家小程序ID", "example" : "2017072607907880" }, "pid" : { "type" : "string", "description" : "小程序背后的商家,和mini_app_id要求对应", "example" : "2088xxxxxxxxx" } } }, "AlipayOpenMiniWidgetDataSyncResponseModel" : { "type" : "object", "properties" : { "commit_id" : { "type" : "string", "description" : "同步接口生成的唯一标识,用于查询提交数据的审核状态", "example" : "20220829000000000101" } } }, "AlipayOpenMiniWidgetGoodsModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "GOODS_NOT_EXIST", "AUDITING_VERSION_EXIST", "APP_IS_NOT_WIDGET", "PARSE_JSON_ERROR", "APP_INFO_NOT_EXIST", "PARAM_IS_NULL", "WIDGET_DATA_UPLOAD_FREQUENCY" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniWidgetGoodsModifyModel" : { "type" : "object", "properties" : { "buying_url" : { "type" : "string", "description" : "需要修改的商品小程序购买链接", "example" : "alipays://platformapi/startapp?appId= 2017072607907880&page=pages/index/index?param=xxxx" }, "goods_brand" : { "type" : "string", "description" : "需要修改的商品品牌", "example" : "肯德基" }, "goods_comment" : { "type" : "string", "description" : "需要修改的商品辅助说明文案", "example" : "这是一个商品辅助说明文案" }, "goods_description_label" : { "type" : "string", "description" : "需要修改的商品说明标签(如-随心退)", "example" : "随心退" }, "goods_id" : { "type" : "string", "description" : "商品的唯一标识,根据该字段修改商品", "example" : "8948968498" }, "goods_label" : { "type" : "string", "description" : "需要修改的商品营销标签(如-限量特价),每个商品仅支持一个营销标签", "example" : "限量特价" }, "goods_name" : { "type" : "string", "description" : "需要修改的商品名称", "example" : "这是一个商品名称" }, "goods_type" : { "type" : "string", "description" : "需要修改的商品所属品类", "example" : "服装" }, "main_pic_url" : { "type" : "string", "description" : "需要修改的商品主图片地址", "example" : "https://xxx.xxx.com/xxx.jpg" }, "need_public_promo" : { "type" : "boolean", "description" : "是否需要进行公域推广", "example" : "true" }, "order_number" : { "type" : "integer", "description" : "需要修改的商品排序,自然整数, 数字越小越靠前", "example" : "1" }, "original_price" : { "type" : "string", "description" : "需要修改的商品原价,单位\"元\",传入数字,不需要传入\"元\"", "example" : "88.88" }, "publish_cities" : { "type" : "string", "description" : "需要修改的商品投放城市的列表,详见https://www.mca.gov.cn/article/sj/xzqh/2020/2020/202007170301.html,有多个用英文,分隔。如果没有限制则不传入", "example" : "110000" }, "sell_price" : { "type" : "string", "description" : "需要修改的商品售价,位\"元\",传入数字,不需要传入\"元\"", "example" : "66.66" }, "sell_tag_list" : { "type" : "array", "description" : "需要修改的商品卖点标签", "items" : { "type" : "string" }, "example" : "[\"特惠\",\"热卖\"]" } } }, "AlipayOpenMiniWidgetGoodsModifyResponseModel" : { "type" : "object", "properties" : { "commit_id" : { "type" : "string", "description" : "商品修改返回的提交ID,用于查询商品信息的审核状态", "example" : "20220829000000000101" } } }, "AlipayOpenMiniWidgetGoodsQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "GOODS_PAGE_SIZE_LIMIT", "PAGE_NUM_NO_LESS_ONE", "PARAM_IS_NULL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniWidgetGoodsQueryResponseModel" : { "type" : "object", "properties" : { "data_list" : { "type" : "array", "description" : "商品信息列表", "items" : { "$ref" : "#/components/schemas/GoodsQueryResponse" } }, "page_num" : { "type" : "integer", "description" : "查询第几页", "example" : "1" }, "page_size" : { "type" : "integer", "description" : "查询页面数量", "example" : "10" }, "total" : { "type" : "integer", "description" : "查询结果总数", "example" : "10" } } }, "AlipayOpenMiniWidgetGoodsUploadErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "MINI_APP_ID_ILLEGAL", "PID_ILLEGAL", "GOODS_INFO_ILLEGAL", "PARSE_JSON_ERROR", "PARAM_IS_NULL", "APP_INFO_NOT_EXIST", "GOODS_UPLOAD_FREQUENCY", "APP_IS_NOT_WIDGET", "AUDITING_VERSION_EXIST", "GOODS_EXIST", "WIDGET_DATA_UPLOAD_FREQUENCY" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenMiniWidgetGoodsUploadModel" : { "type" : "object", "properties" : { "goods_list" : { "type" : "array", "description" : "商品信息列表", "items" : { "$ref" : "#/components/schemas/WidgetGoodsInfo" } }, "mini_app_id" : { "type" : "string", "description" : "用于承接品的商家小程序ID", "example" : "2017072607907880" }, "pid" : { "type" : "string", "description" : "品的售卖商家,即承接该品的小程序背后的商家。和mini_app_id要求对应", "example" : "2088xxxxxxxxx" } } }, "AlipayOpenMiniWidgetGoodsUploadResponseModel" : { "type" : "object", "properties" : { "commit_id" : { "type" : "string", "description" : "商品提交生成的唯一标识,用于查询商品信息的审核状态", "example" : "20220829000000000101" } } }, "AlipayOpenOperationOpenbizmockTestpathkeyQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "LALALA" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenOperationOpenbizmockTestpathkeyQueryModel" : { "type" : "object", "properties" : { "d" : { "type" : "string", "description" : "4", "example" : "d" } } }, "AlipayOpenOperationOpenbizmockTestpathkeyQueryResponseModel" : { "type" : "object", "properties" : { "result" : { "type" : "string", "description" : "测试", "example" : "success" } } }, "AlipayOpenPublicAccountCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "MENUKEY_NOT_EXIST", "OPEN_ID_IS_ILLEGAL", "BIND_ACCOUNT_FORMAT_ERROR", "APP_INFO_ILLEGAL", "FROM_USER_ID_NULL", "ADD_BIND_ACCOUNT_FAIL", "SAVE_THIRD_ACCOUNT_FAIL", "USERINFO_NOT_EXIST", "BIND_ACCOUNT_NO_NULL", "DISPLAY_NAME_IS_NULL", "DISPLAY_NAME_EXCEED_LENGTH", "REAL_NAME_EXCEED_LENGTH", "EXCEED_THIRD_ACCOUNT_LIMIT", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicAccountCreateModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "账户添加成功,在支付宝与其对应的协议号。如果账户重复添加,接口保证幂等依然视为添加成功,返回此前该账户在支付宝对应的协议号。其他异常该字段不存在。", "example" : "29022222" }, "bind_account_no" : { "type" : "string", "description" : "绑定帐号,建议在开发者的系统中保持唯一性", "example" : "test001" }, "display_name" : { "type" : "string", "description" : "开发者期望在服务窗首页看到的关于该用户的显示信息,最长10个字符", "example" : "test001" }, "from_user_id" : { "type" : "string", "description" : "要绑定的商户会员对应的支付宝userid,2088开头长度为16位的字符串", "example" : "2088801234567890" }, "open_id" : { "type" : "string", "description" : "支付宝用户的唯一标识", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "real_name" : { "type" : "string", "description" : "要绑定的商户会员的真实姓名,最长10个汉字", "example" : "张三" }, "remark" : { "type" : "string", "description" : "备注信息,开发者可以通过该字段纪录其他的额外信息", "example" : "备注信息" } } }, "AlipayOpenPublicAccountCreateResponseModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "协议号,商户会员在支付宝服务窗账号中的唯一标识", "example" : "29022222" } } }, "AlipayOpenPublicAccountDeleteErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "OPEN_ID_IS_ILLEGAL", "ACCOUNT_PARAMS_NOT_ENOUGH", "FORBIT_REMOVE_BIND_ACCOUNT", "REMOVE_BIND_ACCOUNT_FAIL", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicAccountDeleteResponseModel" : { "type" : "object" }, "AlipayOpenPublicAccountQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "OPEN_ID_IS_ILLEGAL", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicAccountQueryResponseModel" : { "type" : "object", "properties" : { "public_bind_accounts" : { "type" : "array", "description" : "绑定账户列表", "items" : { "$ref" : "#/components/schemas/StdPublicBindAccount" } } } }, "AlipayOpenPublicAccountResetErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "MENUKEY_NOT_EXIST", "OPEN_ID_IS_ILLEGAL", "BIND_ACCOUNT_FORMAT_ERROR", "APP_INFO_ILLEGAL", "AGREEMENT_ID_NULL", "FROM_USER_ID_NULL", "FORBIT_REMOVE_BIND_ACCOUNT", "REMOVE_BIND_ACCOUNT_FAIL", "DELETE_THIRD_ACCOUNT_FAIL", "FORBIT_REMOVE_OTHER_USER_BIND_AC", "SAVE_THIRD_ACCOUNT_FAIL", "ADD_BIND_ACCOUNT_FAIL", "BIND_ACCOUNT_NO_NULL", "DISPLAY_NAME_IS_NULL", "DISPLAY_NAME_EXCEED_LENGTH", "REAL_NAME_EXCEED_LENGTH", "EXCEED_THIRD_ACCOUNT_LIMIT", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicAccountResetModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "需要重置的协议号,商户会员在支付宝生活号账号中的唯一标识。", "example" : "29022222" }, "bind_account_no" : { "type" : "string", "description" : "绑定帐号,建议在开发者的系统中保持唯一性", "example" : "test002" }, "display_name" : { "type" : "string", "description" : "商户期望在生活号首页看到的关于该用户的显示信息,最长10个字符。\t", "example" : "test002" }, "from_user_id" : { "type" : "string", "description" : "要绑定的商户会员对应的支付宝唯一标识,2088开头长度为16位的字符串。\t", "example" : "2088801234567890" }, "open_id" : { "type" : "string", "description" : "支付宝用户的唯一标识", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "real_name" : { "type" : "string", "description" : "要绑定的商户会员的真实姓名,最长10个汉字", "example" : "张三" }, "remark" : { "type" : "string", "description" : "备注信息,开发者可以通过该字段纪录其他的额外信息", "example" : "备注信息" } } }, "AlipayOpenPublicAccountResetResponseModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "重置后的协议号,商户会员在支付宝服务窗账号中的唯一标识", "example" : "29022223" } } }, "AlipayOpenPublicAdvertBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "BUSINESS_ERROR", "APP_NO_AVAIABLE" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicAdvertBatchqueryResponseModel" : { "type" : "object", "properties" : { "advert_list" : { "type" : "array", "description" : "广告位列表 。目前只有一个广告位。", "items" : { "$ref" : "#/components/schemas/Advert" } }, "count" : { "type" : "integer", "description" : "广告组数量", "example" : "1" } } }, "AlipayOpenPublicAdvertCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "PUBLIC_ADVERT_SIZE_INVALID", "PUBLIC_ADVERT_IMGURL_IS_BLANK", "PUBLIC_ADVERT_IMGURL_ILLEGAL", "PUBLIC_ADVERT_LINKURL_IS_BLANK", "PUBLIC_ADVERT_LINKURL_ILLEGAL", "PUBLIC_ADVERT_IMGURL_OVERSIZE", "PUBLIC_ADVERT_LINKURL_OVERSIZE", "LIFE_APP_FILE_TOO_LARGE", "PUBLIC_IMG_TYPE_INVALID", "PUBLIC_ADVERT_EXISTS", "SYSTEM_ERROR", "BUSINESS_ERROR", "SECURITY_CHECK_FAILED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicAdvertCreateModel" : { "type" : "object", "properties" : { "advert_items" : { "type" : "array", "description" : " 广告位轮播内容列表。数量限制:大于1个,小于5个。广告位轮播内容顺序:与接口传入的顺序排列一致。", "items" : { "$ref" : "#/components/schemas/AdvertItem" } } } }, "AlipayOpenPublicAdvertCreateResponseModel" : { "type" : "object", "properties" : { "advert_group" : { "type" : "string", "description" : "广告分组标识", "example" : "default" }, "advert_id" : { "type" : "string", "description" : "广告位id", "example" : "123" } } }, "AlipayOpenPublicAdvertDeleteErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "PUBLIC_ADVERT_ID_INVALID", "PUBLIC_ADVERT_NOT_EXISTS", "SYSTEM_ERROR", "BUSINESS_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicAdvertDeleteResponseModel" : { "type" : "object" }, "AlipayOpenPublicAdvertModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "PUBLIC_ADVERT_SIZE_INVALID", "PUBLIC_ADVERT_IMGURL_IS_BLANK", "PUBLIC_ADVERT_IMGURL_ILLEGAL", "PUBLIC_ADVERT_LINKURL_IS_BLANK", "PUBLIC_ADVERT_LINKURL_ILLEGAL", "PUBLIC_ADVERT_IMGURL_OVERSIZE", "PUBLIC_ADVERT_LINKURL_OVERSIZE", "LIFE_APP_FILE_TOO_LARGE", "PUBLIC_IMG_TYPE_INVALID", "PUBLIC_ADVERT_EXISTS", "PUBLIC_ADVERT_ID_INVALID", "PUBLIC_ADVERT_NOT_EXISTS", "SYSTEM_ERROR", "BUSINESS_ERROR", "SECURITY_CHECK_FAILED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicAdvertModifyModel" : { "type" : "object", "properties" : { "advert_id" : { "type" : "string", "description" : "广告位id,通过alipay.open.public.advert.create(生活号广告位添加接口)添加广告位获取。", "example" : "123" }, "advert_items" : { "type" : "array", "description" : "广告位轮播内容列表。数量限制:大于1个,小于5个。广告位轮播内容顺序:与接口传入的顺序排列一致。", "items" : { "$ref" : "#/components/schemas/AdvertItem" } } } }, "AlipayOpenPublicAdvertModifyResponseModel" : { "type" : "object" }, "AlipayOpenPublicArticlesummaryDataBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "QUERY_DATE_INVALID" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicArticlesummaryDataBatchqueryModel" : { "type" : "object", "properties" : { "begin_date" : { "type" : "string", "description" : "数据开始日期,时间格式为 \"yyyyMMdd\" 。", "example" : "20171101" }, "end_date" : { "type" : "string", "description" : "数据结束日期,时间格式为\"yyyyMMdd\"。查询数据开始日期/结束日期时间跨度最大30天。", "example" : "20171108" } } }, "AlipayOpenPublicArticlesummaryDataBatchqueryResponseModel" : { "type" : "object", "properties" : { "data_list" : { "type" : "array", "description" : "文章分析数据列表", "items" : { "$ref" : "#/components/schemas/ArticleSummaryAnalysisData" } } } }, "AlipayOpenPublicContactFollowBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "QUERY_CONTACT_FOLLOWER_FORBIDDEN", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicContactFollowBatchqueryResponseModel" : { "type" : "object", "properties" : { "contact_follow_list" : { "type" : "array", "description" : "联系人关注者列表", "items" : { "$ref" : "#/components/schemas/ContactFollower" } } } }, "AlipayOpenPublicDefaultExtensionCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "EXTENSION_AREAS_IS_EMPTY", "AREA_COUNT_INVALID", "ILLEGAL_BIZ_PARAMS", "EXTENSION_PARAM_URL_ERROR", "EXTENSION_PARAM_TYPE_ERROR", "AREA_HEIGHT_IS_INVALID", "GOTO_URL_IS_INVALID", "DEFAULT_EXTENSION_EXIST", "EXTENSION_NAME_TOO_LONG" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicDefaultExtensionCreateModel" : { "type" : "object", "properties" : { "areas" : { "type" : "array", "description" : "默认扩展区列表,最多包含3个扩展区", "items" : { "$ref" : "#/components/schemas/ExtensionArea" } } } }, "AlipayOpenPublicDefaultExtensionCreateResponseModel" : { "type" : "object", "properties" : { "extension_key" : { "type" : "string", "description" : "一套扩展区的key,创建一套扩展区成功后,支付宝会将该字段返回,后续对扩展区进行删除等操作都会用到这个值。", "example" : "10000" } } }, "AlipayOpenPublicFollowBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "QUERY_FOLLOWER_FORBIDDEN", "OPENID_INVALID", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicFollowBatchqueryModel" : { "type" : "object", "properties" : { "next_user_id" : { "type" : "string", "description" : "当关注者数量超过10000时使用,本次拉取数据中第一个用户的userId,从上次接口调用返回值中获取。第一次调用置空", "example" : "2088102146158132" }, "open_id" : { "type" : "string", "description" : "支付宝用户的唯一标识", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" } } }, "AlipayOpenPublicFollowBatchqueryResponseModel" : { "type" : "object", "properties" : { "count" : { "type" : "string", "description" : "本次调用获取的userId个数,最大值为10000", "example" : "10000" }, "next_user_id" : { "type" : "string", "description" : "查询分组的userid", "example" : "2088102123322367" }, "open_id" : { "type" : "string", "description" : "支付宝用户的", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "open_id_list" : { "type" : "array", "description" : "支付宝用户的唯一标识列表", "items" : { "type" : "string" }, "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]" }, "user_id_list" : { "type" : "array", "description" : "用户的userId列表", "items" : { "type" : "string" }, "example" : "[\"2088102146158132\",\"2088102150429794\",\"2088102150477652\" ]" } } }, "AlipayOpenPublicGroupBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicGroupBatchqueryResponseModel" : { "type" : "object", "properties" : { "groups" : { "type" : "array", "description" : "用户分组列表,包含每个分组的id、name、以及规则模型", "items" : { "$ref" : "#/components/schemas/QueryGroup" } } } }, "AlipayOpenPublicGroupCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "GROUP_CROWD_TOO_SMALL", "GROUP_NAME_IS_EMPTY", "GROUP_NAME_TOO_LONG", "GROUP_NAME_IS_INVALID", "GROUP_NAME_EXISTED", "LABEL_IS_REUSED", "LABEL_ID_IS_EMPTY", "OPERATOR_IS_EMPTY", "OPERATOR_IS_INVALID", "LABEL_VALUE_IS_EMPTY", "LABEL_VALUE_INVALID", "LABEL_NOT_EXISTS" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicGroupCreateModel" : { "type" : "object", "properties" : { "label_rule" : { "type" : "array", "description" : "标签规则,满足该规则的粉丝将被圈定,标签id不能重复", "items" : { "$ref" : "#/components/schemas/ComplexLabelRule" } }, "name" : { "type" : "string", "description" : "分组名称,仅支持中文、字母、数字、下划线的组合。", "example" : "测试分组" } } }, "AlipayOpenPublicGroupCreateResponseModel" : { "type" : "object", "properties" : { "group_id" : { "type" : "string", "description" : "分组id", "example" : "10000" } } }, "AlipayOpenPublicGroupCrowdQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "GROUP_CROWD_TOO_SMALL", "LABEL_IS_REUSED", "LABEL_ID_IS_EMPTY", "OPERATOR_IS_EMPTY", "OPERATOR_IS_INVALID", "LABEL_VALUE_IS_EMPTY", "LABEL_VALUE_INVALID", "LABEL_NOT_EXISTS" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicGroupCrowdQueryModel" : { "type" : "object", "properties" : { "label_rule" : { "type" : "array", "description" : "用户分组的规则项列表,规则项之间元素是与的逻辑,每个规则项内部用多个值表示或的逻辑", "items" : { "$ref" : "#/components/schemas/ComplexLabelRule" } } } }, "AlipayOpenPublicGroupCrowdQueryResponseModel" : { "type" : "object", "properties" : { "count" : { "type" : "string", "description" : "分组圈出的人群数量", "example" : "2000000" } } }, "AlipayOpenPublicGroupDeleteErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "GROUP_ID_INVALID", "GROUP_NOT_EXISTED", "GROUP_NOT_ALLOW_DELETE" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicGroupDeleteResponseModel" : { "type" : "object" }, "AlipayOpenPublicGroupModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "GROUP_CROWD_TOO_SMALL", "GROUP_NOT_EXISTED", "GROUP_ID_INVALID", "GROUP_NAME_IS_EMPTY", "GROUP_NAME_TOO_LONG", "GROUP_NAME_IS_INVALID", "GROUP_NAME_EXISTED", "LABEL_IS_REUSED", "LABEL_ID_IS_EMPTY", "OPERATOR_IS_EMPTY", "OPERATOR_IS_INVALID", "LABEL_VALUE_IS_EMPTY", "LABEL_VALUE_INVALID", "LABEL_NOT_EXISTS", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicGroupModifyModel" : { "type" : "object", "properties" : { "group_id" : { "type" : "string", "description" : "分组ID,通过alipay.open.public.group.create(用户分组创建接口)\t创建用户分组获取。", "example" : "100" }, "label_rule" : { "type" : "array", "description" : "标签规则,满足该规则的粉丝将被圈定,标签id不能重复", "items" : { "$ref" : "#/components/schemas/ComplexLabelRule" } }, "name" : { "type" : "string", "description" : "分组名称,仅支持中文、字母、数字、下划线的组合。", "example" : "测试分组" } } }, "AlipayOpenPublicGroupModifyResponseModel" : { "type" : "object" }, "AlipayOpenPublicInfoModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "PUBLIC_MODIFY_PARAM_ILLEGAL", "APPINFO_NOT_EXIST", "PUBLIC_GREETING_OVERLIMT", "APP_ORDER_AUDING_EXIST", "PUBLIC_ORDER_DAY_LIMIT", "ILLEGAL_LOGO_URL", "PUBLIC_LOGO_NOT_NULL", "ILLEGAL_LICENSE_URL", "PUBLIC_GREETING_ILLEGAL", "APP_NAME_LENGTH_LIMIT", "APP_NAME_ILLEGAL", "APP_NAME_EXIST", "SYSTEM_ERROR", "PUBLIC_NAME_MODIFY_LIMIT", "INTRODUCTION_LENGTH_LIMIT", "ILLEGAL_BACKGROUND_URL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicInfoModifyModel" : { "type" : "object", "properties" : { "app_name" : { "type" : "string", "description" : "生活号名称,2-20个字之间。注意:\t* 不得含有违反法律法规和公序良俗的相关信息;\t* 不得侵害他人名誉权、知识产权、商业秘密等合法权利;\t* 不得以太过广泛的、或产品、行业词组来命名,如:女装、皮革批发;\t* 不得以实名认证的媒体资质账号创建服务窗,或媒体相关名称命名服务窗,如:XX电视台、XX杂志等。", "example" : "生活号名称" }, "auth_pic" : { "type" : "string", "description" : "授权运营书图片地址,企业商户若为被经营方授权,需上传加盖公章的扫描件。支持 .jpg、 .jpeg、 .png 格式,需小于1M。使用 alipay.offline.material.image.upload(上传球房照片和视频接口)上传图片后,将得到的image_url回填与此处。", "example" : "http://pic.alipayobjects.com/e/201311/1ZQ" }, "background_url" : { "type" : "string", "description" : "背景图片地址,建议尺寸 1600 x 1000px,支持.jpg .jpeg .png格式,小于1M。使用 alipay.offline.material.image.upload(上传球房照片和视频接口)上传图片后,将得到的image_url回填与此处。", "example" : "http://pic.alipayobjects.com/e/201311/1ZQ" }, "introduction" : { "type" : "string", "description" : "简介", "example" : "生活号简介" }, "license_url" : { "type" : "string", "description" : "营业执照地址,建议尺寸 320*320 px,支持 .jpg、 .jpeg、 .png 格式,需小于1M。\t使用 alipay.offline.material.image.upload(上传球房照片和视频接口)上传图片后,将得到的image_url回填与此处。", "example" : "http://pic.alipayobjects.com/e/201311/1ZQ" }, "logo_url" : { "type" : "string", "description" : "生活号头像地址,建议尺寸 320*320 px,支持 .jpg、 .jpeg、 .png 格式,需小于1M。\t使用 alipay.offline.material.image.upload(上传球房照片和视频接口)上传图片后,将得到的image_url回填与此处。", "example" : "http://pic.alipayobjects.com/e/201311/1ZQ" }, "notify_url" : { "type" : "string", "description" : "通知地址" }, "public_greeting" : { "type" : "string", "description" : "欢迎语", "example" : "欢迎光临" }, "shop_pics" : { "type" : "array", "description" : "球房照片地址,支持 .jpg、 .jpeg、 .png 格式,需小于1M。\t使用 alipay.offline.material.image.upload(上传球房照片和视频接口)上传图片后,将得到的image_url回填与此处。", "items" : { "type" : "string" }, "example" : "http://pic.alipayobjects.com/e/201311/1ZQ" } } }, "AlipayOpenPublicInfoModifyResponseModel" : { "type" : "object", "properties" : { "audit_desc" : { "type" : "string", "description" : "服务窗审核状态描述", "example" : "审核中" }, "audit_status" : { "type" : "string", "description" : "服务窗审核状态,申请成功后返回AUDITING,等待风控审核", "example" : "AUDITING" } } }, "AlipayOpenPublicInfoQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "APP_NOT_PUBLICAPP" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicInfoQueryResponseModel" : { "type" : "object", "properties" : { "app_name" : { "type" : "string", "description" : "生活号名称", "example" : "生活号名称" }, "audit_desc" : { "type" : "string", "description" : "最新审核状态描述,如果审核驳回则有相关的驳回理由", "example" : "logo图片不符合规范" }, "audit_status" : { "type" : "string", "description" : "最新审核状态,对于系统商而言,只有四个状态,AUDITING:审核中,AUDIT_FAILED:审核驳回,AUDIT_SUCCESS:审核通过,AUDIT_NORMAL:无审核状态(当前没有处于审核过程的工单)", "example" : "AUDITING" }, "audit_status_list" : { "type" : "array", "description" : "审核状态表,目前支持名称、头像、名称与头像、简介审核状态", "items" : { "$ref" : "#/components/schemas/PublicAuditStatus" } }, "background_url" : { "type" : "string", "description" : "背景图片地址", "example" : "http://dl.django.t.taobao.com/rest/1.0/image?fileIds=V9rfg69SSimLZg5wDA3yEgAAACMA" }, "introduction" : { "type" : "string", "description" : "生活号简介", "example" : "简介" }, "is_online" : { "type" : "string", "description" : "生活号是否上线,T表示上线,F表示未上线", "example" : "T" }, "is_release" : { "type" : "string", "description" : "生活号是否上架,T表示上架,上架即可在支付宝客户端被搜索到,F表示未上架", "example" : "F" }, "logo_url" : { "type" : "string", "description" : "生活号头像地址", "example" : "http://pic.alipayobjects.com/e/201311/1ZQ" }, "mcc_code_desc" : { "type" : "string", "description" : "商家经营类目,详情参见 商家经营类目", "example" : "房地产开发商" }, "public_greeting" : { "type" : "string", "description" : "欢迎语", "example" : "欢迎光临" } } }, "AlipayOpenPublicLabelCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "PUBLIC_ID_IS_EMPTY", "LABEL_NAME_IS_EMPTY", "LABEL_NAME_HAS_SPACE", "LABEL_NAME_HAS_COMMA", "LABEL_NAME_TOO_LONG", "LABEL_NAME_ALREADY_EXISTS", "LABEL_COUNT_LIMIT", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLabelCreateModel" : { "type" : "object", "properties" : { "name" : { "type" : "string", "description" : "标签名", "example" : "测试标签01" } } }, "AlipayOpenPublicLabelCreateResponseModel" : { "type" : "object", "properties" : { "id" : { "type" : "integer", "description" : "支付宝返回的标签ID,开发者后续通过该ID进行标签的查询、修改、删除等操作", "example" : "100513" }, "name" : { "type" : "string", "description" : "开发者传入name的值", "example" : "测试标签01" } } }, "AlipayOpenPublicLabelQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLabelQueryResponseModel" : { "type" : "object", "properties" : { "label_list" : { "type" : "array", "description" : "该服务窗拥有的标签列表", "items" : { "$ref" : "#/components/schemas/PublicLabel" } } } }, "AlipayOpenPublicLabelUserQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "OPEN_ID_IS_ILLEGAL", "FORBIT_QUERY_USER_LABEL", "PUBLIC_ID_IS_EMPTY", "USER_ID_IS_EMPTY", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLabelUserQueryResponseModel" : { "type" : "object", "properties" : { "label_ids" : { "type" : "string", "description" : "用户标签id列表,以英文逗号分隔", "example" : "100509,100510,100511,100512" } } }, "AlipayOpenPublicLifeAboardApplyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "LIFE_ALREADY_ON_PLATFORM", "LIFE_ILLEGAL_ISV_APP_ID", "LIFE_NEED_SET_OTHERS", "LIFE_NEED_SET_MENU", "LIFE_HAS_MENU_LINK_ERROR", "LIFE_STATUS_ERROR", "LIFE_NO_SET_NAME", "LIFE_NO_SET_LOGO", "BUSINESS_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLifeAboardApplyResponseModel" : { "type" : "object", "properties" : { "result" : { "type" : "string", "description" : "上架成功后返回的提示", "example" : "上架成功" } } }, "AlipayOpenPublicLifeAgentcreateQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_OUT_BIZ_NO", "LIFE_NO_EXIST_OUT_BIZ_NO", "LIFE_ILLEGAL_ISV_APP_ID", "BUSINESS_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLifeAgentcreateQueryResponseModel" : { "type" : "object", "properties" : { "life_app_id" : { "type" : "string", "description" : "只有审核通过,且商户在支付宝发送的授权邮件中确认授权,此时生活号才会正式创建,查询才会返回该值", "example" : "2017062501320531" }, "merchant_pid" : { "type" : "string", "description" : "商户pid", "example" : "2088302109396986" }, "order_status_biz_desc" : { "type" : "string", "description" : "支付宝商户入驻申请单状态,申请单状态包括:暂存、审核中、待商户确认、成功、失败。\t说明:暂存是审核前的中间状态,如出现暂存状态请再次提交代创建生活号申请。", "example" : "审核成功" }, "out_biz_no" : { "type" : "string", "description" : "由开发者创建的外部入驻申请单据号", "example" : "2016070788301823878" }, "refused_reason" : { "type" : "string", "description" : "只有审核失败才会返回该值", "example" : "提供的资质证明不符合要求,请重新上传再试" } } }, "AlipayOpenPublicLifeDebarkApplyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "LIFE_ALREADY_DEBARK", "LIFE_ILLEGAL_ISV_APP_ID", "BUSINESS_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLifeDebarkApplyResponseModel" : { "type" : "object", "properties" : { "result" : { "type" : "string", "description" : "下架成功后返回的提示", "example" : "下架成功" } } }, "AlipayOpenPublicLifeLabelBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLifeLabelBatchqueryResponseModel" : { "type" : "object", "properties" : { "labels" : { "type" : "array", "description" : "标签列表", "items" : { "$ref" : "#/components/schemas/LifeLabel" } } } }, "AlipayOpenPublicLifeLabelCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "ADD_LABEL_NAME_IS_EMPTY", "LABEL_NAME_HAS_SPACE", "LABEL_NAME_HAS_COMMA", "LABEL_NAME_TOO_LONG", "DATA_TYPE_INVALID", "LABEL_NAME_ALREADY_EXISTS", "LABEL_COUNT_LIMIT", "SYSTEM_ERROR", "APP_NO_AVAIABLE" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLifeLabelCreateModel" : { "type" : "object", "properties" : { "data_type" : { "type" : "string", "description" : "标签值类型,不填默认为 string 类型。\t注意:目前只支持 string(字符串类型)。", "example" : "string" }, "label_name" : { "type" : "string", "description" : "自定义标签名。\t注意:每个生活号最多创建 100 个自定义标签。", "example" : "职业" } } }, "AlipayOpenPublicLifeLabelCreateResponseModel" : { "type" : "object", "properties" : { "label_id" : { "type" : "string", "description" : "标签id", "example" : "10000" } } }, "AlipayOpenPublicLifeLabelDeleteErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "DEL_LABEL_ID_IS_EMPTY", "LABEL_NOT_EXISTS", "LABEL_IS_USED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLifeLabelDeleteResponseModel" : { "type" : "object" }, "AlipayOpenPublicLifeLabelModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "MOD_LABEL_ID_IS_EMPTY", "MOD_LABEL_NAME_IS_EMPTY", "LABEL_NAME_HAS_SPACE", "LABEL_NAME_HAS_COMMA", "LABEL_NAME_TOO_LONG", "LABEL_NOT_EXISTS", "LABEL_NAME_ALREADY_EXISTS" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLifeLabelModifyModel" : { "type" : "object", "properties" : { "label_id" : { "type" : "string", "description" : "标签 id,只支持生活号自定义标签。通过 alipay.open.public.life.label.create(创建标签接口)创建自定义标签后获取。", "example" : "10000" }, "label_name" : { "type" : "string", "description" : "标签名", "example" : "职业" } } }, "AlipayOpenPublicLifeLabelModifyResponseModel" : { "type" : "object" }, "AlipayOpenPublicLifeMsgRecallErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLifeMsgRecallModel" : { "type" : "object", "properties" : { "message_id" : { "type" : "string", "description" : "消息id,可在调用群发消息、组发消息接口时会返回,请注意保存留用。", "example" : "2016000000000000" } } }, "AlipayOpenPublicLifeMsgRecallResponseModel" : { "type" : "object" }, "AlipayOpenPublicLifeMsgSendErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "LIFE_APP_NOT_EXISTED", "INVALID_LIFE_APP_MSG_TYPE", "LIFE_APP_MSG_TITLE_EMPTY", "LIFE_APP_COVER_UPLOAD_ERROR", "LIFE_APP_VIDEIO_INFO_MISSED", "LIFE_APP_MSG_CONTENT_EMPTY", "LIFE_APP_MSG_RAW_URL_EMPTY", "LIFE_APP_MSG_CATEGORY_EMPTY", "LIFE_APP_FILE_TOO_LARGE", "LIFE_APP_INVALID_IMAGE_BYTES", "LIFE_APP_MSG_CONTENT_ILLEGAL", "LIFE_APP_MSG_SEND_ERROR", "LIFE_APP_MSG_DESC_EMPTY", "LIFE_APP_MSG_TITLE_TOO_LONG", "LIFE_APP_VIDEO_SOURCE_NOT_EXIST", "LIFE_APP_VIDEO_LENGTH_NOT_RIGHT", "LIFE_MSG_VIDEO_SAMPLES_MISSING", "LIFE_APP_VIDEO_LACK_TEMP_URL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicLifeMsgSendModel" : { "type" : "object", "properties" : { "category" : { "type" : "string", "description" : "消息分类,请传入对应分类编码值", "example" : "c001" }, "content" : { "type" : "string", "description" : "消息正文,html原文或纯文本", "example" : "多云转晴,10°-21°" }, "desc" : { "type" : "string", "description" : "消息概述", "example" : "多云转晴,13-21°" }, "msg_type" : { "type" : "string", "description" : "媒体资讯类生活号消息类型", "example" : "IMAGE-CONTENT: 生活号新图文消息(单条),VIDEO:生活号视频消息(单条)" }, "source_ext_info" : { "type" : "string", "description" : "消息来源方附属信息,供搜索、推荐使用\r\tpublish_time(int):消息发布时间,单位秒\r\tkeyword_list(String): 文章的标签列表,英文逗号分隔\r\tcomment(int):消息来源处评论次数\r\treward(int):消息来源处打赏次数\r\tis_recommended(boolean):消息在来源处是否被推荐\r\tis_news(boolean):消息是否实时性内容\r\tread(int):消息在来源处被阅读次数\r\tlike(int):消息在来源处被点赞次数\r\tis_hot(boolean):消息在来源平台是否是热门内容\r\tshare(int):文章在来源平台的分享次数\r\tdeadline(int):文章的失效时间,单位秒", "example" : "{\"is_recommended\":\"true\",\"is_news\":\"true\"}" }, "title" : { "type" : "string", "description" : "消息标题", "example" : "杭州天气预报" }, "unique_msg_id" : { "type" : "string", "description" : "来源方消息唯一标识;若不为空,根据此id和生活号id对消息去重;若为空,不去重", "example" : "2016042810221362" }, "video_length" : { "type" : "string", "description" : "生活号消息视频时长,单位:秒(视频类消息必填)", "example" : "120" }, "video_samples" : { "type" : "array", "description" : "视频类型消息中视频抽样关键帧截图,视频类消息选填", "items" : { "type" : "string" }, "example" : "https://os.alipayobjects.com/rmsportal/SbMPIcOBQLFUXGg.jpg" }, "video_size" : { "type" : "string", "description" : "视频大小,单位:KB(视频类消息必填)", "example" : "1024" }, "video_source" : { "type" : "string", "description" : "视频资源来源id(视频类消息必填),取值限定youku, miaopai, taobao, sina中的一个", "example" : "youku" }, "video_temporary_url" : { "type" : "string", "description" : "视频的临时链接(优酷来源的视频消息,该字段不能为空)", "example" : "https://openhome.alipay.com/platform/home.htm" }, "video_url" : { "type" : "string", "description" : "生活号视频类消息视频id或url(视频类消息必填,根据来源区分)", "example" : "https://open.alipay.com/platform/home.htm" } } }, "AlipayOpenPublicLifeMsgSendResponseModel" : { "type" : "object", "properties" : { "alipay_msg_id" : { "type" : "string", "description" : "生活号消息唯一标识", "example" : "2016042811340001" } } }, "AlipayOpenPublicMatchuserLabelCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "MSG_MATCHER_INVALID", "LABEL_ID_IS_EMPTY", "LABEL_VALUE_IS_EMPTY", "LABEL_VALUE_TOO_LONG", "MATCHER_PARAMS_IS_EMPTY", "MOBILE_NO_INVALID", "IDENTITY_CARD_INVALID", "LABEL_NOT_EXISTS", "DATA_TYPE_INVALID", "NOT_MATCHED_ACCOUNT", "OPEN_ID_IS_ILLEGAL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicMatchuserLabelCreateModel" : { "type" : "object", "properties" : { "label_id" : { "type" : "string", "description" : "标签 id,只支持生活号自定义标签。通过 alipay.open.public.life.label.create(创建标签接口)创建自定义标签后获取。", "example" : "10000" }, "label_value" : { "type" : "string", "description" : "标签值,由开发者自主指定,标签值类型要满足 alipay.open.public.life.label.create(创建标签接口)中data_type参数的限定。", "example" : "浙江" }, "matchers" : { "type" : "array", "description" : "支付宝用户匹配器列表,最多传入10条", "items" : { "$ref" : "#/components/schemas/Matcher" } } } }, "AlipayOpenPublicMatchuserLabelCreateResponseModel" : { "type" : "object", "properties" : { "error_count" : { "type" : "integer", "description" : "用户打标失败数量", "example" : "1" }, "error_matchers" : { "type" : "array", "description" : "出错的匹配器列表", "items" : { "$ref" : "#/components/schemas/ErrorMatcher" } } } }, "AlipayOpenPublicMatchuserLabelDeleteErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "MSG_MATCHER_INVALID", "LABEL_ID_IS_EMPTY", "MATCHER_PARAMS_IS_EMPTY", "MOBILE_NO_INVALID", "IDENTITY_CARD_INVALID", "LABEL_NOT_EXISTS", "NOT_MATCHED_ACCOUNT", "OPEN_ID_IS_ILLEGAL", "USER_LABEL_NOT_EXISTS" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicMatchuserLabelDeleteModel" : { "type" : "object", "properties" : { "label_id" : { "type" : "string", "description" : "标签 id,只支持生活号自定义标签。通过 alipay.open.public.life.label.create(创建标签接口)创建自定义标签后获取。", "example" : "10000" }, "matchers" : { "type" : "array", "description" : "支付宝用户匹配器列表,最多传入10条", "items" : { "$ref" : "#/components/schemas/Matcher" } } } }, "AlipayOpenPublicMatchuserLabelDeleteResponseModel" : { "type" : "object", "properties" : { "error_count" : { "type" : "integer", "description" : "用户打标失败数量", "example" : "1" }, "error_matchers" : { "type" : "array", "description" : "出错的匹配器列表", "items" : { "$ref" : "#/components/schemas/ErrorMatcher" } } } }, "AlipayOpenPublicMenuBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码" }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicMenuBatchqueryResponseModel" : { "type" : "object", "properties" : { "count" : { "type" : "string", "description" : "菜单数量,包括默认菜单和个性化菜单", "example" : "5" }, "menus" : { "type" : "array", "description" : "菜单列表", "items" : { "$ref" : "#/components/schemas/QueryMenu" } } } }, "AlipayOpenPublicMenuCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "BUTTON_IS_EMPTY", "ICON_IS_EMPTY", "ICON_IS_INVALID", "ILLEGAL_ARGUMENT_PARAMS", "BUSINESS_ERROR", "SYSTEM_ERROR", "MENU_FORMAT_ERROR", "ICON_SIZE_ERROR", "MENU_CHAT_NUMBER_LIMIT", "BUTTON_COUNT_LIMIT", "MENU_TITLE_EMPTY", "ICON_TOO_LARGE", "MENU_TITLE_OUT_OF_LENGTH", "ICON_TYPE_INVALID", "MENU_TYPE_NOTFOUND", "ACTION_PARAM_IS_EMPTY", "MENU_AUTH_NOT_ILLEGAL", "MENU_SECURITY_FORBID", "MENU_SUB_OUT_OF_NUM" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicMenuCreateModel" : { "type" : "object", "properties" : { "button" : { "type" : "array", "description" : "一级菜单列表。说明:\t* 如果是文本菜单,最多有4个一级菜单,若开发者在后台打开了\"咨询反馈\"的开关,则只能有3个一级菜单。\t* 如果是 ICON 菜单信息,最多有80个一级菜单(忽略二级菜单)。", "items" : { "$ref" : "#/components/schemas/ButtonObject" } }, "type" : { "type" : "string", "description" : "菜单类型,不填时默认为 text(文本型菜单)。枚举值如下:\t* text:文本型菜单。\t* icon:表示 icon 型菜单,当传值为\"icon\"时,菜单节点的icon字段必传。", "example" : "text" } } }, "AlipayOpenPublicMenuCreateResponseModel" : { "type" : "object", "properties" : { "menu_key" : { "type" : "string", "description" : "默认菜单菜单key,文本菜单为“default”,icon菜单为“iconDefault”", "example" : "default" } } }, "AlipayOpenPublicMenuDataBatchqueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "QUERY_DATE_INVALID" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicMenuDataBatchqueryModel" : { "type" : "object", "properties" : { "begin_date" : { "type" : "string", "description" : "数据开始日期,时间格式为 \"yyyyMMdd\" 。", "example" : "20171101" }, "end_date" : { "type" : "string", "description" : "数据结束日期,时间格式为\"yyyyMMdd\"。查询数据开始日期/结束日期时间跨度最大30天。", "example" : "20171108" } } }, "AlipayOpenPublicMenuDataBatchqueryResponseModel" : { "type" : "object", "properties" : { "data_list" : { "type" : "array", "description" : "菜单分析数据列表", "items" : { "$ref" : "#/components/schemas/MenuAnalysisData" } } } }, "AlipayOpenPublicMenuModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_BIZ_PARAMS", "BUTTON_IS_EMPTY", "ICON_IS_EMPTY", "MENU_MODIFY_NOT_EXIST", "SYSTEM_ERROR", "ICON_IS_INVALID", "MENU_NO_BODY", "MENU_CHAT_NUMBER_LIMIT", "BUTTON_COUNT_LIMIT", "MENU_TITLE_EMPTY", "ICON_TOO_LARGE", "MENU_TITLE_OUT_OF_LENGTH", "ICON_TYPE_INVALID", "MENU_TYPE_NOTFOUND", "ACTION_PARAM_IS_EMPTY", "MENU_AUTH_NOT_ILLEGAL", "MENU_SECURITY_FORBID", "MENU_SUB_OUT_OF_NUM" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicMenuModifyModel" : { "type" : "object", "properties" : { "button" : { "type" : "array", "description" : "一级菜单列表。说明:\t* 如果是文本菜单,最多有4个一级菜单,若开发者在后台打开了\"咨询反馈\"的开关,则只能有3个一级菜单。\t* 如果是 ICON 菜单信息,最多有80个一级菜单(忽略二级菜单)。", "items" : { "$ref" : "#/components/schemas/ButtonObject" } }, "type" : { "type" : "string", "description" : "菜单类型,不填时默认为 text(文本型菜单)。枚举值如下:\t* text:文本型菜单。\t* icon:表示 icon 型菜单,当传值为\"icon\"时,菜单节点的icon字段必传。", "example" : "icon" } } }, "AlipayOpenPublicMenuModifyResponseModel" : { "type" : "object" }, "AlipayOpenPublicMenuQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "MENU_NOT_SET", "MENU_NOT_EXIST", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicMenuQueryResponseModel" : { "type" : "object", "properties" : { "menu_content" : { "type" : "string", "description" : "一级菜单数组,个数应为1~4个", "example" : "{\"button\":[{\"actionParam\":\"menu_v01_pay\",\"actionType\":\"in\",\"name\":\"支付\"}]}" } } }, "AlipayOpenPublicMessageContentCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "MSG_CONTENT_TITLE_INVALID", "MSG_CONTENT_COVER_INVALID", "MSG_CONTENT_BODY_INVALID", "MSG_CONTENT_EXTTAGS_INVALID", "MSG_CONTENT_ACTIVITY_INVALID", "MSG_CONTENT_BENEFIT_INVALID", "MSG_CONTENT_PREVIEWIDS_INVALID", "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "MSG_CONTENT_SECURITY_INVALID", "MSG_CONTENT_COULDCOMMENT_INVALID", "MSG_CONTENT_ADD_HAS_CONTENTID" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicMessageContentCreateModel" : { "type" : "object", "properties" : { "benefit" : { "type" : "string", "description" : "活动利益点,最多10个字符。仅 ctype 为 activity 类型时才需传入。", "example" : "满**减**" }, "content" : { "type" : "string", "description" : "消息正文(支持富文本)", "example" : "示例" }, "could_comment" : { "type" : "string", "description" : "是否允许评论。枚举支持:\t*T:允许。\t*F:不允许,默认不允许。", "example" : "T" }, "cover" : { "type" : "string", "description" : "封面图url,需传入 图片上传接口上传图片获取的 image_url。\t注意:尺寸为 996*450,最大不超过3M,支持格式:jpg、.png 。", "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx" }, "ctype" : { "type" : "string", "description" : "图文类型,不填默认普通图文。还支持 activity(活动图文)。", "example" : "activity" }, "ext_tags" : { "type" : "string", "description" : "关键词列表,英文逗号分隔,最多不超过5个", "example" : "关键,热度" }, "login_ids" : { "type" : "string", "description" : "可预览支付宝账号列表,需要预览时才填写, 英文逗号分隔,最多不超过10个", "example" : "13434343432,xxx@163.com" }, "title" : { "type" : "string", "description" : "标题", "example" : "标题" } } }, "AlipayOpenPublicMessageContentCreateResponseModel" : { "type" : "object", "properties" : { "content_id" : { "type" : "string", "description" : "内容id", "example" : "201410323232dsadjada-dsa-1234dsada" }, "content_url" : { "type" : "string", "description" : "内容详情内链url", "example" : "alipays://xxxx" } } }, "AlipayOpenPublicMessageContentModifyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "MSG_CONTENT_TITLE_INVALID", "MSG_CONTENT_COVER_INVALID", "MSG_CONTENT_BODY_INVALID", "MSG_CONTENT_EXTTAGS_INVALID", "MSG_CONTENT_ACTIVITY_INVALID", "MSG_CONTENT_BENEFIT_INVALID", "MSG_CONTENT_PREVIEWIDS_INVALID", "MSG_CONTENT_ID_INVALID", "MSG_CONTENT_NOT_EXISTS", "MSG_CONTENT_NOT_ALLOW_UPDATE", "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "MSG_CONTENT_SECURITY_INVALID", "MSG_CONTENT_COULDCOMMENT_INVALID" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "AlipayOpenPublicMessageContentModifyModel" : { "type" : "object", "properties" : { "benefit" : { "type" : "string", "description" : "活动利益点,图文类型ctype为activity类型时才需要传,最多10个字符", "example" : "满**减**" }, "content" : { "type" : "string", "description" : "消息正文(支持富文本)", "example" : "示例" }, "content_id" : { "type" : "string", "description" : "内容id", "example" : "20141032434dsdsada-dsadas-2e32" }, "could_comment" : { "type" : "string", "description" : "是否允许评论 T:允许 F:不允许,默认不允许", "example" : "T" }, "cover" : { "type" : "string", "description" : "封面图url, 尺寸为996*450,最大不超过3M,支持格式:.jpg、.png ,请先调用招商规则说明
" }, "enroll_end_time" : { "type" : "string", "description" : "报名结束时间", "example" : "2021-01-01 01:01:01" }, "enroll_scene_type" : { "type" : "string", "description" : "招商方案所属报名场景\t枚举值:\tVOUCHER:券报名场景;\tMINI_APP:小程序报名场景;", "example" : "VOUCHER" }, "enroll_start_time" : { "type" : "string", "description" : "报名开始时间", "example" : "2021-01-01 01:01:01" }, "logo" : { "type" : "string", "description" : "方案头图链接,150x150 以上尺寸的方形图片", "example" : "https://xxxx" }, "plan_id" : { "type" : "string", "description" : "招商方案ID", "example" : "2021041201000100000000999999" }, "plan_name" : { "type" : "string", "description" : "招商方案名称", "example" : "中秋招商方案" }, "status" : { "type" : "string", "description" : "方案状态: 可用:ENABLED", "example" : "ENABLED" } } }, "RecruitVoucher" : { "type" : "object", "properties" : { "activity_id" : { "type" : "string", "description" : "券活动id。支持商家券(创建商家券请参考https://opendocs.alipay.com/apis/01xm17)和支付券(创建支付券请参考https://opendocs.alipay.com/pre-apis/027185,仅供受邀用户使用),取值均为返回结果的activity_id字段。" } } }, "RecruitVoucherRule" : { "type" : "object", "properties" : { "amount_max" : { "type" : "string", "description" : "券面额(每张代金券可以抵扣的金额)的的最大值。 币种为人民币,单位为元。小数点以后最多保留两位。 该字段为空时表示不限制。", "example" : "15.00" }, "amount_min" : { "type" : "string", "description" : "券面额(每张代金券可以抵扣的金额)的最小值。 币种为人民币,单位为元。小数点以后最多保留两位。 该字段为空时表示不限制。", "example" : "12.00" }, "denomination_percent_max" : { "type" : "string", "description" : "券优惠比例的最大值。20代表优惠比例最多是20%。券优惠券比例=券优惠面额/门槛金额。\t浮点类型,取值范围为[1,100],左右均是闭区间,小数点以后最多保留两位。\t该字段为空时表示不限制。", "example" : "20" }, "denomination_percent_min" : { "type" : "string", "description" : "券优惠比例的最小值。10代表优惠比例最少是10%。券优惠券比例=券优惠面额/门槛金额。\t浮点类型,取值范围为[1,100],左右均是闭区间,小数点以后最多保留两位。\t该字段为空时表示不限制。", "example" : "10" }, "floor_amount_max" : { "type" : "string", "description" : "券门槛金额的最大值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。", "example" : "20.00" }, "floor_amount_min" : { "type" : "string", "description" : "券门槛金额的最小值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。", "example" : "10.00" }, "origin_amount_max" : { "type" : "string", "description" : "券原价的最大值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。", "example" : "20.00" }, "origin_amount_min" : { "type" : "string", "description" : "券原价的最小值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。", "example" : "10.00" }, "publish_end_time_max" : { "type" : "string", "description" : "券发放结束时间的最大值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。", "example" : "2022-01-13 23:59:59" }, "publish_end_time_min" : { "type" : "string", "description" : "券发放结束时间的最小值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。", "example" : "2019-09-10 00:00:00" }, "publish_start_time_max" : { "type" : "string", "description" : "券发放开始时间的最大值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。", "example" : "2022-01-13 23:59:59" }, "publish_start_time_min" : { "type" : "string", "description" : "券发放开始时间的最小值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。", "example" : "2019-09-10 00:00:00" }, "refund_type" : { "type" : "array", "description" : "退券类型要求,列表,总共有两种类型:\t过期退OVERDUE_REFUND\t随时退CAN_REFUND\t该字段为空时表示不限制。", "items" : { "type" : "string" }, "example" : "[\"CAN_REFUND\",\"OVERDUE_REFUND\"]" }, "sale_amount_max" : { "type" : "string", "description" : "用户购买优惠券需要支付的金额的最大值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。", "example" : "20.00" }, "sale_amount_min" : { "type" : "string", "description" : "用户购买优惠券需要支付的金额的最小值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。", "example" : "10.00" }, "use_channel" : { "type" : "array", "description" : "券核销渠道要求,列表,总共有两个渠道:\t球房SHOP\t小程序MINI_APP\t该字段为空时表示不限制。", "items" : { "type" : "string" }, "example" : "[ \"SHOP\", \"MINI_APP\" ]" }, "valid_days_after_receive_min" : { "type" : "integer", "description" : "券生效后至少N天内可以使用。比如:valid_days_after_receive_min=20代表\t券生效后至少20天内可以使用。\t该字段为空时表示不限制。", "example" : "20" }, "voucher_activity_type" : { "type" : "string", "description" : "券活动类型。支持七种商家券类型和两种支付券类型。\t\t枚举值:\t商家券类型:\t\tALL_FIX_ORDER_VOUCHER 全场满减券;\t\tITEM_FIX_ORDER_VOUCHER 单品满减券;\t\tALL_DISCOUNT_ORDER_VOUCHER 全场折扣券;\t\tITEM_DISCOUNT_ORDER_VOUCHER 单品折扣券;\t\tITEM_SPE_ORDER_VOUCHER 单品特价券;\t\tEXCHANGE_GROUP_BUY_ORDER_VOUCHER 兑换团购券;\t\tEXCHANGE_FIX_ORDER_VOUCHER 兑换代金券;\t\t支付券类型:\t\tALL_FIX_VOUCHER 全场满减券;\t\tITEM_FIX_VOUCHER 单品满减券;\t\t创建商家券参考https://opendocs.alipay.com/apis/01xm17\t创建支付券参考https://opendocs.alipay.com/pre-apis/027185(仅供受邀用户使用)\t不同的创建券的参数创建出不同类型的券:\t 1. 根据voucher_type区分满减券、折扣券、特价券、兑换券\t 2. 根据goods_name是否为空区分单品券、全场券(当voucher_type为满减券、折扣券、特价券)\t 3. 根据voucher_use_rule.exchange_voucher.biz_type区分团购券、代金券(当voucher_type为兑换券)", "example" : "ITEM_FIX_ORDER_VOUCHER" }, "voucher_quantity_limit_per_user_max" : { "type" : "integer", "description" : "每人领取限制的最大值。\t默认按照支付宝uid进行领取限制。\t该字段为空时表示不限制。", "example" : "20" }, "voucher_quantity_limit_per_user_min" : { "type" : "integer", "description" : "每人领取限制的最小值。\t默认按照支付宝uid进行领取限制。\t该字段为空时表示不限制。", "example" : "10" }, "voucher_quantity_max" : { "type" : "integer", "description" : "券库存数量的最大值。\t该字段为空时表示不限制。", "example" : "20" }, "voucher_quantity_min" : { "type" : "integer", "description" : "券库存数量的最小值。\t该字段为空时表示不限制。", "example" : "10" }, "voucher_valid_begin_time_min" : { "type" : "string", "description" : "券可使用的开始时间的最小值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。", "example" : "2022-01-13 23:59:59" }, "voucher_valid_end_time_max" : { "type" : "string", "description" : "券可使用的结束时间的最大值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。", "example" : "2022-01-13 23:59:59" } } }, "RefundChargeInfo" : { "type" : "object", "properties" : { "charge_type" : { "type" : "string", "description" : "收单手续费trade,花呗分期手续hbfq,其他手续费charge" }, "refund_charge_fee" : { "type" : "string", "description" : "实退费用。单位:元。" }, "refund_sub_fee_detail_list" : { "type" : "array", "description" : "组合支付退费明细", "items" : { "$ref" : "#/components/schemas/RefundSubFee" } }, "switch_fee_rate" : { "type" : "string", "description" : "签约费率" } } }, "RefundGoodsDetail" : { "type" : "object", "properties" : { "goods_id" : { "type" : "string", "description" : "商品编号。\t对应支付时传入的goods_id", "example" : "apple-01" }, "refund_amount" : { "type" : "string", "description" : "该商品的退款总金额,单位为元", "example" : "19.50" } } }, "RefundRoyaltyResult" : { "type" : "object", "properties" : { "refund_amount" : { "type" : "string", "description" : "退分账金额。单位:元。", "example" : "10" }, "result_code" : { "type" : "string", "description" : "退分账结果码", "example" : "SUCCESS" }, "royalty_type" : { "type" : "string", "description" : "分账类型.\r\t普通分账为:transfer;\r\t补差为:replenish;\r\t为空默认为分账transfer;", "example" : "transfer" }, "trans_in" : { "type" : "string", "description" : "转入人支付宝账号对应用户ID", "example" : "2088102210397302" }, "trans_in_email" : { "type" : "string", "description" : "转入人支付宝账号", "example" : "zen_gwen@hotmail.com" }, "trans_out" : { "type" : "string", "description" : "转出人支付宝账号对应用户ID", "example" : "2088102210397302" }, "trans_out_email" : { "type" : "string", "description" : "转出人支付宝账号", "example" : "alipay-test03@alipay.com" } } }, "RefundSubFee" : { "type" : "object", "properties" : { "refund_charge_fee" : { "type" : "string", "description" : "实退费用。单位:元。" }, "switch_fee_rate" : { "type" : "string", "description" : "签约费率" } } }, "RegionInfo" : { "type" : "object", "properties" : { "area_code" : { "type" : "string", "description" : "地址所属区代码" }, "area_name" : { "type" : "string", "description" : "地址所属区名称" }, "city_code" : { "type" : "string", "description" : "地址所属市代码" }, "city_name" : { "type" : "string", "description" : "地址所属市名称" }, "province_code" : { "type" : "string", "description" : "地址所属省份代码" }, "province_name" : { "type" : "string", "description" : "地址所属省份名称" } } }, "ReplyRecord" : { "type" : "object", "properties" : { "content" : { "type" : "string", "description" : "回复内容" }, "gmt_create" : { "type" : "string", "description" : "回复时间" }, "images" : { "type" : "array", "description" : "回复图片", "items" : { "type" : "string" } }, "replier_role" : { "type" : "string", "description" : "回复角色\t商家:MERCHANT \t审核小二:AUDITOR" }, "status" : { "type" : "string", "description" : "状态。只在replier_role = ‘AUDITOR’时有值。\tappealSuccess:申诉通过\tappealFailed:申诉不通过\trectifyPass:整改通过\trectifyReject:整改不通过" } } }, "ReplyRecordResponse" : { "type" : "object", "properties" : { "content" : { "type" : "string", "description" : "回复内容", "example" : "已退款退货给您,物流单号为:12344444" }, "gmt_create" : { "type" : "string", "description" : "回复时间", "example" : "2020-02-14 14:23:12" }, "images" : { "type" : "array", "description" : "回复图片", "items" : { "type" : "string" }, "example" : "[\"http://mdn.alipay.com/wsdk/img?fileid=A*ME4GQq2j-5oAAAAAAAAAAAAAAQAAAQ&t=83fed12ef006ebcd8df04dfe79faad6c&bi=openpunsh&ts=0&zoom=original\"]" }, "replier_name" : { "type" : "string", "description" : "回复人名称", "example" : "刘*" }, "replier_role" : { "type" : "string", "description" : "用户:USER \t商家:MERCHANT\t系统:SYSTEM\t审核小二:AUDITOR\t政府单位:GOVERNMENT", "example" : "USER" } } }, "Role" : { "type" : "object", "properties" : { "ccs_instance_id" : { "type" : "string", "description" : "部门id(即租户实例ID、数据权限ID)", "example" : "ZPASFSCN" }, "create_time" : { "type" : "string", "description" : "创建时间", "example" : "2020-11-10 21:14:00" }, "creator_id" : { "type" : "string", "description" : "创建人id", "example" : "20184359929433" }, "description" : { "type" : "string", "description" : "角色描述描述", "example" : "这个角色是....." }, "function_ids" : { "type" : "array", "description" : "角色关联额功能点id", "items" : { "type" : "string" }, "example" : "[\"43511\",\"345343\"]" }, "id" : { "type" : "string", "description" : "角色id", "example" : "12" }, "name" : { "type" : "string", "description" : "角色名", "example" : "知识库管理员" }, "update_time" : { "type" : "string", "description" : "最后修改时间", "example" : "2020-11-10 21:20:00" }, "updater_id" : { "type" : "string", "description" : "最后修改人id", "example" : "20190443599294" } } }, "RoleId" : { "type" : "object", "properties" : { "ccs_instance_id" : { "type" : "string", "description" : "部门id(即租户实例ID、数据权限ID)" }, "role_id" : { "type" : "string", "description" : "角色ID" } } }, "RoyaltyDetail" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "分账金额", "example" : "10.00" }, "detail_id" : { "type" : "string", "description" : "支付宝分账明细单号,每笔分账业务执行的明细单号", "example" : "2023030610032004370215900000" }, "error_code" : { "type" : "string", "description" : "分账失败错误码,只在分账失败时返回", "example" : "TXN_RESULT_ACCOUNT_BALANCE_NOT_ENOUGH" }, "error_desc" : { "type" : "string", "description" : "分账错误描述信息", "example" : "分账余额不足" }, "execute_dt" : { "type" : "string", "description" : "分账执行时间", "example" : "2021-07-30 12:00:00" }, "operation_type" : { "type" : "string", "description" : "分账操作类型。有以下几种类型: replenish(补差)、replenish_refund(退补差)、transfer(分账)、transfer_refund(退分账)", "example" : "transfer" }, "state" : { "type" : "string", "description" : "分账状态,SUCCESS成功,FAIL失败,PROCESSING处理中", "example" : "FAIL" }, "trans_in" : { "type" : "string", "description" : "分账转入账号,只有在operation_type为replenish_refund(退补差),transfer(分账)才返回该字段或trans_in_open_id。trans_in_open_id为分账转入方的openId,当trans_in_open_id不为空的时候,请优先使用trans_in_open_id。", "example" : "2088111111112222" }, "trans_in_open_id" : { "type" : "string", "description" : "分账转入方的OpenId,OpenId为用户在该应用下支付宝的唯一用户标识。", "example" : "095PJtAPYb2UkQ0mXk_X86Z_Pd7PtySKX-U3zUEwONcu3wc" }, "trans_in_type" : { "type" : "string", "description" : "分账转入账号类型,userId表示是支付宝账号对应的支付宝唯一用户号,loginName表示是支付宝登录号,secondMerchantID表示是二级商户id。\t只有在operation_type为replenish_refund(退补差),transfer(分账)才返回该字段", "example" : "userId" }, "trans_out" : { "type" : "string", "description" : "分账转出账号,只有在operation_type为replenish(补差),transfer_refund(退分账)类型才返回该字段或trans_out_open_id字段。trans_out_open_id字段为分账转出方的openId,当trans_out_open_id 字段不为空时,请优先使用trans_out_open_id。", "example" : "2088111111111111" }, "trans_out_open_id" : { "type" : "string", "description" : "分账转出方的OpenId,OpenId为用户在该应用下支付宝内的唯一用户标识。", "example" : "095PJtAPYb2UkQ0mXk_X86Z_Pd7PtySKX-U3zUEwONcu3wc" }, "trans_out_type" : { "type" : "string", "description" : "分账转出账号类型,userId表示是支付宝账号对应的支付宝唯一用户号,loginName表示是支付宝登录号,secondMerchantID表示是二级商户id。\t只有在operation_type为replenish(补差),transfer_refund(退分账)类型才返回该字段", "example" : "userId" } } }, "RoyaltyDetailInfo" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "分账金额,单位为元", "example" : "10.00" }, "desc" : { "type" : "string", "description" : "分账描述", "example" : "分账给2088101126708402" }, "trans_in_account_id" : { "type" : "string", "description" : "分账转入账户id。当分账账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当分账账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当分账账户id类型是loginName时,本参数为用户的支付宝登录号;当分账账户id类型是openId时,本参数为用户的在该应用下的支付宝OpenId; 当 trans_in_account_type 为defaultSettle时,本参数必须为空", "example" : "2088101126708402" }, "trans_in_account_id_type" : { "type" : "string", "description" : "分账转入账户id类型。 当trans_in_account_type 为bankCard时,本参数为cardSerialNo,表示分账账户id是银行卡编号; 当trans_in_account_type 为alipayBalance时,本参数为userId或者loginName或者openId,其中userId表示分账账户id是支付宝唯一用户号,loginName表示分账账户id是支付宝登录号,openId表示分账账户id是支付宝OpenId; 当 trans_in_account_type 为 defaultSettle 时,本参数必须为空。", "example" : "cardSerialNo" }, "trans_in_account_type" : { "type" : "string", "description" : "分账账户类型。 bankCard: 分账账户为银行卡; alipayBalance: 分账账户为支付宝余额户; defaultSettle: 按默认结算规则分账", "example" : "alipayBalance" }, "trans_in_entity_id" : { "type" : "string", "description" : "分账转出主体账 号。\r\t\r\t当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID\r\t\r\t当分账转出类型为Store,本参数为StoreID", "example" : "SecondMerchant" }, "trans_in_entity_type" : { "type" : "string", "description" : "分账转入主体类型。 SecondMerchant:分账转入主体为二级商户\r\t\r\tStore: 结算球房", "example" : "Store" }, "trans_in_sub_merchant" : { "$ref" : "#/components/schemas/SubMerchant" }, "trans_out_entity_id" : { "type" : "string", "description" : "分账转出主体账。\r\t\r\t当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantId\r\t\r\t当分账转出类型为Store,本参数为StoreID", "example" : "2088" }, "trans_out_entity_type" : { "type" : "string", "description" : "分账转出主体类型。 SecondMerchant:结算主体为二级商户\r\t\r\tStore: 结算球房", "example" : "SecondMerchant" }, "trans_out_sub_merchant" : { "$ref" : "#/components/schemas/SubMerchant" } } }, "RoyaltyDetailInfos" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "分账的金额,单位为元" }, "amount_percentage" : { "type" : "string", "description" : "分账的比例,值为20代表按20%的比例分账" }, "batch_no" : { "type" : "string", "description" : "分账批次号\r\t分账批次号。\r\t目前需要和转入账号类型为bankIndex配合使用。" }, "desc" : { "type" : "string", "description" : "分账描述信息" }, "out_relation_id" : { "type" : "string", "description" : "商户分账的外部关联号,用于关联到每一笔分账信息,商户需保证其唯一性。\r\t如果为空,该值则默认为“商户网站唯一订单号+分账序列号”" }, "serial_no" : { "type" : "integer", "description" : "分账序列号,表示分账执行的顺序,必须为正整数" }, "trans_in" : { "type" : "string", "description" : "如果转入账号类型为userId,本参数为接受分账金额的支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字。\r\t\t如果转入账号类型为bankIndex,本参数为28位的银行编号(商户和支付宝签约时确定)。\r\t如果转入账号类型为storeId,本参数为商户的球房ID。" }, "trans_in_type" : { "type" : "string", "description" : "接受分账金额的账户类型:\r\t\tuserId:支付宝账号对应的支付宝唯一用户号。\r\t\tbankIndex:分账到银行账户的银行编号。目前暂时只支持分账到一个银行编号。\r\tstoreId:分账到球房对应的银行卡编号。\r\t默认值为userId。" }, "trans_out" : { "type" : "string", "description" : "如果转出账号类型为userId,本参数为要分账的支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字。" }, "trans_out_type" : { "type" : "string", "description" : "要分账的账户类型。\r\t目前只支持userId:支付宝账号对应的支付宝唯一用户号。\r\t默认值为userId。" } } }, "RoyaltyEntity" : { "type" : "object", "properties" : { "account" : { "type" : "string", "description" : "分账接收方账号。 当分账方类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字; 当分账方类型是loginName时,本参数为用户的支付宝登录号;当分账方类型是openId时,本参数传递支付宝openId信息。" }, "account_open_id" : { "type" : "string", "description" : "分账接收方openId,本参数为分账接收方在该应用(AppId)下的唯一用户标识,仅用于分账关系查询接口出参。" }, "bind_login_name" : { "type" : "string", "description" : "作为查询返回结果:分账收款方绑定时的支付宝登录号。分账关系绑定(alipay.trade.royalty.relation.bind)时,通过type为loginName绑定传入的支付宝登录号,若使用userId绑定则不返回。" }, "login_name" : { "type" : "string", "description" : "作为查询返回结果:当前userId对应的支付宝登录号。当login_name与bind_login_name不相等时,表明该支付宝账户发生了登录号变更。" }, "memo" : { "type" : "string", "description" : "分账关系描述" }, "name" : { "type" : "string", "description" : "分账接收方真实姓名。\t绑定分账关系时:\t当分账方类型是userId时,本参数可以不传,若上传则进行校验不上传不会校验。\t当分账方类型是loginName时,本参数必传。\t解绑分账关系时:作为请求参数可不填,分账关系查询时不作为返回结果返回" }, "type" : { "type" : "string", "description" : "分账接收方方类型。 userId:表示是支付宝账号对应的支付宝唯一用户号;loginName:表示是支付宝登录号;openId:表示支付宝openId。" } } }, "RoyaltyInfo" : { "type" : "object", "properties" : { "royalty_detail_infos" : { "type" : "array", "description" : "分账明细的信息,可以描述多条分账指令,json数组。", "items" : { "$ref" : "#/components/schemas/RoyaltyDetailInfos" } }, "royalty_type" : { "type" : "string", "description" : "分账类型\r\t卖家的分账类型,目前只支持传入ROYALTY(普通分账类型)。" } } }, "Scene" : { "type" : "object", "properties" : { "scene_id" : { "type" : "string", "description" : "场景Id,最长32位,英文字母、数字以及下划线,开发者自定义", "example" : "1234" } } }, "SchoolBaseInfo" : { "type" : "object", "properties" : { "campus_info" : { "type" : "array", "description" : "校区信息", "items" : { "$ref" : "#/components/schemas/CampusInfo" } }, "city_code" : { "type" : "string", "description" : "城市编码", "example" : "620900" }, "inst_id" : { "type" : "string", "description" : "学校内标", "example" : "2088000151541822" }, "inst_name" : { "type" : "string", "description" : "学校名称", "example" : "复旦大学" }, "inst_std_code" : { "type" : "string", "description" : "学校外标", "example" : "12510181450882098Q" }, "province_code" : { "type" : "string", "description" : "省份编码", "example" : "370000" } } }, "SchoolSimpleInfo" : { "type" : "object", "properties" : { "campus_info" : { "$ref" : "#/components/schemas/CampusInfo" }, "city_code" : { "type" : "string", "description" : "城市编码", "example" : "620900" }, "inst_id" : { "type" : "string", "description" : "学校内标", "example" : "2088000151541822" }, "inst_name" : { "type" : "string", "description" : "学校名称", "example" : "复旦大学" }, "inst_std_code" : { "type" : "string", "description" : "学校外标", "example" : "12510181450882098Q" }, "province_code" : { "type" : "string", "description" : "省份编码", "example" : "370000" } } }, "SearchAbilityOrderData" : { "type" : "object", "properties" : { "access_type" : { "type" : "string", "description" : "申请单类型", "example" : "BRAND_BOX" }, "app_name" : { "type" : "string", "description" : "小程序名称", "example" : "小程序名称" }, "app_status" : { "type" : "string", "description" : "小程序状态 ON_LINE、OFF_LINE", "example" : "ON_LINE" }, "appid" : { "type" : "string", "description" : "小程序id", "example" : "2021001105612404" }, "apply_id" : { "type" : "string", "description" : "申请单id", "example" : "AP20200212100002488" }, "apply_type" : { "type" : "string", "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达", "example" : "BRAND_BOX" }, "audit_status" : { "type" : "string", "description" : "申请状态 AGREE、REJECT、EDIT、AUDIT", "example" : "AGREE" }, "biz_id" : { "type" : "string", "description" : "bizId 为品牌box的boxID", "example" : "C100038430_2019042421000001069599_FUNCTION" }, "box_status" : { "type" : "string", "description" : "品牌box的上下架状态 ONLINE OFFLINE", "example" : "ONLINE" }, "brand_template_id" : { "type" : "string", "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四", "example" : "DEFAULT" }, "children" : { "type" : "array", "description" : "二级服务信息", "items" : { "$ref" : "#/components/schemas/SearchAbilityOrderInfoOpenApi" } }, "data_key" : { "type" : "string", "description" : "二级服务的唯一标识", "example" : "2019042421000001069599" }, "gmt_modified" : { "type" : "string", "description" : "更新时间", "example" : "2020-10-16 12:00:21" }, "id" : { "type" : "string", "description" : "服务的唯一标识(优先使用serviceCode可忽略)", "example" : "3131231" }, "is_old_data" : { "type" : "string", "description" : "是否是老工单", "example" : "false" }, "major_status" : { "type" : "string", "description" : "服务主状态,INITIAL:初始化;VALID:已生效;INVALID:已失效", "example" : "INITIAL" }, "online_time" : { "type" : "string", "description" : "上架时间", "example" : "2020-10-10 12:32:31" }, "open_status" : { "type" : "boolean", "description" : "服务的可见性状态", "example" : "true" }, "operator" : { "type" : "string", "description" : "下架操作者", "example" : "20881231231" }, "reject_reason" : { "type" : "string", "description" : "驳回原因", "example" : "驳回原因" }, "scene_code" : { "type" : "string", "description" : "场景码", "example" : "HOT_WORD_RANKING" }, "scene_name" : { "type" : "string", "description" : "场景名称", "example" : "场景名称" }, "service_code" : { "type" : "string", "description" : "服务码", "example" : "2019121121000102523089" }, "sub_service_desc" : { "type" : "string", "description" : "子功能描述", "example" : "子功能描述" }, "sub_service_name" : { "type" : "string", "description" : "子功能名称", "example" : "子功能名称" } } }, "SearchAbilityOrderInfoOpenApi" : { "type" : "object", "properties" : { "access_type" : { "type" : "string", "description" : "申请单类型", "example" : "BASE" }, "app_name" : { "type" : "string", "description" : "小程序名称", "example" : "搜索1" }, "app_status" : { "type" : "string", "description" : "小程序状态", "example" : "ON_LINE" }, "audit_status" : { "type" : "string", "description" : "审核状态", "example" : "AUDIT_PASS" }, "biz_id" : { "type" : "string", "description" : "运营申请单详情biz_id", "example" : "2021001105610428" }, "box_status" : { "type" : "string", "description" : "上架状态", "example" : "ONLINE" }, "brand_template_id" : { "type" : "string", "description" : "品牌模板id", "example" : "ONE_WITH_TWO" }, "data_key" : { "type" : "string", "description" : "二级服务唯一标识", "example" : "23232234" }, "gmt_modified" : { "type" : "string", "description" : "最近更新时间", "example" : "2020-12-11" }, "id" : { "type" : "string", "description" : "唯一id", "example" : "123424" }, "is_old_data" : { "type" : "boolean", "description" : "是否老工单", "example" : "false" }, "major_status" : { "type" : "string", "description" : "服务主状态", "example" : "VALID" }, "online_time" : { "type" : "string", "description" : "上架时间", "example" : "2020-11-12" }, "open_status" : { "type" : "boolean", "description" : "小程序可见性", "example" : "true" }, "operator" : { "type" : "string", "description" : "下架操作者", "example" : "232323" }, "reject_reason" : { "type" : "string", "description" : "驳回原因", "example" : "驳回原因" }, "scene_code" : { "type" : "string", "description" : "场景码", "example" : "sss" }, "scene_name" : { "type" : "string", "description" : "场景名称", "example" : "aaa" }, "search_app_id" : { "type" : "string", "description" : "小程序id", "example" : "2021001105610428" }, "sepc_code" : { "type" : "string", "description" : "应用标识", "example" : "SP_MINI_APP" }, "service_code" : { "type" : "string", "description" : "服务码", "example" : "234345454" }, "sub_service_desc" : { "type" : "string", "description" : "子功能描述", "example" : "111" }, "sub_service_name" : { "type" : "string", "description" : "子功能名称", "example" : "子功能" } } }, "SearchApplyPageQueryRequest" : { "type" : "object", "properties" : { "apply_type" : { "type" : "string", "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达", "example" : "BRAND_BOX" }, "audit_status_list" : { "type" : "array", "description" : "筛选状态数组 AUDIT AGREE REJECT CANCEL EDIT", "items" : { "type" : "string" }, "example" : "[\"AUDIT\",\"AGREE\"]" }, "category_code" : { "type" : "string", "description" : "类目编码", "example" : "2021001162676276" }, "name" : { "type" : "string", "description" : "服务名称", "example" : "服务名称" }, "page_num" : { "type" : "string", "description" : "当前页码", "example" : "10" }, "page_size" : { "type" : "string", "description" : "页面的显示记录条数", "example" : "3" }, "service_code" : { "type" : "string", "description" : "服务code", "example" : "2020062021000575859547" }, "service_id" : { "type" : "string", "description" : "小程序appid", "example" : "2020072301000006648885" }, "start_row" : { "type" : "string", "description" : "起始记录,起始:0", "example" : "1" }, "sub_service_code" : { "type" : "string", "description" : "二级服务code", "example" : "2020062021000575859547" } } }, "SearchBaseItems" : { "type" : "object", "properties" : { "can_search" : { "type" : "boolean", "description" : "搜索可见性", "example" : "true" }, "key_words" : { "type" : "array", "description" : "提报关键词列表", "items" : { "type" : "string" }, "example" : "[\"111\",\"222\",\"333\"]" } } }, "SearchBaseOrderCreateApiRequest" : { "type" : "object", "properties" : { "access_type" : { "type" : "string", "description" : "搜索直达类型 BASE:基础信息,只支持基础信息工单提报", "example" : "BASE" }, "appid" : { "type" : "string", "description" : "小程序Id", "example" : "2021001105612404" }, "base_items" : { "$ref" : "#/components/schemas/SearchBaseItems" }, "descprise" : { "type" : "string", "description" : "服务描述", "example" : "服务描述" }, "is_draft" : { "type" : "boolean", "description" : "是否为草稿态", "example" : "true" }, "order_id" : { "type" : "string", "description" : "申请单id,仅仅驳回或修改是传入", "example" : "AP20200212100002488" }, "spec_code" : { "type" : "string", "description" : "服务的类型 SP_MINI_APP 小程序 SP_PUBLIC_APP 生活号", "example" : "SP_MINI_APP" } } }, "SearchBoxAccountModule" : { "type" : "object", "properties" : { "app_infos" : { "type" : "array", "description" : "应用信息列表", "items" : { "$ref" : "#/components/schemas/SearchBoxAppInfo" } }, "module_id" : { "type" : "string", "description" : "模块ID", "example" : "20220308000000168465" }, "module_type" : { "type" : "string", "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图", "example" : "BOX_EXCLUSIVE_ACCOUNTS" } } }, "SearchBoxActivity" : { "type" : "object", "properties" : { "box_activity_id" : { "type" : "string", "description" : "活动id", "example" : "20211223000000100000" }, "box_id" : { "type" : "string", "description" : "搜索直达id", "example" : "20211130000000100415" }, "end_time" : { "type" : "string", "description" : "活动结束时间", "example" : "2022-09-30 23:59:59" }, "fail_reason" : { "type" : "string", "description" : "审核失败原因", "example" : "品牌触发词必须完整包含品牌名称且不得使用泛词,建议调整。" }, "material_type" : { "type" : "string", "description" : "IMAGE-图片/VIDEO-视频", "example" : "IMAGE" }, "material_url" : { "type" : "string", "description" : "当material_type=\"IMAGE\"时,为图片url;当material_type=\"VIDEO\"时,为视频url", "example" : "http://mdn.alipayobjects.com/mrch_spc/afts/img/A*0XA2Qo_omj4AAAAAAAAAAAAADsF1AQ/original" }, "run_status" : { "type" : "string", "description" : "运行状态,INITIAL-初始,ONLINE-已上架,EXPIRE-已失效,OFFLINE-已下架", "example" : "ONLINE" }, "start_time" : { "type" : "string", "description" : "活动开始时间", "example" : "2022-02-10 08:00:00" }, "status" : { "type" : "string", "description" : "配置状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效", "example" : "ONLINE" }, "target_appid" : { "type" : "string", "description" : "跳转应用ID", "example" : "2021001191699651" }, "target_appname" : { "type" : "string", "description" : "目标小程序名称", "example" : "目标小程序名称" }, "target_regions" : { "type" : "array", "description" : "投放目标区域", "items" : { "$ref" : "#/components/schemas/DeliveryTargetRegion" } }, "title" : { "type" : "string", "description" : "活动标题", "example" : "活动标题" }, "video_info" : { "$ref" : "#/components/schemas/SearchBoxActivityVideoInfo" } } }, "SearchBoxActivityVideoInfo" : { "type" : "object", "properties" : { "video_btn_text" : { "type" : "string", "description" : "视频按钮文案,2-4个汉字" }, "video_coverimg_id" : { "type" : "string", "description" : "视频封面图片id,图片id可以通过调用接口alipay.open.file.upload上传图片,获取图片id(bizCode:search_box_videocover)。 图片规范 " }, "video_sub_title" : { "type" : "string", "description" : "视频副标题,2-16个汉字" }, "video_title" : { "type" : "string", "description" : "视频主标题,2-10个汉字" } } }, "SearchBoxAppInfo" : { "type" : "object", "properties" : { "app_name" : { "type" : "string", "description" : "应用名称" }, "app_type" : { "type" : "string", "description" : "应用类型,TINY_APP-小程序/PUBLIC_APP-生活号/SHOP_APP-球房应用" }, "relate_appid" : { "type" : "string", "description" : "应用ID" } } }, "SearchBoxAreaKeyWordModule" : { "type" : "object", "properties" : { "latest_audit_area_keyword_info" : { "$ref" : "#/components/schemas/SearchBoxKeywordInfo" }, "module_id" : { "type" : "string", "description" : "模块id", "example" : "20220308000000168465" }, "module_type" : { "type" : "string", "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图", "example" : "BOX_EXCLUSIVE_AREA_KEYWORD" }, "valid_area_keyword_info" : { "$ref" : "#/components/schemas/SearchBoxKeywordInfo" } } }, "SearchBoxBasicInfo" : { "type" : "object", "properties" : { "box_id" : { "type" : "string", "description" : "搜索直达配置id", "example" : "20220117000000112680" }, "brand_id" : { "type" : "string", "description" : "品牌id", "example" : "1000467882" }, "name" : { "type" : "string", "description" : "搜索直达名称", "example" : "搜索直达名称" }, "status" : { "type" : "string", "description" : "搜索直达配置状态,INITIAL-初始/ONLINE-已上架/EXPIRE-已失效/OFFLINE-已下架", "example" : "ONLINE" }, "target_appid" : { "type" : "string", "description" : "小程序id", "example" : "2018092561507369" } } }, "SearchBoxBasicInfoModule" : { "type" : "object", "properties" : { "apply_no" : { "type" : "string", "description" : "申请单号", "example" : "2022010700503000000000487728" }, "box_desc" : { "type" : "string", "description" : "介绍,已生效的数据", "example" : "品牌介绍" }, "fail_reason" : { "type" : "string", "description" : "审核失败原因", "example" : "品牌触发词必须完整包含品牌名称且不得使用泛词,建议调整。" }, "gmt_modified" : { "type" : "string", "description" : "修改时间", "example" : "2022-01-07 18:22:04" }, "latest_audit_box_desc" : { "type" : "string", "description" : "介绍,最近一次审核内容", "example" : "品牌介绍" }, "module_id" : { "type" : "string", "description" : "模块配置ID", "example" : "20220308000000168465" }, "module_type" : { "type" : "string", "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图", "example" : "BOX_EXCLUSIVE_BASE" }, "status" : { "type" : "string", "description" : "状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效", "example" : "AUDIT" } } }, "SearchBoxImageModule" : { "type" : "object", "properties" : { "apply_no" : { "type" : "string", "description" : "申请单号" }, "fail_reason" : { "type" : "string", "description" : "审核失败原因" }, "gmt_modified" : { "type" : "string", "description" : "修改时间" }, "module_id" : { "type" : "string", "description" : "模块ID" }, "module_type" : { "type" : "string", "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图" }, "status" : { "type" : "string", "description" : "状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效" } } }, "SearchBoxKeyWordModule" : { "type" : "object", "properties" : { "apply_no" : { "type" : "string", "description" : "申请单号", "example" : "2022010700503000000000487728" }, "fail_reason" : { "type" : "string", "description" : "审核失败原因", "example" : "品牌触发词必须完整包含品牌名称且不得使用泛词,建议调整。" }, "gmt_modified" : { "type" : "string", "description" : "修改时间", "example" : "2022-01-07 18:22:04" }, "keywords" : { "type" : "array", "description" : "自定义触发词(生效中)", "items" : { "type" : "string" }, "example" : "[\"自定义触发词\"]" }, "latest_audit_keywords" : { "type" : "array", "description" : "自定义触发词(最近一次审核内容)", "items" : { "type" : "string" }, "example" : "[\"自定义触发词\"]" }, "module_id" : { "type" : "string", "description" : "模块配置ID", "example" : "20220308000000168465" }, "module_type" : { "type" : "string", "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图", "example" : "BOX_EXCLUSIVE_KEYWORD" }, "status" : { "type" : "string", "description" : "状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效", "example" : "ONLINE" } } }, "SearchBoxKeywordInfo" : { "type" : "object", "properties" : { "apply_no" : { "type" : "string", "description" : "申请单号" }, "fail_reason" : { "type" : "string", "description" : "审核失败原因" }, "gmt_modified" : { "type" : "string", "description" : "修改时间" }, "keywords" : { "type" : "array", "description" : "关键词", "items" : { "type" : "string" } }, "module_id" : { "type" : "string", "description" : "模块ID" }, "status" : { "type" : "string", "description" : "ONLINE--上架\tREJECT--驳回\tOFFLINE-已下架" } } }, "SearchBoxServiceInfo" : { "type" : "object", "properties" : { "service_category_code" : { "type" : "string", "description" : "服务类目编码" }, "service_category_name" : { "type" : "string", "description" : "服务类目名称" }, "service_code" : { "type" : "string", "description" : "服务编码" }, "service_name" : { "type" : "string", "description" : "服务名称" } } }, "SearchBoxServiceModule" : { "type" : "object", "properties" : { "module_id" : { "type" : "string", "description" : "模块ID", "example" : "20220308000000168465" }, "module_type" : { "type" : "string", "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图", "example" : "BOX_EXCLUSIVE_FUNCTIONS" }, "service_infos" : { "type" : "array", "description" : "服务信息列表", "items" : { "$ref" : "#/components/schemas/SearchBoxServiceInfo" } } } }, "SearchOperPageQueryRequest" : { "type" : "object", "properties" : { "access_type" : { "type" : "string", "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达", "example" : "BRAND_BOX" }, "appid" : { "type" : "string", "description" : "小程序ID", "example" : "2021001105612404" }, "page_num" : { "type" : "string", "description" : "当前页", "example" : "1" }, "page_size" : { "type" : "string", "description" : "每页显示条数", "example" : "2" }, "scene_code" : { "type" : "string", "description" : "场景码", "example" : "HOT_WORD_RANKING" }, "spec_code" : { "type" : "string", "description" : "服务类型 SP_MINI_APP 小程序 SP_PUBLIC_APP 生活号", "example" : "SP_MINI_APP" } } }, "SearchOrderBrandDetail" : { "type" : "object", "properties" : { "brand_detail" : { "$ref" : "#/components/schemas/BrandDetail" }, "key" : { "type" : "string", "description" : "工单详情key值", "example" : "425d8560-35da-11eb-9de8-217f5d8e3c76" } } }, "SearchOrderDetailData" : { "type" : "object", "properties" : { "access_type" : { "type" : "string", "description" : "申请单类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达", "example" : "BASE" }, "app_category" : { "type" : "string", "description" : "小程序类目名", "example" : "旅行住宿_国际货运代理和报关行" }, "app_icon" : { "type" : "string", "description" : "小程序图标", "example" : "http://appstoreisvpic.alipayobjects.com/dev/bec7d11f-bb62-4abf-9a75-0d10407b4ed8.png" }, "app_name" : { "type" : "string", "description" : "小程序名称", "example" : "小程序名称" }, "app_status" : { "type" : "string", "description" : "小程序状态", "example" : "ON_LINE" }, "appid" : { "type" : "string", "description" : "小程序ID", "example" : "2014060600164699" }, "base_order_status" : { "$ref" : "#/components/schemas/OrderStatusData" }, "biz_id" : { "type" : "string", "description" : "bizid 业务id", "example" : "765432123456" }, "box_order_status" : { "$ref" : "#/components/schemas/OrderStatusData" }, "box_status" : { "type" : "string", "description" : "上下架状态 ONLINE OFFLINE", "example" : "ONLINE" }, "brand_template_id" : { "type" : "string", "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四", "example" : "DEFAULT" }, "brandbox_orderstatus" : { "$ref" : "#/components/schemas/OrderStatusData" }, "can_modify_keyword" : { "type" : "boolean", "description" : "是否可修改关键词", "example" : "true" }, "describe" : { "type" : "string", "description" : "服务描述", "example" : "搜索提报测试小程序3" }, "detail_base_items" : { "$ref" : "#/components/schemas/SearchOrderDetailDataBaseItems" }, "detail_brand_items" : { "$ref" : "#/components/schemas/SearchOrderDetailDataBrandItems" }, "detail_service_items" : { "$ref" : "#/components/schemas/SearchOrderDetailDataServiceItems" }, "final_status" : { "type" : "string", "description" : "最终状态", "example" : "AGREE" }, "gmtmodified" : { "type" : "string", "description" : "最后修改时间", "example" : "2020-10-15 11:34:23" }, "keyword_gmt_modified" : { "type" : "string", "description" : "关键词的修改时间", "example" : "2020-10-14 14:25:50" }, "online_time" : { "type" : "string", "description" : "上架时间", "example" : "2020-10-15 11:34:23" }, "operator_type" : { "type" : "string", "description" : "操作人员类型", "example" : "操作人员类型" }, "order_id" : { "type" : "string", "description" : "申请单id", "example" : "AP2020101501254498" }, "partner_type" : { "type" : "string", "description" : "查询服务提供者生态类型 一二三方 1 | 2 | 3", "example" : "1" }, "reject_node" : { "type" : "string", "description" : "驳回节点", "example" : "驳回节点" }, "reject_reason" : { "type" : "string", "description" : "驳回原因", "example" : "驳回原因" }, "scene_code" : { "type" : "string", "description" : "场景码", "example" : "HOT_WORD_RANKING" }, "scene_name" : { "type" : "string", "description" : "场景名称", "example" : "场景名称" }, "service_code" : { "type" : "string", "description" : "服务code", "example" : "2019121121000102523089" }, "service_name" : { "type" : "string", "description" : "服务名", "example" : "服务名" }, "status" : { "type" : "string", "description" : "申请单状态 AGREE、REJECT、AUDIT", "example" : "AUDIT" }, "sub_service_code" : { "type" : "string", "description" : "二级服务code", "example" : "2019121121000102523089" }, "template_id" : { "type" : "string", "description" : "模板Id", "example" : "WALLET-SEARCH@boxFunctionCommon" }, "template_name" : { "type" : "string", "description" : "模板名称", "example" : "二级服务菜单直达" } } }, "SearchOrderDetailDataBaseItems" : { "type" : "object", "properties" : { "can_search" : { "type" : "string", "description" : "搜索可见性", "example" : "true" }, "desc" : { "type" : "string", "description" : "描述信息", "example" : "描述信息" }, "img" : { "type" : "string", "description" : "img地址", "example" : "https://appstoreisvpic.alipayobjects.com/prod/37945fc8-d09b-4b3a-a472-4673c55e9dc9.png" }, "key_word" : { "type" : "string", "description" : "关键词", "example" : "测试" }, "name" : { "type" : "string", "description" : "应用名称", "example" : "测试1" }, "region" : { "type" : "string", "description" : "基础工单详情region", "example" : "0" }, "serv_can_search" : { "type" : "string", "description" : "搜索可见性", "example" : "true" }, "serv_search_keywords" : { "type" : "string", "description" : "搜索关键词", "example" : "搜索" }, "template_id" : { "type" : "string", "description" : "模板id", "example" : "WALLET-SEARCH@boxFunctionCommon" }, "url" : { "type" : "string", "description" : "跳转url链接", "example" : "https://appstoreisvpic.alipayobjects.com/prod" } } }, "SearchOrderDetailDataBrandItems" : { "type" : "object", "properties" : { "biz_id" : { "type" : "string", "description" : "工单详情bizid", "example" : "C100038430_2020081121000352488483_FUNCTION" }, "box_status" : { "type" : "string", "description" : "上下架状态", "example" : "ONLINE" }, "brand_box_keywords" : { "type" : "string", "description" : "关键词信息", "example" : "烟草" }, "brand_detail_list" : { "type" : "array", "description" : "工单详情数据信息", "items" : { "$ref" : "#/components/schemas/SearchOrderBrandDetail" } }, "brand_template_id" : { "type" : "string", "description" : "品牌展示模板类型", "example" : "ONE_WITH_TWO" }, "channel" : { "type" : "string", "description" : "工单详情数据channel", "example" : "OPENINSIGHT" }, "merchant_type" : { "type" : "string", "description" : "工单详情数据merchant_type", "example" : "GENERAL" }, "template_id" : { "type" : "string", "description" : "模板id", "example" : "WALLET-SEARCH@boxContent" } } }, "SearchOrderDetailDataServiceItems" : { "type" : "object", "properties" : { "area_codes" : { "type" : "string", "description" : "服务工单详情area_codes", "example" : "1" }, "carrier_code" : { "type" : "string", "description" : "carrier_code", "example" : "2019021863152020" }, "carrier_list" : { "type" : "string", "description" : "服务工单数据carrier_list", "example" : "111" }, "category_attribute_value" : { "type" : "string", "description" : "服务工单category_attribute_value", "example" : "111" }, "category_code" : { "type" : "string", "description" : "类目id", "example" : "C100038432" }, "category_ids" : { "type" : "string", "description" : "类目id", "example" : "XS3120" }, "channel_type" : { "type" : "string", "description" : "渠道类型", "example" : "MERCHANT_SELF_MANAGE_MINI_APP" }, "desc" : { "type" : "string", "description" : "描述", "example" : "描述" }, "img" : { "type" : "string", "description" : "img地址", "example" : "https://mdn.alipayobjects.com/openpt_appstore/afts/img/A*1o71SaApF5YAAAAAAAAAAAAAATcnAQ/original" }, "key_word" : { "type" : "string", "description" : "关键词", "example" : "关键词" }, "key_word_list" : { "type" : "string", "description" : "关键词列表", "example" : "测试" }, "logo" : { "type" : "string", "description" : "logo图片地址", "example" : "https://mdn.alipayobjects.com/openpt_appstore/afts/img/A*1o71SaApF5YAAAAAAAAAAAAAATcnAQ/original" }, "name" : { "type" : "string", "description" : "应用名称", "example" : "应用名称" }, "parent_service_code" : { "type" : "string", "description" : "服务编码", "example" : "2019041721000201048200" }, "region" : { "type" : "string", "description" : "服务工单详情region", "example" : "1" }, "serv_search_catalogs" : { "type" : "string", "description" : "serv_search_catalogs", "example" : "C100038432" }, "serv_search_keywords" : { "type" : "string", "description" : "关键词", "example" : "关键词" }, "service_code" : { "type" : "string", "description" : "2020112321000021082348", "example" : "服务码" }, "service_name" : { "type" : "string", "description" : "服务名称", "example" : "测试1" }, "service_time_end" : { "type" : "string", "description" : "服务结束时间", "example" : "23:59:59" }, "service_time_start" : { "type" : "string", "description" : "服务开始时间", "example" : "00:00:00" }, "short_desc" : { "type" : "string", "description" : "服务短描述", "example" : "服务短描述" }, "spec_code" : { "type" : "string", "description" : "应用标识", "example" : "SP_SEARCH_SERVICE" }, "template_id" : { "type" : "string", "description" : "模板id", "example" : "WALLET-SEARCH@boxFunctionCommon" } } }, "SearchOrderRequest" : { "type" : "object", "properties" : { "apply_id" : { "type" : "string", "description" : "申请单id", "example" : "AP20200212100002488" }, "apply_type" : { "type" : "string", "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达", "example" : "BASE" }, "brand_template_id" : { "type" : "string", "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四", "example" : "DEFAULT" }, "service_code" : { "type" : "string", "description" : "服务code", "example" : "2019121121000102523089" }, "spec_code" : { "type" : "string", "description" : "服务的类型默认使用小程序 SP_MINI_APP 小程序 SP_PUBLIC_APP 生活号", "example" : "SP_MINI_APP" } } }, "SearchPartAgreeInfo" : { "type" : "object", "properties" : { "audit_info" : { "type" : "string", "description" : "剔除数据名称", "example" : "单车" }, "audit_operator" : { "type" : "string", "description" : "剔除数据的operator信息", "example" : "liming" }, "audit_reason" : { "type" : "string", "description" : "剔除原因", "example" : "剔除原因" }, "audit_type" : { "type" : "string", "description" : "剔除数据类型", "example" : "aaa" } } }, "SeatInfo" : { "type" : "object", "properties" : { "seat_class" : { "type" : "string", "description" : "座位等级", "example" : "一等座" }, "seat_no" : { "type" : "string", "description" : "座位号", "example" : "12车12D" } } }, "SendRule" : { "type" : "object", "properties" : { "allow_repeat_send" : { "type" : "string", "description" : "是否允许重复发奖:\r\ttrue代表允许,false代表不允许\r\t默认不设置,表明用户领取券后如果没有核销则不允许再次领取券\r\t如果设置为true,表明如果用户领取券后没有核销,还可以继续领取该券(只有配置publish_channels中type为URL_WITH_TOKEN外部发券时,该字段生效)", "example" : "true" }, "min_cost" : { "type" : "string", "description" : "发券最低消费金额,单位元\r\t活动类型为消费送且不是消费送礼包时设置\r\t多营销工具之间不允许设置重复值", "example" : "100" }, "send_budget" : { "type" : "string", "description" : "券的预算数量(仅对口令送随机抽奖有效,即当活动类型为GUESS_SEND,且营销工具PromoTool的个数大于1时,此字段必填,其余情况此字段必为空)", "example" : "1234" }, "send_num" : { "type" : "string", "description" : "发券数目\r\t最少发1张券,最多发5张券", "example" : "1" } } }, "SenderIstd" : { "type" : "object", "properties" : { "address" : { "type" : "string", "description" : "地址(街道、小区、大厦等,用于定位)" }, "address_detail" : { "type" : "string", "description" : "地址详情(楼号、单元号、层号)" }, "city" : { "type" : "string", "description" : "城市名称,如杭州市" }, "coordinate_type" : { "type" : "integer", "description" : "坐标类型,0:火星坐标(高德,腾讯地图均采用火星坐标) 1:百度坐标, 目前只支持0" }, "lat" : { "type" : "string", "description" : "纬度" }, "lng" : { "type" : "string", "description" : "经度" }, "mobile_no" : { "type" : "string", "description" : "手机号" }, "name" : { "type" : "string", "description" : "姓名" } } }, "ServiceCodeIstd" : { "type" : "object", "properties" : { "service_code" : { "type" : "string", "description" : "即时配送公司服务代码", "example" : "fengniao01" } } }, "ServiceRecordCatRequest" : { "type" : "object", "properties" : { "cat_name" : { "type" : "string", "description" : "类目名称(需要每一级用;分隔封装)" }, "first_cat" : { "type" : "string", "description" : "一级类目编码" }, "fourth_cat" : { "type" : "string", "description" : "四级类目编码" }, "instence_code" : { "type" : "string", "description" : "类目树编码" }, "second_cat" : { "type" : "string", "description" : "二级类目编码" }, "third_cat" : { "type" : "string", "description" : "三级类目编码" } } }, "SettleCardInfo" : { "type" : "object", "properties" : { "account_branch_name" : { "type" : "string", "description" : "开户支行名" }, "account_holder_name" : { "type" : "string", "description" : "卡户名" }, "account_inst_city" : { "type" : "string", "description" : "开户行所在地-市" }, "account_inst_id" : { "type" : "string", "description" : "开户行简称缩写" }, "account_inst_name" : { "type" : "string", "description" : "银行名称" }, "account_inst_province" : { "type" : "string", "description" : "开户行所在地-省" }, "account_no" : { "type" : "string", "description" : "银行卡号" }, "account_type" : { "type" : "string", "description" : "卡类型\r\t借记卡-DC\r\t信用卡-CC" }, "bank_code" : { "type" : "string", "description" : "联行号" }, "usage_type" : { "type" : "string", "description" : "账号使用类型\r\t对公-01\r\t对私-02" } } }, "SettleClause" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "结算金额,单位为元", "example" : "0.1" }, "currency" : { "type" : "string", "description" : "结算币种,支持人民币:CNY", "example" : "CNY" }, "settle_account_entity" : { "type" : "string", "description" : "结算账号所属于的结算主体类型。\tsecondMerchant 二级商户的结算账号\tstore 球房的结算账号\t如果不填,默认为settleEntityType对应的类型", "example" : "secondMerchant" }, "settle_account_id" : { "type" : "string", "description" : "结算账户id。\t\t当结算账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当结算账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当结算账户id类型是loginName时,本参数为用户的支付宝登录号; 当 settle_account_type 为defaultSettle时,本参数必须为空", "example" : "15912345678" }, "settle_account_id_type" : { "type" : "string", "description" : "结算账户id类型。 \t当settle_account_type 为bankCard时,本参数为cardSerialNo,表示结算账户id是银行卡编号; 当settle_account_type 为alipayBalance时,本参数为userId或者loginName,其中userId表示结算账户id是支付宝唯一用户号,loginName表示结算账户id是支付宝登录号; 当 settle_account_type 为 defaultSettle 时,本参数必须为空", "example" : "loginName" }, "settle_account_type" : { "type" : "string", "description" : "结算账户类型。\t\tbankCard: 结算账户为银行卡;\talipayBalance: 结算账户为支付宝余额户;\tdefaultSettle: 按默认结算规则结算", "example" : "alipayBalance" }, "settle_entity_id" : { "type" : "string", "description" : "结算主体账号。\r\t当结算主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID", "example" : "19023454" }, "settle_entity_type" : { "type" : "string", "description" : "结算主体类型。\r\tSecondMerchant:结算主体为二级商户", "example" : "SecondMerchant" }, "sub_merchant" : { "$ref" : "#/components/schemas/SubMerchant" } } }, "SettleConfirmExtendParams" : { "type" : "object", "properties" : { "royalty_freeze" : { "type" : "string", "description" : "是否进行资金冻结,用于后续分账,true表示冻结,false或不传表示不冻结", "example" : "true" } } }, "SettleDetailInfo" : { "type" : "object", "properties" : { "actual_amount" : { "type" : "string", "description" : "仅在直付通账期模式下,当一笔交易需要分多次发起部分确认结算时使用,表示本次确认结算的实际结算金额。传递本字段后,原amount字段不再生效,结算金额以本字段为准。如已经发生过部分确认结算、不传递本字段则默认按剩余待结算金额一次性结算。" }, "amount" : { "type" : "string", "description" : "结算的金额,单位为元。在创建订单和支付接口时必须和交易金额相同。在结算确认接口时必须等于交易金额减去已退款金额。直付通账期模式下,如使用部分结算能力、传递了actual_amount字段,则忽略本字段的校验、可不传。" }, "settle_entity_id" : { "type" : "string", "description" : "结算主体标识。当结算主体类型为SecondMerchant时,为二级商户的SecondMerchantID;当结算主体类型为Store时,为球房的外标。" }, "settle_entity_type" : { "type" : "string", "description" : "结算主体类型。\r\t二级商户:SecondMerchant;商户或者直连商户球房:Store" }, "summary_dimension" : { "type" : "string", "description" : "结算汇总维度,按照这个维度汇总成批次结算,由商户指定。\t\t目前需要和结算收款方账户类型为cardAliasNo配合使用" }, "trans_in" : { "type" : "string", "description" : "结算收款方。当结算收款方类型是cardAliasNo时,本参数为用户在支付宝绑定的卡编号;结算收款方类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字;当结算收款方类型是loginName时,本参数为用户的支付宝登录号;当结算收款方类型是defaultSettle时,本参数不能传值,保持为空。" }, "trans_in_type" : { "type" : "string", "description" : "结算收款方的账户类型。\t\tcardAliasNo:结算收款方的银行卡编号;\tuserId:表示是支付宝账号对应的支付宝唯一用户号;\tloginName:表示是支付宝登录号;\tdefaultSettle:表示结算到商户进件时设置的默认结算账号,结算主体为球房时不支持传defaultSettle;" } } }, "SettleEntity" : { "type" : "object", "properties" : { "settle_entity_id" : { "type" : "string", "description" : "结算主体账号\t当结算主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID;当结算主体类型为MerchantStore,本参数为商户球房ID。", "example" : "19023454" }, "settle_entity_type" : { "type" : "string", "description" : "结算主体类型\tSecondMerchant:结算主体为二级商户;MerchantStore:结算主体为商户球房", "example" : "SecondMerchant" } } }, "SettleExtendParams" : { "type" : "object", "properties" : { "royalty_finish" : { "type" : "string", "description" : "冻结分账场景下生效,其他场景传入无效。\t代表该交易分账是否完结,可选值:true/false,不传默认为false。\ttrue:代表分账完结,则本次分账处理完成后会把该笔交易的剩余冻结金额全额解冻。\tfalse:代表分账未完结。", "example" : "true" } } }, "SettleExtraParams" : { "type" : "object", "properties" : { "quit_type" : { "type" : "string", "description" : "quit_type为USER_CANCEL_QUIT或者SETTLE_APPLY_QUIT", "example" : "SETTLE_APPLY_QUIT" }, "settle_adjust_reason" : { "type" : "string", "description" : "action_type选择PAY_TO_ZERO时必填,\t\"SERVICE_CANCELED\":\"服务已取消\",\t\"OTHER_CHANNEL_PERFORMANCE\":\"户已通过其他方式履约\"", "example" : "SERVICE_CANCELED或OTHER_CHANNEL_PERFORMANCE" } } }, "SettleInfo" : { "type" : "object", "properties" : { "settle_detail_infos" : { "type" : "array", "description" : "结算详细信息,json数组,目前只支持一条。", "items" : { "$ref" : "#/components/schemas/SettleDetailInfo" } }, "settle_period_time" : { "type" : "string", "description" : "该笔订单的超期自动确认结算时间,到达期限后,将自动确认结算。此字段只在签约账期结算模式时有效。取值范围:1d~365d。d-天。 该参数数值不接受小数点。" } } }, "ShopBusinessTime" : { "type" : "object", "properties" : { "close_time" : { "type" : "string", "description" : "关门时间 格式:HH:mm" }, "open_time" : { "type" : "string", "description" : "开门时间 格式:HH:mm" }, "week_day" : { "type" : "integer", "description" : "本对象表示周几的营业时间。1~6表示周一到周六,7表示周日" } } }, "ShopCategoryConfigInfo" : { "type" : "object", "properties" : { "id" : { "type" : "string", "description" : "类目ID", "example" : "2016031800159500" }, "is_leaf" : { "type" : "string", "description" : "是否是叶子节点", "example" : "true" }, "level" : { "type" : "string", "description" : "类目层级", "example" : "3" }, "link" : { "type" : "string", "description" : "类目层级路径", "example" : "美食-中餐-淮扬菜" }, "nm" : { "type" : "string", "description" : "类目名称", "example" : "淮扬菜" } } }, "ShopCategoryInfo" : { "type" : "object", "properties" : { "category_id" : { "type" : "string", "description" : "类目编号", "example" : "2015050700000018" }, "category_level" : { "type" : "string", "description" : "类目层级,目前最多支持1、2、3三级", "example" : "2" }, "category_name" : { "type" : "string", "description" : "类目名称", "example" : "美食" } } }, "ShopCommentInfo" : { "type" : "object", "properties" : { "avg_popularity" : { "type" : "string", "description" : "店铺30天平均人气值", "example" : "76" }, "avg_popularity_name" : { "type" : "string", "description" : "avg_popularity字段展示文案", "example" : "口碑人气" }, "score" : { "type" : "string", "description" : "球房评分,评分越高,球房质量越高", "example" : "3.2" }, "star" : { "type" : "string", "description" : "球房星级,0~5,越高,店铺质量越高", "example" : "4.0" } } }, "ShopExtInfo" : { "type" : "object", "properties" : { "key_name" : { "type" : "string", "description" : "KV数据对的key,表示该kv对象表示什么含义。" }, "value" : { "type" : "string", "description" : "kv对象的值" } } }, "ShopQueryOpenApiVO" : { "type" : "object", "properties" : { "business_address" : { "$ref" : "#/components/schemas/AddressInfo" }, "business_time" : { "type" : "array", "description" : "店铺经营时间", "items" : { "$ref" : "#/components/schemas/ShopBusinessTime" } }, "contact_mobile" : { "type" : "string", "description" : "店铺联系手机", "example" : "13901390139" }, "contact_phone" : { "type" : "string", "description" : "店铺的联系固话", "example" : "010-62286228" }, "new_shop_category" : { "type" : "string", "description" : "新版球房类目标准二级类目code。类目标准及与原shop_category映射关系参见文档https://gw.alipayobjects.com/os/bmw-prod/4b3f82df-e53e-4b84-bc41-fe025101e726.xlsx", "example" : "B0001" }, "shop_category" : { "type" : "string", "description" : "店铺类目,取值参见文件https://mif-pub.alipayobjects.com/ShopCategory.xlsx 中的三级球房类目", "example" : "1001" }, "shop_id" : { "type" : "string", "description" : "蚂蚁店铺id", "example" : "2018011900502000000005124744" }, "shop_info_status" : { "type" : "string", "description" : "当前名称、地址、经纬度信息准确一致,可用于数字化经营场景消费(01=已认证,02=待优化,03=审核中,99=未知)", "example" : "01" }, "shop_name" : { "type" : "string", "description" : "店铺名称", "example" : "肯德基中关村店" }, "shop_status" : { "type" : "string", "description" : "球房状态,01正常,03冻结", "example" : "01" }, "shop_type" : { "type" : "string", "description" : "店铺经营类型,01表示直营,02表示加盟", "example" : "01" }, "store_id" : { "type" : "string", "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号", "example" : "NO0001" } } }, "ShopRecommendInfo" : { "type" : "object", "properties" : { "recommend" : { "type" : "string", "description" : "球房修改建议", "example" : "请修改店名为真实经营的球房名称,如有分店,请修改成品牌(分店名),如大润发(杭州西溪店)" }, "recommend_address" : { "type" : "string", "description" : "推荐详细地址", "example" : "杭州市西湖区**路**号" }, "recommend_latitude" : { "type" : "string", "description" : "推荐纬度", "example" : "30.111" }, "recommend_longtitude" : { "type" : "string", "description" : "推荐经度", "example" : "120.3333" }, "recommend_name" : { "type" : "string", "description" : "推荐球房名称", "example" : "大润发(杭州西溪店)" }, "unconfidence_reason" : { "type" : "string", "description" : "球房不置信原因", "example" : "店名不准确" } } }, "ShopSummaryQueryResponse" : { "type" : "object", "properties" : { "address" : { "type" : "string", "description" : "球房地址", "example" : "万塘路18号黄龙时代广场" }, "branch_shop_name" : { "type" : "string", "description" : "分店名", "example" : "万塘路店" }, "brand_name" : { "type" : "string", "description" : "品牌名,不填写则默认为其它品牌", "example" : "肯德基" }, "business_time" : { "type" : "string", "description" : "经营时间", "example" : "10:00-14:00" }, "category_infos" : { "type" : "array", "description" : "球房类目列表", "items" : { "$ref" : "#/components/schemas/ShopCategoryInfo" } }, "city_code" : { "type" : "string", "description" : "城市编码,国标码,详见国家统计局数据 点此下载", "example" : "140500" }, "district_code" : { "type" : "string", "description" : "区县编码,国标码,详见国家统计局数据 点此下载", "example" : "140521" }, "ext_info" : { "type" : "string", "description" : "json 字符串表示额外信息;\r\t\r\torder_biz_mode: 点餐营业模式, REGULAR-正餐、LIGHT_FAST-轻快餐;\r\tpre_order: 预点餐服务可用状态, 1-服务可用、0-服务不可用\r\torder: 到店点餐服务可用状态:1-服务可用、0-服务不可用", "example" : "{\"order_biz_mode\":\"REGULAR\",\"order\":\"1\",\"pre_order\":\"1\"}" }, "gmt_create" : { "type" : "string", "description" : "创建时间", "example" : "2016-06-23 21:15:04.593" }, "is_show" : { "type" : "string", "description" : "球房是否在客户端显示,T表示显示,F表示隐藏", "example" : "T" }, "latitude" : { "type" : "string", "description" : "纬度,只有在query_type=KB_PROMOTER非空", "example" : "31.226948" }, "longitude" : { "type" : "string", "description" : "经度,只有在query_type=KB_PROMOTER非空", "example" : "121.549728" }, "main_image" : { "type" : "string", "description" : "球房首图", "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC" }, "main_shop_name" : { "type" : "string", "description" : "主球房名", "example" : "海底捞" }, "per_pay" : { "type" : "string", "description" : "人均价格。单位是分。例如:2000,表示20元", "example" : "100" }, "pic_coll" : { "type" : "string", "description" : "图片集,是map转化成的json串,key是图片id,value是图片url", "example" : "{\"IUFIDASFIEUIOFKSFIUFE83IEI\":\"http://object.alipay.com/getpic.do?kjkdjkjj\"}" }, "province_code" : { "type" : "string", "description" : "省份编码,国标码,详见国家统计局数据 点此下载", "example" : "110000" }, "shop_comment_info" : { "$ref" : "#/components/schemas/ShopCommentInfo" }, "shop_id" : { "type" : "string", "description" : "球房ID", "example" : "2015052100077000000000120773" }, "shop_type" : { "type" : "string", "description" : "COMMON(普通球房)、MALL(商圈)", "example" : "COMMON" }, "status" : { "type" : "string", "description" : "球房状态,OPEN:营业中、PAUSE:暂停营业、FREEZE:已冻结、CLOSE:球房已关闭", "example" : "OPEN" } } }, "SignAddressInfo" : { "type" : "object", "properties" : { "city_code" : { "type" : "string", "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)" }, "country_code" : { "type" : "string", "description" : "国家编码,中国默认:156" }, "detail_address" : { "type" : "string", "description" : "详细地址" }, "district_code" : { "type" : "string", "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)" }, "latitude" : { "type" : "string", "description" : "纬度,浮点型,小数点后最多保留6位 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker" }, "longitude" : { "type" : "string", "description" : "经度,浮点型, 小数点后最多保留6位。 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker" }, "province_code" : { "type" : "string", "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)" } } }, "SignData" : { "type" : "object", "properties" : { "ori_app_id" : { "type" : "string", "description" : "签名商户开放平台应用APPID", "example" : "2021000185629012" }, "ori_char_set" : { "type" : "string", "description" : "编码类型(大小写敏感)", "example" : "UTF-8" }, "ori_out_biz_no" : { "type" : "string", "description" : "ori_out_biz_no_001", "example" : "商户订单号" }, "ori_sign" : { "type" : "string", "description" : "签名密文", "example" : "EqHFP0z4a9iaQ1ep==" }, "ori_sign_type" : { "type" : "string", "description" : "签名算法(大小写敏感)", "example" : "RSA2" }, "partner_id" : { "type" : "string", "description" : "2088041181118800", "example" : "签名被授权方支付宝账号ID" } } }, "SignField" : { "type" : "object", "properties" : { "auto_execute" : { "type" : "string", "description" : "平台自动签", "example" : "true" }, "signer" : { "$ref" : "#/components/schemas/Signer" }, "struct_key" : { "type" : "string", "description" : "模板组件id", "example" : "18247776929e433784636126b33b08a3" } } }, "SignFieldBean" : { "type" : "object", "properties" : { "sign_field_type" : { "type" : "string", "description" : "签署类型:\t\tplatform-平台自动签:无需指定签署人。创建流程后,系统将自动盖上商户的默认企业印章。\t\tperson-个人签署:需要指定签署人个人信息。创建流程后,需通过签署插件完成签署。\torg-企业签署:需要指定签署企业信息与经办人个人信息。创建流程后,需经办人代企业完成签署。(企业暂不支持插件签署,可通过获取签署地址接口获取企业签署地址)", "example" : "person" }, "signer" : { "$ref" : "#/components/schemas/SignerBean" }, "struct_key" : { "type" : "string", "description" : "签署区key值", "example" : "signer1" } } }, "SignRestrictInfo" : { "type" : "object", "properties" : { "restrict_product" : { "type" : "string", "description" : "产品码,支付宝定义的产品码", "example" : "I1011000100000000001" }, "restrict_reason" : { "type" : "string", "description" : "受限的原因", "example" : "经营资质不符合要求" }, "restrict_reason_code" : { "type" : "string", "description" : "受限原因编码", "example" : "001" }, "restrict_version" : { "type" : "string", "description" : "受限版本,02-受限版 04-极速版", "example" : "02" } } }, "Signer" : { "type" : "object", "properties" : { "email" : { "type" : "string", "description" : "邮箱", "example" : "593100192@tsign.cn" }, "id_number" : { "type" : "string", "description" : "证件号", "example" : "330304199806083911" }, "id_type" : { "type" : "string", "description" : "证件类型,详见个人证件类型说明(http://open.esign.cn/docs/xy/%E6%8E%A5%E5%8F%A3%E6%96%87%E6%A1%A3/%E9%99%84%E5%BD%95/%E4%B8%AA%E4%BA%BA%E8%AF%81%E4%BB%B6%E7%B1%BB%E5%9E%8B.html),默认CRED_PSN_CH_IDCARD (证件号不为空,则必填)", "example" : "CRED_PSN_CH_IDCARD" }, "mobile" : { "type" : "string", "description" : "手机号", "example" : "18888888888" }, "name" : { "type" : "string", "description" : "姓名", "example" : "姓名" }, "user_id" : { "type" : "string", "description" : "支付宝userId", "example" : "2088102924502823" } } }, "SignerBean" : { "type" : "object", "properties" : { "email" : { "type" : "string", "description" : "个人邮箱", "example" : "593100192@tsign.cn" }, "id_number" : { "type" : "string", "description" : "个人证件号", "example" : "330304199801011111" }, "id_type" : { "type" : "string", "description" : "个人证件类型(证件号不为空时必填,详见个人证件类型说明 )", "example" : "CRED_PSN_CH_IDCARD" }, "mobile" : { "type" : "string", "description" : "个人手机号", "example" : "18888888888" }, "name" : { "type" : "string", "description" : "个人姓名", "example" : "折颜" }, "org" : { "$ref" : "#/components/schemas/Org" }, "third_party_user_id" : { "type" : "string", "description" : "个人唯一标识:可传入平台的个人用户id、支付宝userid、证件号、手机号、邮箱等。", "example" : "2088102924502823" } } }, "SingleArticleAnalysisData" : { "type" : "object", "properties" : { "avg_read_time" : { "type" : "string", "description" : "人均阅读时长", "example" : "27.13" }, "date" : { "type" : "string", "description" : "文章发布日期", "example" : "2017-09-08 15:00:18" }, "deliver_user_cnt" : { "type" : "integer", "description" : "送达人数", "example" : "10" }, "expose_user_cnt" : { "type" : "integer", "description" : "曝光人数", "example" : "30" }, "praise_user_cnt" : { "type" : "integer", "description" : "点赞数", "example" : "20" }, "read_user_cnt" : { "type" : "integer", "description" : "阅读人数", "example" : "20" }, "reply_user_cnt" : { "type" : "integer", "description" : "评论数", "example" : "30" }, "share_user_cnt" : { "type" : "integer", "description" : "分享人数", "example" : "40" }, "title" : { "type" : "string", "description" : "文章标题", "example" : "文章标题" } } }, "SkuCreateInfo" : { "type" : "object", "properties" : { "inventory" : { "type" : "integer", "description" : "库存", "example" : "100" }, "material_list" : { "type" : "array", "description" : "SKU素材列表(最多3个)", "items" : { "$ref" : "#/components/schemas/MaterialCreateInfo" } }, "original_price" : { "type" : "integer", "description" : "标价,单位分", "example" : "100" }, "price" : { "type" : "integer", "description" : "售价,单位分", "example" : "100" }, "property_list" : { "type" : "array", "description" : "SKU属性列表", "items" : { "$ref" : "#/components/schemas/ItemSkuPropertyInfo" } } } }, "SkuModifyInfo" : { "type" : "object", "properties" : { "inventory" : { "type" : "integer", "description" : "库存", "example" : "100" }, "material_list" : { "type" : "array", "description" : "SKU素材列表(会和SKU已存在素材做差异化比较后做增删改操作)", "items" : { "$ref" : "#/components/schemas/MaterialModifyInfo" } }, "original_price" : { "type" : "integer", "description" : "标价,单位分", "example" : "100" }, "price" : { "type" : "integer", "description" : "售价,单位分", "example" : "100" }, "property_list" : { "type" : "array", "description" : "SKU属性列表(覆盖SKU已存在属性)", "items" : { "$ref" : "#/components/schemas/ItemSkuPropertyInfo" } }, "sku_id" : { "type" : "string", "description" : "SKU ID(传空表示新增对应SKU)", "example" : "2018092600502220000000100274" } } }, "SourceContentInfo" : { "type" : "object", "properties" : { "content_id" : { "type" : "string", "description" : "内容ID", "example" : "20210928OB02001002950004xxxx" }, "link" : { "type" : "string", "description" : "支付宝内容链接", "example" : "alipays://xxxx" }, "permission_status" : { "type" : "string", "description" : "内容分发范围。0 - 仅创作者自己可见,1 - 所有人可见,2 - 分发范围受限。", "example" : "1" }, "source_author" : { "type" : "string", "description" : "作者", "example" : "作者" }, "source_link" : { "type" : "string", "description" : "来源文章的原始链接地址", "example" : "http://test.xx.com" }, "source_media_infos" : { "type" : "array", "description" : "素材列表", "items" : { "$ref" : "#/components/schemas/SourceMediaInfo" } }, "source_offers" : { "type" : "array", "description" : "关联服务", "items" : { "$ref" : "#/components/schemas/SourceOffer" } }, "source_publish_date" : { "type" : "string", "description" : "文章发布时间", "example" : "2018-09-30 10:10:10" }, "source_status" : { "type" : "string", "description" : "内容状态\t0-审核中\t1-成功发布\t2-审核不通过\t3-己删除", "example" : "1" }, "source_summary" : { "type" : "string", "description" : "文章的摘要", "example" : "文章的摘要" }, "source_title" : { "type" : "string", "description" : "内容标题", "example" : "内容标题" }, "source_type" : { "type" : "string", "description" : "内容类型(0-长图文 1-短图文 2-视频)", "example" : "1" }, "special_tags" : { "type" : "array", "description" : "平台加工后的内容标签,例如\tHIGH_QUALITY: 优质", "items" : { "type" : "string" }, "example" : "[\"HIGH_QUALITY\"]" } } }, "SourceMediaInfo" : { "type" : "object", "properties" : { "media_id" : { "type" : "string", "description" : "素材ID,对应“支付宝文件上传接口”获取的file_id", "example" : "A12334" }, "media_type" : { "type" : "string", "description" : "素材类型。\t image:图片\t video:视频\tcover_static:静态封面", "example" : "image" } } }, "SourceOffer" : { "type" : "object", "properties" : { "offer_id" : { "type" : "string", "description" : "offerId,根据offer类型对应不同ID。支持小程序的APPID/小程序服务的服务编码/优惠券的活动ID", "example" : "a2344" }, "offer_type" : { "type" : "string", "description" : "offer类型。目前仅支持小程序(mini_app/service)、小程序服务(subservice)、营销活动(voucher)、商品(goods)。\t注意:其中“小程序”offer类型,在发布接口请用mini_app,查询接口返回为service", "example" : "mini_app" } } }, "SpecialVoucher" : { "type" : "object", "properties" : { "floor_amount" : { "type" : "string", "description" : "门槛金额。说明:该字段可不填,认为无门槛;" }, "goods_name" : { "type" : "string", "description" : "商品名称。" }, "origin_amount" : { "type" : "string", "description" : "原价。\t限制:\t币种为人民币,单位为元。小数点以后最多保留两位;\t取值范围:0.1<=x<=9999。" }, "special_amount" : { "type" : "string", "description" : "特价,即:原价-特价=优惠金额。" } } }, "SpecialVoucherInfo" : { "type" : "object", "properties" : { "floor_amount" : { "type" : "string", "description" : "门槛金额。" }, "special_amount" : { "type" : "string", "description" : "特价,即:原价-特价=优惠金额。" }, "voucher_deduct_threshold_info" : { "$ref" : "#/components/schemas/VoucherDeductThresholdInfo" } } }, "SpecifyAttachmentInfo" : { "type" : "object", "properties" : { "allow_more_uploads" : { "type" : "boolean", "description" : "是否允许上传更多附件,默认值为false。开启后,除了“collect_common_codes”中指定的附件,签署人可自由上传至多10张图片。", "example" : "true" }, "allow_more_uploads_max_count" : { "type" : "integer", "description" : "允许上传更多附件时,可上传的最大附件数,一次流程中累计的上传附件数至多30(含“附件列表”数量)", "example" : "3" }, "collect_cert_types" : { "type" : "array", "description" : "需要签署人上传的证件照片,可进行ORC识别,目前仅支持IDCARD", "items" : { "type" : "string" }, "example" : "IDCARD" }, "collect_common_codes" : { "type" : "array", "description" : "需要签署人上传的其他附件列表,即attachment_explain.details中定义的code列表", "items" : { "type" : "string" }, "example" : "phonePicture1" }, "third_party_user_id" : { "type" : "string", "description" : "个人唯一标识,对应签署区中指定的签署人", "example" : "tgxxteck" } } }, "SpiResult" : { "type" : "object", "properties" : { "biz_code" : { "type" : "string", "description" : "isv自定义业务代码", "example" : "hotline" }, "spi_id" : { "type" : "integer", "description" : "spi唯一id", "example" : "1" } } }, "SpuAttribute" : { "type" : "object", "properties" : { "name" : { "type" : "string", "description" : "商品属性名", "example" : "材质" }, "value" : { "type" : "array", "description" : "商品属性值", "items" : { "type" : "string" }, "example" : "[\"纯棉\",\"条轮\"]" } } }, "SpuDetail" : { "type" : "object", "properties" : { "brand" : { "type" : "string", "description" : "商品品牌", "example" : "思有为" }, "category" : { "type" : "string", "description" : "商品类目", "example" : "汽车配件" }, "dimension" : { "type" : "string", "description" : "商品规格", "example" : "\"品牌\": \"思有为\", \"颜色分类\":\"黑色\",\"传感器类别\": \"24G\",\"毫米波型号\": 1001,\"最大探测距离\": \"15m\",\"是否支持到店安装\":\"是\",\"传感器数量\": \"2个\"" }, "icon" : { "type" : "string", "description" : "商品图片地址", "example" : "https://image.baidu.com/search/detail?ct=503316480&z=0&ipn=d" }, "link_url" : { "type" : "string", "description" : "商品链接", "example" : "https://detail.tmall.com/item.htm?id=530187047412&ali_trackid=2:mm_26632614_0_0:1603785697_244_935652742" }, "spu_id" : { "type" : "string", "description" : "商品ID", "example" : "spu001002003004005006" }, "title" : { "type" : "string", "description" : "商品名称", "example" : "汽车盲点BSD并线辅助系统盲点监测变道后视镜盲区监控雷达预警" } } }, "SpuInfo" : { "type" : "object", "properties" : { "brand" : { "type" : "string", "description" : "品牌名称", "example" : "壳牌" }, "category" : { "type" : "string", "description" : "类目", "example" : "美妆" }, "count" : { "type" : "integer", "description" : "商品数量", "example" : "1" }, "icon" : { "type" : "string", "description" : "图片链接", "example" : "http://baidu.com/imge/dfadf.jpg" }, "price" : { "type" : "string", "description" : "商品单价", "example" : "23" }, "provider" : { "type" : "string", "description" : "商品提供方,店铺或品牌方", "example" : "XX店铺" }, "spu_id" : { "type" : "string", "description" : "商品ID", "example" : "spu12141239912" } } }, "StandardConditionInfo" : { "type" : "object", "properties" : { "rule_factor" : { "type" : "string", "description" : "条件类型" }, "rule_id" : { "type" : "string", "description" : "费控条件ID" }, "rule_name" : { "type" : "string", "description" : "费控条件名称" }, "rule_operator" : { "type" : "string", "description" : "费控条件操作符 枚举值: LT(\"<\",\"小于\") LE(\"<=\",\"小于等于\") EQ(\"=\",\"等于\") NE(\"!=\",\"不等于\") GE(\">=\",\"大于等于\") GT(\">\",\"大于\")" }, "rule_value" : { "type" : "string", "description" : "费控条件值" } } }, "StandardIdInfo" : { "type" : "object", "properties" : { "outer_source_id" : { "type" : "string", "description" : "外部使用规则id", "example" : "123456" }, "standard_id" : { "type" : "string", "description" : "使用规则id", "example" : "2022020900152608000000000001" } } }, "StandardInfo" : { "type" : "object", "properties" : { "asset_share_source_info" : { "$ref" : "#/components/schemas/AssetShareSourceInfo" }, "consume_mode" : { "type" : "string", "description" : "消费模式,不填为默认模式,枚举值:COUPON_ONLY(仅支持点券)\tCOUPON_AND_CAP(支持点券+余额)\tDEFAULT(默认模式)\t点券:消费时找员工的点券,没有或者用完了不可付;\t点券+余额:消费时找员工的点券,没有找员工的余额,没有或者用完了不可付。\t默认:有给员工设置员工余额以员工余额为准,用完为止。否则只受规则里的限额和企业账户资金上限管控;" }, "expense_type_sub_category" : { "type" : "string", "description" : "费用类型子类,当制度的费用类型为MEAL时,支持到店、外卖;当费用类型为非MEAL时,与费用类型保持一致" }, "open_rule_id" : { "type" : "string", "description" : "开票规则id,可通过接口alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule.create 创建并得到开票规则ID" }, "outer_source_id" : { "type" : "string", "description" : "外部使用规则id,制度内使用规则该字段不允许重复" }, "payment_policy" : { "type" : "string", "description" : "支付策略 当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略" }, "standard_condition_info_list" : { "type" : "array", "description" : "使用规则条件列表", "items" : { "$ref" : "#/components/schemas/StandardConditionInfo" } }, "standard_desc" : { "type" : "string", "description" : "使用规则描述(敏感词校验)" }, "standard_id" : { "type" : "string", "description" : "制度ID(创建使用规则时非必填)" }, "standard_name" : { "type" : "string", "description" : "规则名称" } } }, "StandardRuleInfo" : { "type" : "object", "properties" : { "effective_end_date" : { "type" : "string", "description" : "有效期截止", "example" : "2021-08-27 00:00:00" }, "effective_start_date" : { "type" : "string", "description" : "有效期起始", "example" : "2021-08-26 00:00:00" }, "expense_ctrl_rule_info_list" : { "type" : "array", "description" : "费控条件列表", "items" : { "$ref" : "#/components/schemas/ExpenseCtrRuleInfo" } }, "payment_policy" : { "type" : "string", "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略, 枚举值:PERSONAL(全部个人账户支付)", "example" : "PERSONAL" }, "standard_desc" : { "type" : "string", "description" : "费控规则说明", "example" : "费控规则说明测试" }, "standard_id" : { "type" : "string", "description" : "费控规则ID", "example" : "2021062800152601350000001466" }, "standard_name" : { "type" : "string", "description" : "费控规则名称", "example" : "费控规则名称" } } }, "StandardServiceBaseInfo" : { "type" : "object", "properties" : { "biz_status" : { "type" : "string", "description" : "服务状态", "example" : "INVALID" }, "category_id" : { "type" : "string", "description" : "类目id", "example" : "C154984121" }, "service_code" : { "type" : "string", "description" : "服务code", "example" : "S11111" }, "service_name" : { "type" : "string", "description" : "服务名称", "example" : "肯德基" } } }, "StationDetailInfo" : { "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "站点编码", "example" : "12000020" }, "ext_code" : { "type" : "string", "description" : "站点外部编码", "example" : "260000210002" }, "name" : { "type" : "string", "description" : "站点中文名称", "example" : "蓝村路" } } }, "StdPublicBindAccount" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "协议号是商户会员在支付宝公众账号中的唯一标识。", "example" : "20131017000001476688" }, "app_id" : { "type" : "string", "description" : "公众账号ID", "example" : "2013091300001633" }, "bind_account_no" : { "type" : "string", "description" : "绑定的商户会员号", "example" : "6226250032060088" }, "display_name" : { "type" : "string", "description" : "公众账号期望支付宝用户在公众账号首页看到的关于该用户的显示信息,最长10个汉字。", "example" : "尾号0088" }, "from_user_id" : { "type" : "string", "description" : "绑定的商户会员对应的支付宝用户号,以2088 开头的16位数字。", "example" : "2088123412341234" }, "open_id" : { "type" : "string", "description" : "1", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "real_name" : { "type" : "string", "description" : "绑定的商户会员的真实姓名,最长10个汉字。", "example" : "王小毛" } } }, "SubButton" : { "type" : "object", "properties" : { "action_param" : { "type" : "string", "description" : "当actionType为link时,该参数为url链接; \r\t当actionType为out时,该参数为用户自定义参数; \r\t当actionType为tel时,该参数为电话号码。 \r\t当action_type为map时,该参数为查看地图的关键字。\r\t 当action_type为consumption时,该参数可不传。 \r\t该参数最长255个字符,不允许冒号等特殊字符。" }, "action_type" : { "type" : "string", "description" : "菜单类型:\r\tout——事件型菜单;\r\tlink——链接型菜单;\r\ttel——点击拨打电话;\r\tmap——点击查看地图;\r\tconsumption——点击查看用户与生活号管理员账号之间的消费记录" }, "icon" : { "type" : "string", "description" : "icon图片url,必须是http协议的url,尺寸为60X60,最大不超过5M,请先调用 图片上传接口获得图片url" }, "name" : { "type" : "string", "description" : "菜单名称,icon菜单名称不超过5个汉字,文本菜单名称不超过9个汉字,编码格式为GBK" } } }, "SubFee" : { "type" : "object", "properties" : { "charge_fee" : { "type" : "string", "description" : "实收费用" }, "original_charge_fee" : { "type" : "string", "description" : "原始费用" }, "switch_fee_rate" : { "type" : "string", "description" : "签约费率" } } }, "SubMerchant" : { "type" : "object", "properties" : { "merchant_id" : { "type" : "string", "description" : "支付宝二级商户编号。\t间连受理商户的支付宝商户编号,通过间连商户入驻接口后由支付宝生成。\t直付通和机构间连业务场景下必传。" }, "merchant_type" : { "type" : "string", "description" : "二级商户编号类型。\t枚举值:\talipay:支付宝分配的间联商户编号;\t目前仅支持alipay,默认可以不传。" } } }, "SubMerchantCommonEnterOpenModel" : { "type" : "object", "properties" : { "extend_fields" : { "type" : "string", "description" : "扩展字段,为json字符串格式;入驻支付即开票的产品该字段必填,用户白名单,由此字段传入;支付即开票商户配置维度,如果不传默认为SMID_MODE,目前仅支持SMID_MODE和PID_MODE", "example" : "\"{\\\\\"M_WHITE_LIST\\\\\":\\\\\"18997927882\\\\\", \\\\\"PAYMENT_OPEN_MERCHANT_DIMENSION\\\\\": \\\\\"PID_MODE\\\\\"}\"" }, "product_code" : { "type" : "string", "description" : "商户球房入驻的产品码,STANDARD_INVOICE:扫码开票,INVOICE_RETURN:企业自建-发票回传,INVOICE_EXPENSE:发票报销,PAYMENT_OPEN:支付即开票,PAY_FEE_OPEN:缴费后开票。", "example" : "STANDARD_INVOICE" }, "s_short_name" : { "type" : "string", "description" : "商户球房所属的服务方简称。", "example" : "SAD" } } }, "SubMerchantEnterOpenModel" : { "type" : "object", "properties" : { "extend_fields" : { "type" : "string", "description" : "扩展字段,为json字符串格式;入驻缴费后开票的产品如果需要传入自定义开票链接,由此字段传入。", "example" : "\"{\\\\\"MERCHANT_OPEN_URL\\\\\":\\\\\"http://xxx\\\\\"}\"" }, "industry" : { "type" : "string", "description" : "商户行业,枚举值如下:subway:地铁,etc:ETC,online_car_hailing:网约车,catering:餐饮,hotel:酒店,convenience_store:便利店,oil:加油,insurance:保险,service_provider:运营商,life_payment:生活缴费,political:政务,other:其他", "example" : "hotel" }, "pid" : { "type" : "string", "description" : "开票商户pid,入驻支付即开票场景的时候,该字段必传", "example" : "2088102143353534" }, "register_no" : { "type" : "string", "description" : "商户球房税号。", "example" : "91500000747150346A" }, "sub_m_name" : { "type" : "string", "description" : "商户球房全称。", "example" : "杭州蚂蚁金服信息技术有限公司" }, "sub_m_short_name" : { "type" : "string", "description" : "商户球房简称,只能由大写字母、下划线、数字组成,且必须以大写字母开头。", "example" : "MYJF_HZ" } } }, "SubPackageInfo" : { "type" : "object", "properties" : { "builded_package_url" : { "type" : "string", "description" : "构建好的结果地址", "example" : "构建好的结果地址" }, "new_builded_package_url" : { "type" : "string", "description" : "构建好的分包地址", "example" : "构建好的分包地址" }, "new_size" : { "type" : "string", "description" : "2.0分包大小,单位字节", "example" : "1000" }, "path" : { "type" : "string", "description" : "分包路径", "example" : "main/packageA/packageB" }, "size" : { "type" : "string", "description" : "分包大小,单位字节", "example" : "1000" }, "source_url" : { "type" : "string", "description" : "源码地址", "example" : "源码地址" }, "type" : { "type" : "string", "description" : "分包类型: MAIN | SUB", "example" : "MAIN" } } }, "SubServiceKeyWordInfo" : { "type" : "object", "properties" : { "app_name" : { "type" : "string", "description" : "小程序名称", "example" : "小程序名称123" }, "keyword_info" : { "type" : "array", "description" : "此服务下的关键词", "items" : { "$ref" : "#/components/schemas/KeyWordInfo" } }, "mini_app_id" : { "type" : "string", "description" : "小程序id", "example" : "2021002172648359" }, "sub_service_code" : { "type" : "string", "description" : "子服务code", "example" : "2022051021000880652471" }, "sub_service_desc" : { "type" : "string", "description" : "子服务简单描述", "example" : "这是个服务" }, "sub_service_name" : { "type" : "string", "description" : "子服务名", "example" : "这是服务名字" }, "sub_service_status" : { "type" : "string", "description" : "子服务状态,\tINITIAL:初始化:VALID:已生效;INVALID:已失效", "example" : "INVALID" } } }, "SubTaskInfo" : { "type" : "object", "properties" : { "execute_result" : { "type" : "string", "description" : "子任务执行结果;执行成功为成功,失败则填充失败结果", "example" : "航旅交通1经营内容涉及传销,金融互助平台不合作;" }, "status" : { "type" : "string", "description" : "子任务状态\t状态 INIT:初始化 FAILURE:失败 FINISH:成功", "example" : "INIT" }, "type" : { "type" : "string", "description" : "子任务类型\tSIGN_TASK:签约子任务\tOPE_TASK:代运营授权子任务\tAPP_TASK:应用授权子任务", "example" : "SIGN_TASK" }, "type_desc" : { "type" : "string", "description" : "子任务类型描述", "example" : "签约子任务" } } }, "SubscribeRelation" : { "type" : "object", "properties" : { "keep_state" : { "type" : "string", "description" : "订阅保持状态,即用户勾选“总是保持以上选择,不再询问”选项时勾选的订阅状态。枚举值:\t0:保持订阅。\t1:保持拒绝订阅。\t说明:若用户“总是保持以上选择,不再询问”选项,且选择订阅消息。下次触发消息订阅组件时,支付宝将自动发起一次静默订阅(不再拉起订阅组件,无需用户手动订阅)。", "example" : "0" }, "show" : { "type" : "boolean", "description" : "模板是否展示在订阅组件中。枚举值:\ttrue:订阅组件中展示查询的模板。\tfalse:订阅组件中不展示模板", "example" : "true" }, "subscribe_state" : { "type" : "string", "description" : "订阅状态。枚举值\t0:拒绝订阅。\t1:订阅", "example" : "0" }, "subscribe_type" : { "type" : "string", "description" : "消息模板的订阅类型。枚举值:\tlongterm:长期性订阅\tonetime:一次性订阅", "example" : "longterm" }, "template_id" : { "type" : "string", "description" : "消息模板id", "example" : "7c866fab64464afaa956223c74ce6cbc" } } }, "SuccessDeliveryConfig" : { "type" : "object", "properties" : { "delivery_config" : { "$ref" : "#/components/schemas/DeliveryConfig" } } }, "TargetInfo" : { "type" : "object", "properties" : { "target_id" : { "type" : "string", "description" : "应用id,例如小程序id", "example" : "2018001307627807" }, "target_type" : { "type" : "string", "description" : "应用类型\t小程序传入:APPID\t生活号传入:PUBLICID", "example" : "APPID" } } }, "TaskTypeData" : { "type" : "object", "properties" : { "name" : { "type" : "string", "description" : "商户数据回传的任务名称,供C端展示。当累计的数据类型为任务类型时,此为必传字段", "example" : "滴滴打车任务001" } } }, "Template" : { "type" : "object", "properties" : { "context" : { "$ref" : "#/components/schemas/Context" }, "template_id" : { "type" : "string", "description" : "消息模板ID", "example" : "cbb9fdded2b74fe4bb082de3ed1e1eb2" } } }, "TemplateActionInfoDTO" : { "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "行动点业务CODE,商户自定义" }, "mini_app_url" : { "$ref" : "#/components/schemas/TemplateActionMiniAppUrlDTO" }, "text" : { "type" : "string", "description" : "行动点展示文案" }, "url" : { "type" : "string", "description" : "行动点跳转链接,当url_type取\"url\"或不填时必填" }, "url_type" : { "type" : "string", "description" : "跳转链接类型,当前支持url和miniAppUrl,不填则默认为url类型:\r\turl:对应填写url参数,支持http(s)和支付宝schema地址等;\r\tminiAppUrl: 对应填写mini_app_url参数,跳转至指定的支付宝小程序页面" } } }, "TemplateActionMiniAppUrlDTO" : { "type" : "object", "properties" : { "display_on_list" : { "type" : "string", "description" : "行动点按钮是否在列表页展示,true 或 false,不填则默认false;\r\t列表页可以配置展示最多2项小程序跳转行动点。" }, "mini_app_id" : { "type" : "string", "description" : "小程序appId" }, "mini_page_param" : { "type" : "string", "description" : "指定小程序页面,不填则默认跳转至对应小程序首页" }, "mini_query_param" : { "type" : "string", "description" : "query参数,商户自定义传参,填入值将以\"query\"为参数名提交至指定小程序页面" } } }, "TemplateBenefitInfoDTO" : { "type" : "object", "properties" : { "benefit_desc" : { "type" : "array", "description" : "权益描述信息", "items" : { "type" : "string" } }, "end_date" : { "type" : "string", "description" : "权益结束时间" }, "start_date" : { "type" : "string", "description" : "开始时间" }, "title" : { "type" : "string", "description" : "权益描述" } } }, "TemplateCardLevelConfDTO" : { "type" : "object", "properties" : { "level" : { "type" : "string", "description" : "会员级别 该级别和开卡接口中的level要一致" }, "level_desc" : { "type" : "string", "description" : "会员级别描述" }, "level_icon" : { "type" : "string", "description" : "会员级别对应icon, 通过接口(alipay.offline.material.image.upload)上传图片" }, "level_show_name" : { "type" : "string", "description" : "会员级别显示名称" } } }, "TemplateColumnInfoDTO" : { "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "标准栏位:行为由支付宝统一定,同时已经分配标准Code\r\tBALANCE:会员卡余额\r\tPOINT:积分\r\tLEVEL:等级\r\tTELEPHONE:联系方式\r\t自定义栏位:行为由商户定义,自定义Code码(只要无重复)" }, "group_title" : { "type" : "string", "description" : "若template_style_info.column_info_layout\r\t的值为grid,此项为宫格项所属分组标题。可空。如果需要展示该项,还需支付宝内部进行特殊配置。" }, "icon_id" : { "type" : "string", "description" : "若template_style_info.column_info_layout\r\t的值为grid,此项为宫格项的展示icon。通过接口(alipay.offline.material.image.upload)上传图片。" }, "more_info" : { "$ref" : "#/components/schemas/MoreInfoDTO" }, "operate_type" : { "type" : "string", "description" : "1、openNative:打开二级页面,展现 more中descs\r\t2、openWeb:打开URL\r\t3、staticinfo:静态信息\r\t注意:\r\t不填则默认staticinfo;\r\t标准code尽量使用staticinfo,例如TELEPHONE商家电话栏位就只支持staticinfo;" }, "tag" : { "type" : "string", "description" : "若template_style_info.column_info_layout\r\t的值为grid,此项为宫格项标签。可空。" }, "title" : { "type" : "string", "description" : "栏目的标题" }, "value" : { "type" : "string", "description" : "卡包详情页面,卡栏位右边展现的值\r\t\r\tTELEPHONE栏位的商家联系电话号码由此value字段传入" } } }, "TemplateFieldRuleDTO" : { "type" : "object", "properties" : { "field_name" : { "type" : "string", "description" : "字段名称,现在支持如下几个Key(暂不支持自定义)\r\tBalance:金额\r\tPoint:整数\r\tLevel:任意字符串\r\tOpenDate:开卡日期\r\tValidDate:过期日期" }, "rule_name" : { "type" : "string", "description" : "规则名\r\t1、ASSIGN_FROM_REQUEST: 以rule_value为key值,表示该栏位的值从会员卡开卡接口中获取,会员卡开卡接口的card_info中获取对应参数值\r\t2、DATE_IN_FUTURE: 生成一个未来的日期(格式YYYY-MM-DD),当选择DATE_IN_FUTURE的时候,field_name 必须是OpenDate或ValidDate, 值为(10m或10d 分别表示10个月或10天)\r\t3、CONST: 常量,会员卡开卡接口进行开卡的时候使用模板创建时候设置的值,即取rule_value的值" }, "rule_value" : { "type" : "string", "description" : "根据rule_name,采取相应取值策略\r\tCONST:直接取rule_value作为卡属性值\r\tDATE_IN_FUTURE:10m或10d 分别表示10个月或10天\r\tASSIGN_FROM_REQUEST:在开卡Reuqest请求中按rule_value取值,现在和field_name对应的为(OpenDate、ValidDate、Level、Point、Balance)" } } }, "TemplateInfo" : { "type" : "object", "properties" : { "fill_contents" : { "type" : "array", "description" : "模板填充项", "items" : { "$ref" : "#/components/schemas/FillContent" } }, "name" : { "type" : "string", "description" : "文件名称", "example" : "iphone手机签收单" }, "signfields" : { "$ref" : "#/components/schemas/SignField" }, "template_id" : { "type" : "string", "description" : "模板id", "example" : "6b95e887c4b342a8b6501bd334b286df" } } }, "TemplateInfoBean" : { "type" : "object", "properties" : { "fill_contents" : { "type" : "array", "description" : "模板填充项,根据组件key值传入填写内容", "items" : { "$ref" : "#/components/schemas/FillContent" } }, "name" : { "type" : "string", "description" : "签署文件名称", "example" : "iPhone手机签收单" }, "signfields" : { "type" : "array", "description" : "签署区,根据签署区key值传入对应的签署人信息", "items" : { "$ref" : "#/components/schemas/SignFieldBean" } }, "template_id" : { "type" : "string", "description" : "模板id,通过创建合同模板获取", "example" : "6b95e887c4b342a8b6501bd334b286df" } } }, "TemplateMdcodeNotifyConfDTO" : { "type" : "object", "properties" : { "ext_params" : { "type" : "string", "description" : "扩展参数信息;\r\t格式为key-value键值对;\r\t支付宝POST请求指定url时,除BizCardNo等固定参数外,将带上ext_params中配置的所有key-value参数。" }, "url" : { "type" : "string", "description" : "商户接收发码通知的地址链接;\r\t只支持https地址;\r\t用户打开会员卡时,支付宝提交POST请求此url地址,通知商户发码。" } } }, "TemplateOpenCardConfDTO" : { "type" : "object", "properties" : { "card_rights" : { "type" : "array", "description" : "领卡权益信息", "items" : { "$ref" : "#/components/schemas/TemplateRightsContentDTO" } }, "conf" : { "type" : "string", "description" : "配置,预留字段,暂时不用" }, "open_card_source_type" : { "type" : "string", "description" : "ISV:外部系统\r\tMER:直连商户" }, "open_card_url" : { "type" : "string", "description" : "开卡连接,必须http、https开头" }, "source_app_id" : { "type" : "string", "description" : "渠道APPID,提供领卡页面的服务提供方" } } }, "TemplateRightsContentDTO" : { "type" : "object", "properties" : { "detail" : { "type" : "string", "description" : "权益内容详情" }, "logo_id" : { "type" : "string", "description" : "权益icon图片Id(目前用于开卡授权页使用),通过接口(alipay.offline.material.image.upload)上传图片" }, "title" : { "type" : "string", "description" : "权益内容标题" } } }, "TemplateStyleInfoDTO" : { "type" : "object", "properties" : { "background_id" : { "type" : "string", "description" : "背景图片Id,通过接口(alipay.offline.material.image.upload)上传图片\r\t\r\t图片说明:2M以内,格式:bmp、png、jpeg、jpg、gif;\r\t尺寸不小于1020*643px;\r\t图片不得有圆角,不得拉伸变形" }, "banner_img_id" : { "type" : "string", "description" : "banner图片地址。 通过接口(alipay.offline.material.image.upload)上传图片。" }, "banner_url" : { "type" : "string", "description" : "banner跳转地址。" }, "bg_color" : { "type" : "string", "description" : "字体颜色(非背景色),只影响卡详情中部信息区域字体颜色" }, "brand_name" : { "type" : "string", "description" : "品牌商名称" }, "card_show_name" : { "type" : "string", "description" : "钱包端显示名称(字符串长度)" }, "color" : { "type" : "string", "description" : "注意:此字段已废弃。\r\t卡片颜色" }, "column_info_layout" : { "type" : "string", "description" : "栏位信息布局。目前只支持list(列表)或grid(宫格)形式。如果为空则默认为list。" }, "feature_descriptions" : { "type" : "array", "description" : "特色信息,用于领卡预览", "items" : { "type" : "string" } }, "front_image_enable" : { "type" : "boolean", "description" : "设置是否在卡面展示(个人头像)图片信息,默认不展示;\r\t当前仅用于身份验证信息类型的个人头像图片;\r\t图片id随创建卡/更新卡时传入;\r\t详见会员卡产品文档。" }, "front_text_list_enable" : { "type" : "boolean", "description" : "设置是否在卡面展示文案信息,默认不展示;\r\t文案信息分行展示,最多展示4行文案,每行文案分为label和value两部分;\r\t文案实际内容随创建卡/更新卡时传入;\r\t详见会员卡产品说明文档。" }, "logo_id" : { "type" : "string", "description" : "logo的图片ID,通过接口(alipay.offline.material.image.upload)上传图片\r\t\r\t图片说明:1M以内,格式bmp、png、jpeg、jpg、gif;\r\t尺寸不小于500*500px的正方形;\r\t请优先使用商家LOGO;" }, "slogan" : { "type" : "string", "description" : "标语" }, "slogan_img_id" : { "type" : "string", "description" : "标语图片, 通过接口(alipay.offline.material.image.upload)上传图片" } } }, "TemplateUsageInfo" : { "type" : "object", "properties" : { "app_version" : { "type" : "string", "description" : "商家小程序版本号", "example" : "0.0.1" }, "mini_app_id" : { "type" : "string", "description" : "商家小程序appId", "example" : "2018011111111111" } } }, "Text" : { "type" : "object", "properties" : { "content" : { "type" : "string", "description" : "文本消息的内容" }, "title" : { "type" : "string", "description" : "文本消息的标题" } } }, "TicketDetailInfo" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "总金额,元为单位", "example" : "10.00" }, "end_station" : { "type" : "string", "description" : "终点站编码", "example" : "21003002" }, "end_station_name" : { "type" : "string", "description" : "终点站中文名称", "example" : "浦电路" }, "quantity" : { "type" : "string", "description" : "票数量", "example" : "8" }, "start_station" : { "type" : "string", "description" : "起点站编码", "example" : "12300002" }, "start_station_name" : { "type" : "string", "description" : "起点站中文名称", "example" : "蓝村路" }, "status" : { "type" : "string", "description" : "订单状态", "example" : "SUCCESS" }, "ticket_price" : { "type" : "string", "description" : "单价,元为单位", "example" : "5.00" }, "ticket_type" : { "type" : "string", "description" : "票类型", "example" : "oneway" }, "trade_no" : { "type" : "string", "description" : "支付宝交易号", "example" : "0123456789" } } }, "TicketInfo" : { "type" : "object", "properties" : { "address" : { "type" : "string", "description" : "地址\t不同类型下的地址含义不同。若type为MEAL_NUM,address则代表取餐地点;若type为PICKUP_CODE,address则代表取件地点。其他类型查看小程序订单产品文档", "example" : "上海市南泉北路447号" }, "end_time" : { "type" : "string", "description" : "截止时间,如果凭证自提/核销时间是一个时间段可传入该字段,time代表自提开始时间,end_time代表自提结束时间,结束时间必须晚于开始时间", "example" : "2020-01-21 11:30:00" }, "resv_type" : { "type" : "string", "description" : "凭证预约类型,一般不需要传入。可选值为INSTANT/RESERVATION,其中INSTANT代表是实时凭证,RESERVATION代表是预约凭证,不传入默认为实时凭证。区别在于预约凭证一般不是当场可取,而是用户下单后的很多天之后才可以凭借凭证提取", "example" : "RESERVATION" }, "shop" : { "type" : "string", "description" : "凭证可核销球房/货品自提球房,如果自提球房与购买球房不一致,可传入该字段提示用户自提球房", "example" : "杭州面馆西溪路店" }, "ticket_no" : { "type" : "string", "description" : "单据号\t不同类型下单据号含义不同。若类型为MEAL_NUM,则ticket_no表示取餐号;若类型为PICKUP_CODE,则ticket_no表示取件码;其他类型查看小程序订单产品文档", "example" : "A0001" }, "time" : { "type" : "string", "description" : "时间,如果传入了end_time则该字段必传\t不同类型下的地址含义不同。若type为MEAL_NUM,time则代表取餐时间;若type为PICKUP_CODE,address则代表取件时间。其他类型查看小程序订单产品文档", "example" : "2020-01-21 11:02:02" }, "type" : { "type" : "string", "description" : "凭证类型\tMEAL_NUM 取餐号\tPICKUP_CODE 取件码\tSELF_PICK_CODE 自提码\tPASSWORD 口令\t具体类型查看产品文档", "example" : "MEAL_NUM" } } }, "TicketOrderInfo" : { "type" : "object", "properties" : { "arrival" : { "$ref" : "#/components/schemas/JourneyLocation" }, "content" : { "type" : "string", "description" : "凭证内容", "example" : "凭证内容" }, "departure" : { "$ref" : "#/components/schemas/JourneyLocation" }, "effective_num" : { "type" : "integer", "description" : "凭证有效数", "example" : "1" }, "end_time" : { "type" : "string", "description" : "结束时间", "example" : "2020-02-01 08:00:00" }, "ext_info" : { "type" : "array", "description" : "扩展信息", "items" : { "$ref" : "#/components/schemas/OrderExtInfo" } }, "face_value" : { "type" : "string", "description" : "票面价", "example" : "10.00" }, "functional_services" : { "type" : "array", "description" : "功能服务信息", "items" : { "$ref" : "#/components/schemas/FunctionalService" } }, "invalid_reason" : { "type" : "string", "description" : "凭证失效原因", "example" : "用户取消" }, "locations" : { "type" : "array", "description" : "凭证可使用地点", "items" : { "$ref" : "#/components/schemas/JourneyLocation" } }, "merchant_ticket_no" : { "type" : "string", "description" : "商户侧凭证ID或核销码", "example" : "out_20210820" }, "seat_infos" : { "type" : "array", "description" : "座位信息", "items" : { "$ref" : "#/components/schemas/SeatInfo" } }, "service_provider" : { "$ref" : "#/components/schemas/OrderParticipantInfo" }, "shops" : { "type" : "array", "description" : "凭证可使用球房列表", "items" : { "$ref" : "#/components/schemas/OrderShopInfo" } }, "start_time" : { "type" : "string", "description" : "凭证开始时间", "example" : "2020-01-01 08:00:00" }, "status" : { "type" : "string", "description" : "凭证状态", "example" : "TICKETED" }, "ticket_create_time" : { "type" : "string", "description" : "凭证创建时间", "example" : "2020-01-01 08:00:01" }, "ticket_modify_time" : { "type" : "string", "description" : "凭证修改时间,精确到毫秒", "example" : "2020-01-01 08:00:01" }, "ticket_num" : { "type" : "integer", "description" : "凭证购买数", "example" : "2" }, "ticket_users" : { "type" : "array", "description" : "凭证使用者信息", "items" : { "$ref" : "#/components/schemas/UserInfomation" } }, "title" : { "type" : "string", "description" : "凭证标题", "example" : "上海-杭州" }, "vehicle_info" : { "$ref" : "#/components/schemas/OrderVehicleInfo" } } }, "TimeRangeInfo" : { "type" : "object", "properties" : { "begin_time" : { "type" : "string", "description" : "开始时间 格式:HH:mm:ss" }, "end_time_info" : { "$ref" : "#/components/schemas/EndTimeInfo" } } }, "TimeRestrictInfo" : { "type" : "object", "properties" : { "disable_period_info" : { "type" : "array", "description" : "不可用时间段", "items" : { "$ref" : "#/components/schemas/VoucherUseTimeRuleInfo" } }, "usable_period_info" : { "type" : "array", "description" : "可用时间段", "items" : { "$ref" : "#/components/schemas/VoucherUseTimeRuleInfo" } } } }, "TimesTypeSyncData" : { "type" : "object", "properties" : { "discount_amount" : { "type" : "string", "description" : "商户回传的优惠金额,如用户享受的红包金额,单位元", "example" : "8.75" }, "discount_desc" : { "type" : "string", "description" : "商户数据回传的优惠信息的名称。", "example" : "消费满减优惠001" }, "task_amount" : { "type" : "string", "description" : "用户和商户发生交易的交易单金额,单位元。", "example" : "3.57" }, "task_desc" : { "type" : "string", "description" : "任务描述", "example" : "完成一次任务001" }, "task_times" : { "type" : "integer", "description" : "当为次数型任务时必须传。", "example" : "1" } } }, "TipsDelivery" : { "type" : "object", "properties" : { "delivery_content" : { "type" : "string", "description" : "收藏引导文案内容", "example" : "点击收藏,下次访问更方便" }, "delivery_id" : { "type" : "string", "description" : "收藏引导投放活动ID", "example" : "20211114000003057595" }, "delivery_name" : { "type" : "string", "description" : "收藏引导投放活动的名称", "example" : "首页收藏引导投放活动" }, "end_time" : { "type" : "string", "description" : "活动结束时间", "example" : "2021-12-23 14:29:00" }, "fail_reason" : { "type" : "string", "description" : "文案审核驳回理由,仅AUDIT_REJECTED生效", "example" : "当前文案语义不通顺,请修改" }, "match_type" : { "type" : "string", "description" : "匹配类型:GLOBAL为全局生效,TARGETURL为目标页面生效,需配置相应页面地址match_url。", "example" : "TARGETURL" }, "match_url" : { "type" : "string", "description" : "目标页面地址", "example" : "/page/web" }, "start_time" : { "type" : "string", "description" : "活动开始时间", "example" : "2021-11-11 14:31:13" }, "status" : { "type" : "string", "description" : "活动状态。 枚举值: INIT: 初始化;AUDITING: 审核中;AUDIT_REJECTED:审核驳回;WORKING: 生效中;PUASE: 暂停;FINISHED 已结束;", "example" : "WORKING" } } }, "Topic" : { "type" : "object", "properties" : { "img_url" : { "type" : "string", "description" : "营销位图片url", "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx" }, "link_type" : { "type" : "string", "description" : "跳转类型,网页:HTTP、小程序:APP", "example" : "HTTP" }, "link_url" : { "type" : "string", "description" : "营销位跳转地址,点击营销位头图跳到的链接url。", "example" : "https://www.alipay.com" }, "sub_title" : { "type" : "string", "description" : "营销位描述", "example" : "营销位描述" }, "title" : { "type" : "string", "description" : "营销位名称", "example" : "营销位名称" }, "topic_id" : { "type" : "string", "description" : "营销位id", "example" : "CG202011131013300867029" }, "topic_items" : { "type" : "array", "description" : "营销位内容列表", "items" : { "$ref" : "#/components/schemas/TopicItem" } } } }, "TopicItem" : { "type" : "object", "properties" : { "img_url" : { "type" : "string", "description" : "内容图片url, 尺寸为300*300,最大不超过3M,支持格式:.jpg、.png ,请先调用 图片上传接口获得图片url" }, "link_type" : { "type" : "string", "description" : "跳转类型,网页:HTTP、小程序:APP,不传默认HTTP" }, "link_url" : { "type" : "string", "description" : "跳转链接,点击营销位内容图片跳到的链接url" }, "sub_title" : { "type" : "string", "description" : "内容说明" }, "title" : { "type" : "string", "description" : "内容标题" } } }, "TradeComplainQueryResponse" : { "type" : "object", "properties" : { "complain_event_id" : { "type" : "string", "description" : "支付宝侧投诉单号", "example" : "2020092300102000000001459758" }, "complain_reason" : { "type" : "string", "description" : "投诉原因", "example" : "重复扣款" }, "content" : { "type" : "string", "description" : "已经扣除了我的钱,为什么再次扣款???", "example" : "投诉内容" }, "gmt_create" : { "type" : "string", "description" : "投诉单创建时间", "example" : "2020-02-14 14:23:12" }, "gmt_finished" : { "type" : "string", "description" : "投诉单结束时间", "example" : "2020-02-14 14:23:12" }, "gmt_modified" : { "type" : "string", "description" : "投诉单修改时间", "example" : "2020-02-14 14:23:12" }, "images" : { "type" : "array", "description" : "投诉图片", "items" : { "type" : "string" }, "example" : "[\"http://mdn.alipay.com/wsdk/img?fileid=A*ME4GQq2j-5oAAAAAAAAAAAAAAQAAAQ&t=83fed12ef006ebcd8df04dfe79faad6c&bi=openpunsh&ts=0&zoom=original\"]" }, "leaf_category_name" : { "type" : "string", "description" : "投诉诉求", "example" : "我要退款" }, "merchant_order_no" : { "type" : "string", "description" : "商家订单号", "example" : "tp1234567899" }, "phone_no" : { "type" : "string", "description" : "投诉人电话号码", "example" : "15768789890" }, "status" : { "type" : "string", "description" : "状态\t商家处理中:MERCHANT_PROCESSING\t商家已反馈:MERCHANT_FEEDBACKED\t投诉已完结:FINISHED\t投诉已撤销:CANCELLED\t平台处理中:PLATFORM_PROCESSING\t平台处理完结:PLATFORM_FINISH\t系统关闭:CLOSED", "example" : "MERCHANT_PROCESSING" }, "target_id" : { "type" : "string", "description" : "应用id,例如小程序id、生活号id、商家pid", "example" : "2018001307627807" }, "target_type" : { "type" : "string", "description" : "应用类型\t小程序为:APPID\t生活号为:PUBLICID\t商家为:PID", "example" : "APPID" }, "trade_no" : { "type" : "string", "description" : "支付宝交易号", "example" : "2020092322001448341410785740" } } }, "TradeFundBill" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "该支付工具类型所使用的金额。单位:元。" }, "bank_code" : { "type" : "string", "description" : "银行卡支付时的银行代码" }, "fund_channel" : { "type" : "string", "description" : "交易使用的资金渠道,详见 支付渠道列表" }, "fund_type" : { "type" : "string", "description" : "渠道所使用的资金类型,目前只在资金渠道(fund_channel)是银行卡渠道(BANKCARD)的情况下才返回该信息(DEBIT_CARD:借记卡,CREDIT_CARD:信用卡,MIXED_CARD:借贷合一卡)" }, "real_amount" : { "type" : "string", "description" : "渠道实际付款金额" } } }, "TradeFundBillDetail" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "交易金额" }, "asset_type_code" : { "type" : "string", "description" : "资产类型编码" }, "asset_user_id" : { "type" : "string", "description" : "资产的属主" }, "asset_user_open_id" : { "type" : "string", "description" : "资产的属主openid" }, "biz_pay_type" : { "type" : "string", "description" : "支付业务类型\t\tPAY-支付\t\tREFUND-退款" }, "create_time" : { "type" : "string", "description" : "创建时间" }, "payment_no" : { "type" : "string", "description" : "支付单据号" } } }, "TradeInfoDTO" : { "type" : "object", "properties" : { "buyer_id" : { "type" : "string", "description" : "买家ID", "example" : "208888888888" }, "create_time" : { "type" : "string", "description" : "交易创建时间", "example" : "2010-11-11 11:11:11" }, "platform_order_id" : { "type" : "string", "description" : "外部平台订单号", "example" : "781773393333012410369282" }, "total_amount" : { "type" : "string", "description" : "订单总金额", "example" : "88" }, "trade_amount" : { "type" : "string", "description" : "订单总金额", "example" : "88" }, "trade_fund_bill_list" : { "type" : "array", "description" : "资金单明细", "items" : { "$ref" : "#/components/schemas/TradeFundBillDetail" } }, "trade_no" : { "type" : "string", "description" : "交易单号", "example" : "1231231321321" }, "trade_status" : { "type" : "string", "description" : "交易状态:WAIT_BUYER_PAY(交易创建,等待买家付款)、TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、TRADE_SUCCESS(交易支付成功)、TRADE_FINISHED(交易结束,不可退款)", "example" : "TRADE_SUCCESS" } } }, "TradeItemResult" : { "type" : "object", "properties" : { "alipay_order_no" : { "type" : "string", "description" : "支付宝订单号。对账使用,不脱敏" }, "gmt_create" : { "type" : "string", "description" : "交易创建时间" }, "gmt_pay" : { "type" : "string", "description" : "交易支付时间" }, "gmt_refund" : { "type" : "string", "description" : "交易退款时间" }, "goods_memo" : { "type" : "string", "description" : "商品备注信息" }, "goods_title" : { "type" : "string", "description" : "商品名称" }, "merchant_order_no" : { "type" : "string", "description" : "商户订单号,创建支付宝交易时传入的信息。对账使用,不脱敏" }, "net_mdiscount" : { "type" : "string", "description" : "商家优惠金额" }, "other_account" : { "type" : "string", "description" : "对方账户" }, "refund_amount" : { "type" : "string", "description" : "订单退款金额" }, "service_fee" : { "type" : "string", "description" : "服务费金额" }, "store_name" : { "type" : "string", "description" : "球房名称" }, "store_no" : { "type" : "string", "description" : "球房编号" }, "total_amount" : { "type" : "string", "description" : "订单金额" }, "trade_status" : { "type" : "string", "description" : "订单状态(待付款,成功,关闭,待发货,待确认收货,已预付,进行中)" }, "trade_type" : { "type" : "string", "description" : "业务类型,帮助商户作为对账参考" } } }, "TradeSettleDetail" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "实际操作金额,单位为元,两位小数。该参数的值为分账或补差或结算时传入", "example" : "10.00" }, "operation_dt" : { "type" : "string", "description" : "操作日期", "example" : "2019-05-16 09:59:17" }, "operation_serial_no" : { "type" : "string", "description" : "商户操作序列号。商户发起请求的外部请求号。", "example" : "2321232323232" }, "operation_type" : { "type" : "string", "description" : "结算操作类型。有以下几种类型:\treplenish(补差)、replenish_refund(退补差)、transfer(分账)、transfer_refund(退分账)、settle(结算)、settle_refund(退结算)、on_settle(待结算)。", "example" : "replenish" }, "ori_trans_in" : { "type" : "string", "description" : "商户请求的转入账号", "example" : "2088111111111111" }, "ori_trans_out" : { "type" : "string", "description" : "商户请求的转出账号", "example" : "2088111111111111" }, "trans_in" : { "type" : "string", "description" : "转入账号", "example" : "2088111111111111" }, "trans_out" : { "type" : "string", "description" : "转出账号", "example" : "2088111111111111" } } }, "TradeSettleInfo" : { "type" : "object", "properties" : { "trade_settle_detail_list" : { "type" : "array", "description" : "交易结算明细信息", "items" : { "$ref" : "#/components/schemas/TradeSettleDetail" } } } }, "TransferAccountBookDetailResult" : { "type" : "object", "properties" : { "account" : { "type" : "string", "description" : "付款/收款账户。充值记录中是付款账户。提现、转账记录中是收款账户。支付宝名称及账号脱敏;银行账户的户名脱敏,银行账户显示银行名称+银行卡号后四位", "example" : "*三(招商银行2456)" }, "amount" : { "type" : "string", "description" : "金额", "example" : "100.00" }, "biz_desc" : { "type" : "string", "description" : "业务类型描述。可用于区分业务类型,和不同子账本", "example" : "薪资代发-明细转账-I{2088000117463004}" }, "fund_desc" : { "type" : "string", "description" : "资金来源/去向类型。在充值记录中,表示资金来源类型,在转账和提现类型中,表示去向类型", "example" : "银行卡" }, "instruction_id" : { "type" : "string", "description" : "银行单据号。对账使用,无需脱敏", "example" : "20190101***" }, "memo" : { "type" : "string", "description" : "备注信息", "example" : "普通充值" }, "order_no" : { "type" : "string", "description" : "业务订单号。该笔业务单据的唯一识别编号", "example" : "20190101***" }, "service_fee" : { "type" : "string", "description" : "服务费金额", "example" : "1.00" }, "status" : { "type" : "string", "description" : "资金状态", "example" : "成功" }, "sub_type_desc" : { "type" : "string", "description" : "子类型。“充值类型”,普通充值、大额充值。“转账类型”,暂无实现。转账至支付宝账户、转账至银行卡、批量转账支付宝账户、批量转账至银行卡、批量付款。“提现类型”,暂无实现。普通提现、批量委托提现。对账使用,无需脱敏", "example" : "普通充值" }, "trans_dt" : { "type" : "string", "description" : "业务发生时间", "example" : "2019-01-01 00:00:00" }, "type_desc" : { "type" : "string", "description" : "查询类型描述:充值、转账、提现", "example" : "充值" } } }, "TransferDetailResult" : { "type" : "object", "properties" : { "account" : { "type" : "string", "description" : "付款/收款账户。充值记录中是付款账户。提现、转账记录中是收款账户。支付宝名称及账号脱敏;银行账户的户名脱敏,银行账户显示银行名称+银行卡号后四位", "example" : "*三(招商银行2456)" }, "amount" : { "type" : "string", "description" : "金额", "example" : "100.00" }, "fund_desc" : { "type" : "string", "description" : "资金来源/去向类型。在充值记录中,表示资金来源类型,在转账和提现类型中,表示去向类型", "example" : "银行卡" }, "instruction_id" : { "type" : "string", "description" : "银行单据号。对账使用,无需脱敏", "example" : "20190101***" }, "memo" : { "type" : "string", "description" : "备注信息", "example" : "普通充值" }, "order_no" : { "type" : "string", "description" : "业务订单号。该笔业务单据的唯一识别编号", "example" : "20190101***" }, "service_fee" : { "type" : "string", "description" : "服务费金额", "example" : "1.00" }, "status" : { "type" : "string", "description" : "资金状态", "example" : "成功" }, "sub_type_desc" : { "type" : "string", "description" : "子类型。“充值类型”,普通充值、大额充值。“转账类型”,暂无实现。转账至支付宝账户、转账至银行卡、批量转账支付宝账户、批量转账至银行卡、批量付款。“提现类型”,暂无实现。普通提现、批量委托提现。对账使用,无需脱敏", "example" : "普通充值" }, "trans_dt" : { "type" : "string", "description" : "业务发生时间", "example" : "2019-01-01 00:00:00" }, "type_desc" : { "type" : "string", "description" : "查询类型描述:充值、转账、提现", "example" : "充值" } } }, "TreeInfo" : { "type" : "object", "properties" : { "id" : { "type" : "integer", "description" : "类目树ID", "example" : "1" }, "instance_code" : { "type" : "string", "description" : "知识库对应的类目树名称,与treeId不可同时为空", "example" : "TREE_cVE_MHk8_1532332260914" }, "name" : { "type" : "string", "description" : "类目名称", "example" : "蚂蚁科技" } } }, "UnfreezeExtendParams" : { "type" : "object", "properties" : { "quit_type" : { "type" : "string", "description" : "退出类型", "example" : "SETTLE_APPLY_QUIT" }, "total_discount_amount" : { "type" : "string", "description" : "芝麻Go开始到到期过程中享受的优惠总金额", "example" : "3.00" }, "total_real_pay_amount" : { "type" : "string", "description" : "芝麻Go开始到到期过程中任务相关支付的总金额。", "example" : "3.00" }, "total_task_count" : { "type" : "string", "description" : "芝麻Go开始到到期过程中和任务相关的完成次数", "example" : "0" } } }, "UpdatedAuthenticationDetails" : { "type" : "object", "properties" : { "authentication_mechanisms" : { "type" : "array", "description" : "鉴权机制", "items" : { "type" : "string" }, "example" : "ApplicationRedirect" }, "nonce" : { "type" : "string", "description" : "随机数", "example" : "4A941B84" }, "partial_transaction_details_signature" : { "type" : "string", "description" : "交易签名信息", "example" : "U2VydmVyIGdlbmVyYXRlZCB0cmFuc2FjdGlvbiBkZXRhaWxzIHNpZ25hdHVyZQ==" }, "pin_format" : { "type" : "string", "description" : "6位密码或者长密码", "example" : "sixDigits" }, "signing_key_material" : { "type" : "string", "description" : "签名秘钥", "example" : "U2lnbmluZyBrZXkgbWF0ZXJpYWw=" } } }, "UseRule" : { "type" : "object", "properties" : { "ext_info" : { "type" : "string", "description" : "扩展属性,无需设置", "example" : "\\\"key\\\":\\\"value\\\"" }, "forbidden_time" : { "$ref" : "#/components/schemas/ForbbidenTime" }, "limit_rule" : { "type" : "string", "description" : "优惠券的使用支付渠道限制规\r\t则,\r\t不受支付渠道限制\r\t:USE_NO_LIMIT;\r\t仅限口碑储值卡支付时可用\r\t:USE_ON_CURRENT_PAY_C\r\tHANNEL;\r\t口碑储值卡支付时不可用\r\t:NOT_ALLOWED_USE;\r\t【备注】支付渠道限制不允许修改", "example" : "USE_NO_LIMIT" }, "min_consume" : { "type" : "string", "description" : "券核销的最低消费门槛,单位元", "example" : "10" }, "pay_redirect_url" : { "type" : "string", "description" : "券买单跳转链接", "example" : "https://mycar-parkingplatform.alipay-eco.com/pbizplatform/park/parking/stayPayCarList?entrance=1" }, "suit_shops" : { "type" : "array", "description" : "券适用球房列表\r\t仅品牌商发起的招商活动可为空\r\t直发奖类型活动必须与活动适用球房一致\r\t最多支持10w家球房", "items" : { "type" : "string" }, "example" : "2015110600077000000002125023,2015110600077000000002125022" }, "use_time" : { "type" : "array", "description" : "券可用时间段", "items" : { "$ref" : "#/components/schemas/UseTime" } } } }, "UseTime" : { "type" : "object", "properties" : { "dimension" : { "type" : "string", "description" : "券可用时段时间维度,目前支持周(W)", "example" : "W" }, "times" : { "type" : "string", "description" : "券可用时间段\r\t可用时间段起止时间用逗号分隔,多个时间段之间用^分隔\r\t如, \"16:00:00,20:00:00^21:00:00,22:00:00\"表示16点至20点,21点至22点可用\r\t时间段不可重叠", "example" : "16:00:00,20:00:00^21:00:00,22:00:00" }, "values" : { "type" : "string", "description" : "券可用时间维度值\r\t周维度的取值范围1-7(周一至周日),多个可用时段用逗号分隔\r\t如\"1,3,5\",对应周一,周三,周五可用", "example" : "1,3,5" } } }, "UserAnalysisData" : { "type" : "object", "properties" : { "cancel_user_cnt" : { "type" : "string", "description" : "取消关注人数", "example" : "40" }, "cumulate_user_cnt" : { "type" : "string", "description" : "累积关注人数", "example" : "60" }, "date" : { "type" : "string", "description" : "日期", "example" : "20171101" }, "grow_user_cnt" : { "type" : "string", "description" : "净增关注人数", "example" : "20" }, "new_user_cnt" : { "type" : "string", "description" : "新关注人数", "example" : "30" } } }, "UserDetails" : { "type" : "object", "properties" : { "user_change_mobile" : { "type" : "string", "description" : "用户变更手机号,替换旧的手机号" }, "user_mobile" : { "type" : "string", "description" : "孩子家长的手机号" }, "user_name" : { "type" : "string", "description" : "张三" }, "user_relation" : { "type" : "string", "description" : "孩子与家长的关系: 1、爸爸 2、妈妈 3、爷爷 4、奶奶 5、外公 6、外婆 7、家长" } } }, "UserIdentityInfo" : { "type" : "object", "properties" : { "h_school_info" : { "$ref" : "#/components/schemas/HSchoolInfo" } } }, "UserInfomation" : { "type" : "object", "properties" : { "cert_no" : { "type" : "string", "description" : "证件号" }, "cert_type" : { "type" : "string", "description" : "身份证:IDENTITY_CARD、护照:PASSPORT、军官证:OFFICER_CARD、士兵证:SOLDIER_CARD、户口本:HOKOU等。" }, "ext_info" : { "type" : "array", "description" : "扩展信息", "items" : { "$ref" : "#/components/schemas/OrderExtInfo" } }, "mobile" : { "type" : "string", "description" : "手机号" }, "name" : { "type" : "string", "description" : "姓名" }, "open_id" : { "type" : "string", "description" : "用户(user_id)在应用(appId)下的唯一用户标识" }, "user_id" : { "type" : "string", "description" : "支付宝uid" } } }, "UserInvoiceInfoOpenApiResponse" : { "type" : "object", "properties" : { "accept_electronic" : { "type" : "boolean", "description" : "(AR开票使用)是否接受电子票 true:是,false:否", "example" : "true" }, "address" : { "type" : "string", "description" : "公司注册地址", "example" : "广州市增城区新塘镇沿江大道20号1601房" }, "auto" : { "type" : "boolean", "description" : "(AR开票使用)是否自动申请开票 true:是,false:否", "example" : "true" }, "bank_account" : { "type" : "string", "description" : "银行账户", "example" : "3602201309100137669" }, "bank_name" : { "type" : "string", "description" : "开户行", "example" : "中国工商银行广州市第二支行" }, "business_licence_url" : { "type" : "string", "description" : "营业执照地址", "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg" }, "creator" : { "type" : "string", "description" : "资料创建人", "example" : "李某某" }, "gmt_create" : { "type" : "string", "description" : "创建时间", "example" : "1533039333744" }, "gmt_modified" : { "type" : "string", "description" : "修改时间", "example" : "1533039333744" }, "hold" : { "type" : "boolean", "description" : "(AR开票使用)是否暂停开票\r\ttrue:暂停开票,false:可开票", "example" : "true" }, "id" : { "type" : "string", "description" : "开票资料ID", "example" : "2017061410122000544800280000000001" }, "ip_id" : { "type" : "string", "description" : "商户PID,\r\ttype=01时表示OU用户,填充的是InstId机构代码,例如Z50,\r\ttype=02时表示商户MID,\r\ttype=03时表示商户PID", "example" : "10000004" }, "last_modifier" : { "type" : "string", "description" : "最后修改人", "example" : "李某某" }, "open_account_permit_url" : { "type" : "string", "description" : "银行开户许可证地址", "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg" }, "other_qualification_url" : { "type" : "string", "description" : "其它资质证明地址", "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg" }, "status" : { "type" : "string", "description" : "资料状态,01:待审,02:已审(有效), 03:已作废", "example" : "02" }, "task_date" : { "type" : "string", "description" : "上一次任务执行时间(针对自动开票场景),格式:YYYYMMDD", "example" : "20180723" }, "tax_no" : { "type" : "string", "description" : "纳税人识别号(购方税号)", "example" : "91440106058924978D" }, "tax_payer_qualification" : { "type" : "string", "description" : "纳税人开票资格种类\r\t01:一般纳税人,02:小规模纳税人", "example" : "01" }, "tax_qualification_url" : { "type" : "string", "description" : "一般纳税人资格证书地址", "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg" }, "tax_reg_cert_url" : { "type" : "string", "description" : "税务登记证地址", "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg" }, "taxpayer_quali_valid" : { "type" : "string", "description" : "纳税人资格开始时间 (时间戳)", "example" : "1533039333744" }, "telephone" : { "type" : "string", "description" : "公司注册电话", "example" : "0571-82523768" }, "title" : { "type" : "string", "description" : "发票抬头", "example" : "支付宝" }, "tnt_inst_id" : { "type" : "string", "description" : "租户ID", "example" : "ANTGW2CN" }, "type" : { "type" : "string", "description" : "开票资料用户类型 \r\t01:OU,02:商户,03:C用户", "example" : "02" }, "user_mail_info_list" : { "type" : "array", "description" : "收件人地址列表", "items" : { "$ref" : "#/components/schemas/UserMailInfoVO" } } } }, "UserMailInfoOrder" : { "type" : "object", "properties" : { "city" : { "type" : "string", "description" : "联系所在城市" }, "country" : { "type" : "string", "description" : "联系人国家" }, "county_district" : { "type" : "string", "description" : "联系人所在县/区" }, "detail_address" : { "type" : "string", "description" : "联系所在详细地址" }, "email" : { "type" : "string", "description" : "电子邮箱" }, "ip_role_id" : { "type" : "string", "description" : "商户ipRole(pid)" }, "name" : { "type" : "string", "description" : "联系人名字" }, "province" : { "type" : "string", "description" : "联系人省份" }, "street" : { "type" : "string", "description" : "联系人所在街道" }, "telephone" : { "type" : "string", "description" : "联系人电话" } } }, "UserMailInfoVO" : { "type" : "object", "properties" : { "address" : { "type" : "string", "description" : "收件人地址", "example" : "中国|浙江省|杭州市|西湖区|蒋村街道|10号楼99号" }, "city" : { "type" : "string", "description" : "城市", "example" : "杭州市" }, "country" : { "type" : "string", "description" : "国家", "example" : "中国" }, "county_district" : { "type" : "string", "description" : "县区", "example" : "西湖区" }, "detail_address" : { "type" : "string", "description" : "详细地址", "example" : "10号楼99号" }, "email" : { "type" : "string", "description" : "邮件人的电子邮箱", "example" : "hahaha@alipay.com" }, "gmt_create" : { "type" : "string", "description" : "创建时间", "example" : "1533039333744" }, "gmt_modified" : { "type" : "string", "description" : "修改时间", "example" : "1533039333744" }, "id" : { "type" : "string", "description" : "收件人信息ID", "example" : "2017031410122000565000480000002129" }, "name" : { "type" : "string", "description" : "收件人姓名", "example" : "朱文三" }, "pid" : { "type" : "string", "description" : "pid用于指定该地址归属的PID,应对集团模式的商户所设定,发票邮寄地址根据PID确定", "example" : "2088812004337486" }, "province" : { "type" : "string", "description" : "省份", "example" : "浙江省" }, "street" : { "type" : "string", "description" : "街道", "example" : "蒋村街道" }, "telephone" : { "type" : "string", "description" : "收件人电话", "example" : "0891-3983888" } } }, "UserRiskPrediction" : { "type" : "object", "properties" : { "phone_recycle_risk_leve" : { "type" : "string", "description" : "用户绑定手机号被二次放号风险等级。\tNO_RESULT:手机号风险未入库\tNO_RISK:用户绑定手机无二次放号风险,高置信度\tLOW_RISK:用户绑定手机二次放号风险较小,商户自行决策是否相信。\tHIGH_RISK:用户绑定手机已被放号,高置信度", "example" : "HIGH_RISK" }, "refused_payment_risk_level" : { "type" : "string", "description" : "用户拒付风险等级。\tNO_SIGN:商户未签约。\tNO_RESULT:未查询到账户信息。\tLOW_RISK:用户拒付风险为低;处理建议:用户可以先享受服务,再进行支付。\tMEDIUM_RISK:用户拒付风险为中;处理建议:根据业务场景客户自行判断提供或者不提供。\tHIGH_RISK:用户拒付风险为高;处理建议:不建议先提供给用户服务。", "example" : "HIGH_RISK" } } }, "UserTradeInfoDTO" : { "type" : "object", "properties" : { "goods_info_list" : { "type" : "array", "description" : "商品信息列表", "items" : { "$ref" : "#/components/schemas/GoodsInfoDTO" } }, "partner_id" : { "type" : "string", "description" : "球房ISV的PID", "example" : "208881123" }, "risk_level" : { "type" : "string", "description" : "是否是风险交易:NO_RISK-无风险;POTENTIAL_RISK-潜在风险(中等风险);HIGH_RISK-高风险", "example" : "NO_RISK" }, "trade_amount" : { "type" : "string", "description" : "交易总金额,单位元,精确两位小数点", "example" : "68.12" }, "trade_no" : { "type" : "string", "description" : "交易单号", "example" : "202110000111" }, "trade_time" : { "type" : "string", "description" : "交易时间", "example" : "2022-02-11 00:00:00" }, "unfiltered_total_goods_count" : { "type" : "integer", "description" : "商品数据会根据活动商品列表进行过滤,该字段代表未过滤的商品列表大小", "example" : "100" }, "user_id" : { "type" : "string", "description" : "消费者支付宝ID", "example" : "2088111" } } }, "UserVoucherBaseInfo" : { "type" : "object", "properties" : { "associate_trade_no" : { "type" : "string", "description" : "若商家券操作过关联商户订单信息,则该字段返回商家券已关联的商户订单号。" }, "create_time" : { "type" : "string", "description" : "领券时间" }, "valid_begin_time" : { "type" : "string", "description" : "券可使用的开始时间。 格式为:yyyy-MM-dd HH:mm:ss" }, "valid_end_time" : { "type" : "string", "description" : "券可使用的结束时间。 格式为yyyy-MM-dd HH:mm:ss" }, "voucher_id" : { "type" : "string", "description" : "支付宝券id" }, "voucher_max_use_times" : { "type" : "integer", "description" : "券最大核销次数" }, "voucher_name" : { "type" : "string", "description" : "券名称" }, "voucher_status" : { "type" : "string", "description" : "券状态。SENDED:可用 USED:已核销(即完全使用), EXPIRED:已过期(只能查询6个月内数据)" }, "voucher_used_times" : { "type" : "integer", "description" : "券已核销次数" } } }, "UserVoucherInfo" : { "type" : "object", "properties" : { "activity_base_info" : { "$ref" : "#/components/schemas/ActivityBaseInfo" }, "activity_id" : { "type" : "string", "description" : "活动 id。", "example" : "2016042700826004508401111111" }, "available_begin_time" : { "type" : "string", "description" : "券可用开始时间。", "example" : "2017-01-01 00:00:01" }, "available_end_time" : { "type" : "string", "description" : "券可用结束时间。", "example" : "2017-01-01 00:00:01" }, "belong_merchant_id" : { "type" : "string", "description" : "券归属商户 pid。", "example" : "2088102111111111" }, "create_time" : { "type" : "string", "description" : "用户领券时间。", "example" : "2017-01-01 00:00:01" }, "user_voucher_base_info" : { "$ref" : "#/components/schemas/UserVoucherBaseInfo" }, "voucher_available_scope_info" : { "$ref" : "#/components/schemas/VoucherAvailableScopeInfo" }, "voucher_customer_guide_info" : { "$ref" : "#/components/schemas/VoucherCustomerGuideInfo" }, "voucher_deduct_info" : { "$ref" : "#/components/schemas/VoucherDeductInfo" }, "voucher_display_lite_info" : { "$ref" : "#/components/schemas/CommonVoucherDisplayLiteInfo" }, "voucher_display_pattern_info" : { "$ref" : "#/components/schemas/VoucherDisplayPatternInfo" }, "voucher_id" : { "type" : "string", "description" : "用户券 id。支付宝为用户优惠券唯一分配的 id。", "example" : "2021072900073002214009F8QHR3" }, "voucher_name" : { "type" : "string", "description" : "券名称。展示在支付宝卡包中的券名称。", "example" : "满10减1" }, "voucher_send_mode_info" : { "$ref" : "#/components/schemas/VoucherSendModeInfo" }, "voucher_status" : { "type" : "string", "description" : "券状态。", "example" : "SENDED" }, "voucher_type" : { "type" : "string", "description" : "券类型。", "example" : "FIX_VOUCHER" }, "voucher_use_rule_info" : { "$ref" : "#/components/schemas/VoucherUseRuleInfo" }, "voucher_use_rule_lite_info" : { "$ref" : "#/components/schemas/CommonVoucherUseRuleLiteInfo" } } }, "ViolationEvent" : { "type" : "object", "properties" : { "can_appeal" : { "type" : "boolean", "description" : "商家是否可以申诉", "example" : "true" }, "can_rectify" : { "type" : "boolean", "description" : "商家是否可以整改", "example" : "true" }, "punish_action" : { "type" : "string", "description" : "处罚动作及有效期", "example" : "[ \"警告_2020-02-14 14:23:12-2020-03-14 14:23:12\",\"小程序应用下架_2020-02-14 14:23:12-2020-03-14 14:23:12\"]" }, "status" : { "type" : "string", "description" : "违规工单状态枚举:\tPUNISH_DONE:处罚生效中\tPUNISH_APPEAL_REVOKED:处罚已撤销\tPUNISH_INVALID_REVOKED:处罚已到期\tWAITING_RECTIFY:待整改 \tRECTIFY_AUDITOR_PROCESSING:整改审核中\tRECTIFY_REJECTED:整改不通过\tRECTIFY_PASSED:整改通过\tRECTIFY_TIMEOUT :整改已超时", "example" : "PUNISH_DONE" }, "target_id" : { "type" : "string", "description" : "违规对象ID", "example" : "2022000000000011" }, "target_name" : { "type" : "string", "description" : "违规对象名称", "example" : "xxx测试小程序" }, "target_type" : { "type" : "string", "description" : "违规对象类型\t小程序ID:APPID \t生活号ID:PUBLICID", "example" : "APPID" }, "violation_record_id" : { "type" : "string", "description" : "违规记录ID", "example" : "202201001200001001" }, "violation_time" : { "type" : "string", "description" : "违规时间", "example" : "2020-01-01 00:00:01" }, "violation_type" : { "type" : "string", "description" : "即平台依据平台规范/规则,判定商户的违规类型", "example" : "数据和系统安全/敏感参数泄露风险" } } }, "Voucher" : { "type" : "object", "properties" : { "allow_split" : { "type" : "boolean", "description" : "是否允许拆分,券在核销的时候是否允许券的面额拆分使用。(仅限渠道类型为ISV企业福利:ISV_ENTERPRISE_BENIFIT的场景使用)", "example" : "false" }, "available_amount" : { "type" : "string", "description" : "券剩余面额,单位元\r\t券详情查询接口返回,可拆分券中的券详情展示用", "example" : "100" }, "brand_name" : { "type" : "string", "description" : "券副标题", "example" : "券副标题" }, "clause_terms" : { "type" : "array", "description" : "券的说明条款", "items" : { "$ref" : "#/components/schemas/ClauseTerm" } }, "delay_info" : { "$ref" : "#/components/schemas/DelayInfo" }, "desc" : { "type" : "string", "description" : "券详细说明\r\t最多包含500个字符", "example" : "券的详细说明" }, "desc_detail_list" : { "type" : "array", "description" : "券使用说明描述列表", "items" : { "$ref" : "#/components/schemas/VoucherDescDetail" } }, "display_config" : { "$ref" : "#/components/schemas/DisplayConfig" }, "donate_flag" : { "type" : "string", "description" : "券是否可转赠,默认为可转赠", "example" : "true" }, "effect_type" : { "type" : "string", "description" : "券生效的方式,目前支持以下方式\r\t立即生效:IMMEDIATELY\r\t延迟生效:DELAY\r\t仅在券有效期类型为相对有效期时生效", "example" : "IMMEDIATELY" }, "end_time" : { "type" : "string", "description" : "券有效期的结束时间\r\t仅在券有效期类型为绝对有效期时生效\r\t必须晚于活动结束时间", "example" : "2016-11-01 00:00:00" }, "ext_info" : { "type" : "string", "description" : "券的扩展信息", "example" : "\"key\":\"value\"" }, "item_info" : { "$ref" : "#/components/schemas/ItemInfo" }, "logo" : { "type" : "string", "description" : "券LOGO文件ID,调用图片上传接口alipay.offline.material.image.upload获得", "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC" }, "max_amount" : { "type" : "string", "description" : "最高优惠金额,单位元\r\t指用券最高可以优惠的金额\r\t必须为合法金额类型字符串仅当券类型为折扣券(RATE),每满减券(PER_FULL_CUT)有效", "example" : "100" }, "multi_use_mode" : { "type" : "string", "description" : "券叠加的属性,\r\t仅全场券可设置该选项;\r\tNO_MULTI:不可与其他全场券和单品券叠加;\r\tMULTI_USE_WITH_SINGLE:\r\t该全场优惠和单品优惠的叠加\r\t;MULTI_USE_WITH_OTHE\r\tRS:该全场优惠和其他所有优惠都可以叠加", "example" : "NO_MULTI" }, "name" : { "type" : "string", "description" : "名称", "example" : "券的名称" }, "rate" : { "type" : "string", "description" : "折扣率\r\t仅当券类型为折扣券时有效\r\t有效折扣率取值范围0.11-0.99\r\t仅允许保留小数点后两位", "example" : "0.8" }, "relative_time" : { "type" : "string", "description" : "券相对有效期,单位天\r\t仅在券有效期类型为相对有效期时生效\r\t如,设5表示领券领取后5日内有效", "example" : "1" }, "rounding_rule" : { "type" : "string", "description" : "券核销时,抹零方式,目前支持:\tNOT_AUTO_ROUNDING:不自动抹零\tAUTO_ROUNDING_YUAN:自动抹零到元\tAUTO_ROUNDING_JIAO:自动抹零到角\tROUNDING_UP_YUAN:四舍五入到元\tROUNDING_UP_JIAO:四舍五入到角", "example" : "NOT_AUTO_ROUNDING" }, "start_time" : { "type" : "string", "description" : "券有效期的开始时间\r\t仅在券有效期类型为绝对有效期时生效", "example" : "2016-05-01 00:00:00" }, "type" : { "type" : "string", "description" : "券类型,目前支持以下类型:\r\tEXCHANGE:兑换券;\r\tMONEY:代金券;\r\tREDUCETO:减至券;\r\tRATE:折扣券;\r\tPER_FULL_CUT:每满减券", "example" : "MONEY" }, "use_instructions" : { "type" : "array", "description" : "券的使用说明\r\t使用须知最多6条,且每条最多100字", "items" : { "type" : "string" }, "example" : "券的使用说明" }, "use_rule" : { "$ref" : "#/components/schemas/UseRule" }, "validate_type" : { "type" : "string", "description" : "券有效期类型,目前支持以下类型:\r\tRELATIVE:相对有效期\r\tFIXED:绝对有效期", "example" : "FIXED" }, "verify_mode" : { "type" : "string", "description" : "该字段仅在兑换券条件下(即券类型为EXCHANGE),用于设置兑换券的核销方式\r\tUSER_CLICK:用户自己点击券上的按钮核销\r\tMERCHANT_SCAN:商户通过APP扫码核销\r\t其他情况下此字段为空", "example" : "MERCHANT_SCAN" }, "voucher_img" : { "type" : "string", "description" : "券图片文件ID,调用上传图片接口alipay.offline.material.image.upload获得", "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC" }, "voucher_note" : { "type" : "string", "description" : "券的备注\r\t\r\t用于收银系统识别指定券使用;如备注中传入“123”,券发出后核销时将在当面付接口将该值传回,供收银系统识别", "example" : "券的备注" }, "worth_value" : { "type" : "string", "description" : "券面额,单位元必须为合法金额类型字符串券类型为代金券(MONEY)、减至券(REDUCETO)、每满减券(PER_FULL_CUT)时必填\r\t如:\r\t代金券:10元代金券中的10为券面额;\r\t每满减券:毎满100减10元,其中的10为券面额;\r\t减至券:单品原价100,现价10元,其中10为券面额,单品减至券的券面额必须低于单品原价", "example" : "10" } } }, "VoucherAbsolutePeriodInfo" : { "type" : "object", "properties" : { "time_restrict_info" : { "$ref" : "#/components/schemas/TimeRestrictInfo" }, "valid_begin_time" : { "type" : "string", "description" : "券可使用的开始时间。 格式为:yyyy-MM-dd HH:mm:ss。" }, "valid_end_time" : { "type" : "string", "description" : "券可使用的结束时间。 格式为yyyy-MM-dd HH:mm:ss。" } } }, "VoucherAvailableAccountInfo" : { "type" : "object", "properties" : { "available_pids" : { "type" : "array", "description" : "优惠券可核销的直连商户PID", "items" : { "type" : "string" } }, "available_smids" : { "type" : "array", "description" : "优惠券可核销的间连商户SMID", "items" : { "type" : "string" } } } }, "VoucherAvailableAppInfo" : { "type" : "object", "properties" : { "available_app_ids" : { "type" : "array", "description" : "可核销的支付宝小程序id", "items" : { "type" : "string" } } } }, "VoucherAvailableGeographyAllShopInfo" : { "type" : "object", "properties" : { "exclude_shop_ids" : { "type" : "array", "description" : "券不可使用的球房列表。指定商户全部球房可用时可通过该字段排除部分不可用球房。 列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。", "items" : { "type" : "string" } }, "merchant_ids" : { "type" : "array", "description" : "全部球房可用的商户ID", "items" : { "type" : "string" } } } }, "VoucherAvailableGeographyAllShopResultInfo" : { "type" : "object", "properties" : { "fail_exclude_shop_infos" : { "type" : "array", "description" : "请求失败的不可用球房详情。", "items" : { "$ref" : "#/components/schemas/VoucherFailShopInfo" } }, "success_exclude_shop_ids" : { "type" : "array", "description" : "请求成功的不可用球房列表。", "items" : { "type" : "string" } } } }, "VoucherAvailableGeographyCityInfo" : { "type" : "object", "properties" : { "all_city" : { "type" : "boolean", "description" : "是否全国。 选择全国后,无须填写city_codes字段。系统默认填充全国全部城市信息。" }, "available_city_codes" : { "type" : "array", "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)", "items" : { "type" : "string" } } } }, "VoucherAvailableGeographyScopeInfo" : { "type" : "object", "properties" : { "available_geography_city_info" : { "$ref" : "#/components/schemas/VoucherAvailableGeographyCityInfo" }, "available_geography_scope_type" : { "type" : "string", "description" : "券可用地理位置类型。" }, "available_geography_shop_info" : { "$ref" : "#/components/schemas/VoucherAvailableGeographyShopInfo" } } }, "VoucherAvailableGeographyScopeResultInfo" : { "type" : "object", "properties" : { "available_geography_shop_result_info" : { "$ref" : "#/components/schemas/VoucherAvailableGeographyShopResultInfo" } } }, "VoucherAvailableGeographyShopInfo" : { "type" : "object", "properties" : { "available_geography_all_shop" : { "$ref" : "#/components/schemas/VoucherAvailableGeographyAllShopInfo" }, "available_real_shop_ids" : { "type" : "array", "description" : "代运营商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id 接口参数是列表类型。", "items" : { "type" : "string" } }, "available_shop_ids" : { "type" : "array", "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。", "items" : { "type" : "string" } } } }, "VoucherAvailableGeographyShopResultInfo" : { "type" : "object", "properties" : { "available_geography_all_shop_result_info" : { "$ref" : "#/components/schemas/VoucherAvailableGeographyAllShopResultInfo" }, "fail_available_real_shop_infos" : { "type" : "array", "description" : "失败的物理球房详情。", "items" : { "$ref" : "#/components/schemas/VoucherFailShopInfo" } }, "fail_available_shop_infos" : { "type" : "array", "description" : "失败的可用球房。", "items" : { "$ref" : "#/components/schemas/VoucherFailShopInfo" } }, "success_available_real_shop_ids" : { "type" : "array", "description" : "代运营商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id 接口参数是列表类型。", "items" : { "type" : "string" } }, "success_available_shop_ids" : { "type" : "array", "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。", "items" : { "type" : "string" } } } }, "VoucherAvailableGoodsInfo" : { "type" : "object", "properties" : { "available_goods_sku_ids" : { "type" : "array", "description" : "可优惠商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,可以使用优惠券。", "items" : { "type" : "string" } }, "exclude_goods_sku_ids" : { "type" : "array", "description" : "不可核销商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,不可以使用优惠券。", "items" : { "type" : "string" } }, "goods_description" : { "type" : "string", "description" : "商品描述" }, "goods_detail" : { "type" : "string", "description" : "商品详情,会展示在特定渠道(如服务市场团购业务插件的套餐明细)。" }, "goods_detail_images" : { "type" : "array", "description" : "商品详情图片列表,会展示在特定渠道(如服务市场团购业务插件的头图)", "items" : { "type" : "string" } }, "goods_detail_rich_description" : { "type" : "string", "description" : "商品详情富文本描述" }, "goods_name" : { "type" : "string", "description" : "商品名称。" }, "origin_amount" : { "type" : "string", "description" : "商品原价" } } }, "VoucherAvailableScope" : { "type" : "object", "properties" : { "order_voucher_available_city_code" : { "$ref" : "#/components/schemas/OrderVoucherAvailableCityCode" }, "order_voucher_available_shop" : { "$ref" : "#/components/schemas/OrderVoucherAvailableShop" }, "voucher_available_type" : { "type" : "string", "description" : "可用范围类型。" } } }, "VoucherAvailableScopeInfo" : { "type" : "object", "properties" : { "voucher_available_account_info" : { "$ref" : "#/components/schemas/VoucherAvailableAccountInfo" }, "voucher_available_app_info" : { "$ref" : "#/components/schemas/VoucherAvailableAppInfo" }, "voucher_available_geography_scope_info" : { "$ref" : "#/components/schemas/VoucherAvailableGeographyScopeInfo" }, "voucher_available_goods_info" : { "$ref" : "#/components/schemas/VoucherAvailableGoodsInfo" } } }, "VoucherAvailableScopeModify" : { "type" : "object", "properties" : { "modify_type" : { "type" : "string", "description" : "可用范围修改类型。", "example" : "ADD" }, "order_voucher_available_city_code" : { "$ref" : "#/components/schemas/OrderVoucherAvailableCityCodeModify" }, "order_voucher_available_shop" : { "$ref" : "#/components/schemas/OrderVoucherAvailableShopModify" } } }, "VoucherAvailableScopeResultInfo" : { "type" : "object", "properties" : { "voucher_available_geography_scope_result_info" : { "$ref" : "#/components/schemas/VoucherAvailableGeographyScopeResultInfo" } } }, "VoucherBalanceRechargeInfo" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "支付宝余额充值金额\t 限制: \t1.币种为人民币,单位元。 \t2. 总预算=优惠金额*总发券张数" }, "logon_id" : { "type" : "string", "description" : "出资的商户支付宝登录账号 \t限制: \tlogon_id和partner_id必须且只能二选一" }, "partner_id" : { "type" : "string", "description" : "出资的商户支付宝ID \t限制: \tlogon_id和partner_id必须且只能二选一" } } }, "VoucherBudgetSupplyInfo" : { "type" : "object", "properties" : { "budget_type" : { "type" : "string", "description" : "营销资金预算类型 \t枚举值: \tNO_CASH 免充值 \tRECHARGE 预充值 \t\t1、免充值:制券方无需提前充值资金,用户核销支付券时,直接从订单原价中扣除优惠减价金额,最终只将用户实际支付的金额结算给核销商户,商户实收少于订单原价。 \t2.预充值: 制券方需将优惠预算提前充值到支付宝指定营销账户中,用户核销支付券时,系统从该账户可用余额中扣除优惠减价部分对应的资金,连同用户实际支付的资金,一并结算给核销商户,不影响实收。" }, "voucher_recharge_info" : { "$ref" : "#/components/schemas/VoucherRechargeInfo" } } }, "VoucherConsultInfo" : { "type" : "object", "properties" : { "ceiling_amount" : { "type" : "string", "description" : "封顶优惠金额,单位为元", "example" : "4.0" }, "item_promo_info" : { "$ref" : "#/components/schemas/ItemPromoInfo" }, "optimal" : { "type" : "boolean", "description" : "是否为可使用的互斥券中最优的(目前返回的记录该值均为true,即可忽略该值判断)", "example" : "true" }, "promo_amount" : { "type" : "string", "description" : "优惠总金额,单位为元", "example" : "30.00" }, "promo_text" : { "type" : "string", "description" : "优惠文案", "example" : "大杯拿铁限时享受满10减1" }, "promo_type" : { "type" : "string", "description" : "优惠类型: 代金(FIX),折扣(DISCOUNT),减至(SPECIAL,即特价券)", "example" : "FIX" }, "reduction_amount" : { "type" : "string", "description" : "满减金额,单位为元,仅针对代金券", "example" : "2.0" }, "reduction_ratio" : { "type" : "string", "description" : "优惠额度,如3折券,返回0.7,仅针对折扣券", "example" : "0.7" }, "specified_amount" : { "type" : "string", "description" : "减至金额,单位为元,仅针对减至券", "example" : "32.0" }, "threshold_amount" : { "type" : "string", "description" : "优惠门槛,单位为元(部分券没有门槛金额)", "example" : "120.00" }, "voucher_id" : { "type" : "string", "description" : "券id", "example" : "202010220007300232330005DGEE" }, "voucher_name" : { "type" : "string", "description" : "券名称", "example" : "商家全场5折优惠" }, "voucher_type" : { "type" : "string", "description" : "券类型: 1)全场券(ALL) 2)单品券(ITEM)", "example" : "ALL" } } }, "VoucherCustomerGuideInfo" : { "type" : "object", "properties" : { "voucher_send_guide_info" : { "$ref" : "#/components/schemas/VoucherSendGuideInfo" }, "voucher_use_guide_info" : { "$ref" : "#/components/schemas/VoucherUseGuideInfo" } } }, "VoucherDeductInfo" : { "type" : "object", "properties" : { "customer_define_voucher_info" : { "$ref" : "#/components/schemas/CustomerDefineVoucherInfo" }, "discount_voucher_info" : { "$ref" : "#/components/schemas/DiscountVoucherInfo" }, "exchange_voucher_info" : { "$ref" : "#/components/schemas/ExchangeVoucherInfo" }, "fix_voucher_info" : { "$ref" : "#/components/schemas/FixVoucherInfo" }, "special_voucher_info" : { "$ref" : "#/components/schemas/SpecialVoucherInfo" }, "voucher_type" : { "type" : "string", "description" : "券类型。" } } }, "VoucherDeductThresholdInfo" : { "type" : "object", "properties" : { "customer_define_voucher_threshold_desc" : { "type" : "string", "description" : "自定义门槛描述" }, "voucher_express_info" : { "$ref" : "#/components/schemas/VoucherExpressInfo" }, "voucher_goods_quantity_specification_info" : { "$ref" : "#/components/schemas/VoucherGoodsQuantitySpecificationInfo" } } }, "VoucherDescDetail" : { "type" : "object", "properties" : { "details" : { "type" : "array", "description" : "具体描述信息列表", "items" : { "type" : "string" }, "example" : "周一到周五可用" }, "images" : { "type" : "array", "description" : "图片描述信息", "items" : { "type" : "string" }, "example" : "https://dl.django.t.taobao.com/rest/1.0/image?fileIds=RY7twkJVR26nz8OeXRIjvAAAACMAAQED&zoom=original" }, "title" : { "type" : "string", "description" : "券说明的标题", "example" : "温馨提示" }, "url" : { "type" : "string", "description" : "券外部详情描述", "example" : "www.alipay.com" } } }, "VoucherDetail" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "优惠券面额,它应该会等于商家出资加上其他出资方出资" }, "id" : { "type" : "string", "description" : "券id" }, "memo" : { "type" : "string", "description" : "优惠券备注信息" }, "merchant_contribute" : { "type" : "string", "description" : "商家出资(特指发起交易的商家出资金额)" }, "name" : { "type" : "string", "description" : "券名称" }, "other_contribute" : { "type" : "string", "description" : "其他出资方出资金额,可能是支付宝,可能是品牌商,或者其他方,也可能是他们的一起出资" }, "other_contribute_detail" : { "type" : "array", "description" : "优惠券的其他出资方明细", "items" : { "$ref" : "#/components/schemas/ContributeDetail" } }, "purchase_ant_contribute" : { "type" : "string", "description" : "如果使用的这张券是用户购买的,则该字段代表用户在购买这张券时平台优惠的金额" }, "purchase_buyer_contribute" : { "type" : "string", "description" : "如果使用的这张券是用户购买的,则该字段代表用户在购买这张券时用户实际付款的金额" }, "purchase_merchant_contribute" : { "type" : "string", "description" : "如果使用的这张券是用户购买的,则该字段代表用户在购买这张券时商户优惠的金额" }, "template_id" : { "type" : "string", "description" : "券模板id" }, "type" : { "type" : "string", "description" : "券类型,如:\tALIPAY_FIX_VOUCHER - 全场代金券\tALIPAY_DISCOUNT_VOUCHER - 折扣券\tALIPAY_ITEM_VOUCHER - 单品优惠券\tALIPAY_CASH_VOUCHER - 现金抵价券\tALIPAY_BIZ_VOUCHER - 商家全场券\t注:不排除将来新增其他类型的可能,商家接入时注意兼容性避免硬编码" } } }, "VoucherDisplayInfo" : { "type" : "object", "properties" : { "brand_logo" : { "type" : "string", "description" : "商家logo。需要通过\talipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_BRAND_LOGO,返回的resource_id即为该参数的值" }, "brand_name" : { "type" : "string", "description" : "商户品牌名称。如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。如果没有维护商家别名,则使用默认名称:商家优惠。用户领取优惠券后,品牌名称会对用户进行展示" }, "customer_service_mobile" : { "type" : "string", "description" : "客服电话" }, "customer_service_url" : { "type" : "string", "description" : "客服链接" }, "voucher_comment" : { "type" : "string", "description" : "券补充说明,该字段为可运营字段,可描述商品特色\t会展示在用户支付宝卡包券详情页" }, "voucher_description" : { "type" : "string", "description" : "券详细使用说明。" }, "voucher_detail_images" : { "type" : "array", "description" : "券详细图列表,会展示在用户支付宝卡包券详情页。需要通过\talipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE\t,接口返回的resource_id即为该参数的值。上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB。", "items" : { "type" : "string" } }, "voucher_image" : { "type" : "string", "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页。需要通过\talipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值" } } }, "VoucherDisplayInfoModify" : { "type" : "object", "properties" : { "brand_logo" : { "type" : "string", "description" : "商家logo \t需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_BRAND_LOGO,返回的resource_id即为该参数的值", "example" : "adeDSktiQO-u5vJUqVbcQwAAACMAAQED" }, "brand_name" : { "type" : "string", "description" : "商户品牌名称。", "example" : "商家优惠" }, "customer_service_mobile" : { "type" : "string", "description" : "客服电话", "example" : "81XXXXXXX" }, "customer_service_url" : { "type" : "string", "description" : "客服链接", "example" : "alipay://xxxx" }, "voucher_comment" : { "type" : "string", "description" : "券补充说明,该字段为可运营字段,可描述商品特色 会展示在用户支付宝卡包券详情页。", "example" : "食材新鲜,品质之选" }, "voucher_description" : { "type" : "string", "description" : "券详细使用说明。", "example" : "1、本券不可兑换现金,不可找零。2、每个用户最多可以领取1张。3、如果订单发生退款,优惠券无法退还。" }, "voucher_detail_images" : { "type" : "array", "description" : "券详细图列表,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE ,接口返回的resource_id即为该参数的值 上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB。", "items" : { "type" : "string" }, "example" : "[\"adeDSktiQO-u5vJUqVbcQwAAACMAAQE1\",\"adeDSktiQO-u5vJUqVbcQwAAACMAAQE2\",\"adeDSktiQO-u5vJUqVbcQwAAACMAAQE3\"]" }, "voucher_image" : { "type" : "string", "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值。", "example" : "adeDSktiQO-u5vJUqVbcQwAAACMAAQED" } } }, "VoucherDisplayPatternInfo" : { "type" : "object", "properties" : { "brand_logo" : { "type" : "string", "description" : "商家logo 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_BRAND_LOGO,返回的resource_id即为该参数的值。" }, "brand_logo_url" : { "type" : "string", "description" : "商家品牌logo链接" }, "brand_name" : { "type" : "string", "description" : "商户品牌名称。 如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。 如果没有维护商家别名,则使用默认名称: 商家优惠。 用户领取优惠券后,品牌名称会对用户进行展示。" }, "customer_service_mobile" : { "type" : "string", "description" : "客服电话。" }, "customer_service_url" : { "type" : "string", "description" : "客服链接。" }, "voucher_description" : { "type" : "string", "description" : "券详细使用说明。" }, "voucher_detail_image_urls" : { "type" : "array", "description" : "券详情链接", "items" : { "type" : "string" } }, "voucher_detail_images" : { "type" : "array", "description" : "券详细图列表,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE ,接口返回的resource_id即为该参数的值 上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB。", "items" : { "type" : "string" } }, "voucher_image" : { "type" : "string", "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页。\t需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值。" }, "voucher_image_url" : { "type" : "string", "description" : "券封面链接" }, "voucher_name" : { "type" : "string", "description" : "券名称。" } } }, "VoucherExchangeGoodsInfo" : { "type" : "object", "properties" : { "exchange_goods_name" : { "type" : "string", "description" : "兑换商品名称" } } }, "VoucherExpressInfo" : { "type" : "object", "properties" : { "pay_express" : { "type" : "string", "description" : "邮费标识,属于券的服务,用于用户门槛信息展示" } } }, "VoucherFailShopInfo" : { "type" : "object", "properties" : { "fail_message" : { "type" : "string", "description" : "请求失败提示信息。" }, "fail_reasons" : { "type" : "array", "description" : "请求失败的原因。", "items" : { "type" : "string" } }, "real_shop_id" : { "type" : "string", "description" : "请求失败的物理球房 id。" }, "shop_id" : { "type" : "string", "description" : "请求失败的支付球房 ID。" } } }, "VoucherFileInfo" : { "type" : "object", "properties" : { "file_download_url" : { "type" : "string", "description" : "发票文件下载" }, "file_name" : { "type" : "string", "description" : "文件名" }, "file_type" : { "type" : "string", "description" : "文件类型" } } }, "VoucherGoodsQuantitySpecificationInfo" : { "type" : "object", "properties" : { "directional_type" : { "type" : "string", "description" : "定向类型用于规格设置,比如:FIX 表示 固定满X件,APPOINT 表示指定第N件" }, "specification_quantity" : { "type" : "integer", "description" : "数量" }, "specification_unit" : { "type" : "string", "description" : "单位" } } }, "VoucherInventoryInfo" : { "type" : "object", "properties" : { "send_count" : { "type" : "integer", "description" : "已发放数量。" }, "use_count" : { "type" : "integer", "description" : "已核销数量。" } } }, "VoucherMiniAppSendGuideInfo" : { "type" : "object", "properties" : { "mini_app_url" : { "type" : "string", "description" : "小程序发券链接" } } }, "VoucherMiniAppUseGuideInfo" : { "type" : "object", "properties" : { "mini_app_service_codes" : { "type" : "array", "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。", "items" : { "type" : "string" } }, "mini_app_url" : { "type" : "string", "description" : "小程序核销链接" } } }, "VoucherPackageActivityInfo" : { "type" : "object", "properties" : { "activity_base_info" : { "$ref" : "#/components/schemas/ActivityBaseInfo" }, "voucher_available_scope_info" : { "$ref" : "#/components/schemas/VoucherAvailableScopeInfo" }, "voucher_deduct_info" : { "$ref" : "#/components/schemas/VoucherDeductInfo" }, "voucher_display_pattern_info" : { "$ref" : "#/components/schemas/VoucherDisplayPatternInfo" }, "voucher_send_mode_info" : { "$ref" : "#/components/schemas/VoucherSendModeInfo" }, "voucher_use_rule_info" : { "$ref" : "#/components/schemas/VoucherUseRuleInfo" } } }, "VoucherPackageBaseInfo" : { "type" : "object", "properties" : { "purchase_end_time" : { "type" : "string", "description" : "券包购买结束时间" }, "purchase_start_time" : { "type" : "string", "description" : "券包购买开始时间" }, "voucher_package_id" : { "type" : "string", "description" : "券包id" }, "voucher_package_name" : { "type" : "string", "description" : "券包名称" }, "voucher_package_status" : { "type" : "string", "description" : "券包状态。 CREATED:已创建, ENABLE: 已发布(包含进行中和已过期,已过期以voucher_package_purchase_end_time为准), PAUSED: 已暂停, DISABLE: 已停止;" }, "voucher_total_amount" : { "type" : "string", "description" : "券包总价值(单位是元): 券包下券的优惠总额(满减券指优惠面额,折扣券指优惠上限,特价券指原价减去特价)" } } }, "VoucherPackageConsultResult" : { "type" : "object", "properties" : { "consult_result_code" : { "type" : "string", "description" : "券包购买咨询结果code:\tSUCCESS:可以领取;\tPRODUCT_NOT_ENABLE:产品不可用;\tNOT_IN_SELL_TIME:不在销售时间内;\tPRODUCT_SOLD_OUT:产品售罄;\tUSER_PURCHASE_LIMIT:用户购买上限;\tOTHER:不可购买,未知原因", "example" : "SUCCESS" }, "voucher_package_id" : { "type" : "string", "description" : "券包id", "example" : "IP20220628016671405804297103167741" } } }, "VoucherPackageInfo" : { "type" : "object", "properties" : { "voucher_package_base_info" : { "$ref" : "#/components/schemas/VoucherPackageBaseInfo" }, "voucher_package_sales_lite_info" : { "$ref" : "#/components/schemas/VoucherPackageSalesLiteInfo" } } }, "VoucherPackageModeInfo" : { "type" : "object", "properties" : { "voucher_package_id" : { "type" : "string", "description" : "券包id,对应alipay.marketing.activity.voucherpackage.query中voucher_package_id。" } } }, "VoucherPackageSalesInfo" : { "type" : "object", "properties" : { "budget" : { "type" : "integer", "description" : "券包售卖预算,单位是份数", "example" : "1000" }, "pay_channel" : { "type" : "string", "description" : "券包购买支付渠道\tpcredit:花呗\tcreditCard:信用卡\tcredit_group:花呗与信用卡\t为空则不限渠道", "example" : "pcredit" }, "purchase_url" : { "type" : "string", "description" : "券包购买链接", "example" : "http://123.htm" }, "sale_count_limit_in_period" : { "type" : "integer", "description" : "券包售卖期限内最大购买次数", "example" : "5" }, "sale_period_limit" : { "type" : "string", "description" : "券包购买期限类型\tNO:不限制 \tALL:售卖时间内 \tDAY:天 \tWEEK:周 \tMONTH:月", "example" : "NO" }, "sale_price" : { "type" : "string", "description" : "券包售卖价格,单位是元", "example" : "1.99" } } }, "VoucherPackageSalesLiteInfo" : { "type" : "object", "properties" : { "budget" : { "type" : "integer", "description" : "券包预算,单位是份数", "example" : "100" }, "sale_price" : { "type" : "string", "description" : "券包售卖价格,单位是元", "example" : "3.99" } } }, "VoucherPackageUseRule" : { "type" : "object", "properties" : { "use_rule_desc" : { "type" : "string", "description" : "券包使用规则", "example" : "当前券包的券必须在线下扫码点餐场景使用" } } }, "VoucherRechargeInfo" : { "type" : "object", "properties" : { "recharge_type" : { "type" : "string", "description" : "预充值方式。 \t枚举值:\tALIPAY_BALANCE 支付宝余额预充值" }, "voucher_balance_recharge_info" : { "$ref" : "#/components/schemas/VoucherBalanceRechargeInfo" } } }, "VoucherRefundDetailInfo" : { "type" : "object", "properties" : { "voucher_refund_use_times" : { "type" : "integer", "description" : "本次取消核销次数", "example" : "1" } } }, "VoucherRelativePeriodInfo" : { "type" : "object", "properties" : { "time_restrict_info" : { "$ref" : "#/components/schemas/TimeRestrictInfo" }, "valid_days_after_receive" : { "type" : "integer", "description" : "券生效后 N 天内可以使用。 可以配合wait_days_after_receive 字段使用。" }, "wait_days_after_receive" : { "type" : "integer", "description" : "用户领券后需要等待 N 天,券才可以生效。 \t字段值为 0 表示用户领券后立刻生效。" } } }, "VoucherSaleModeInfo" : { "type" : "object", "properties" : { "fund_custody_mode" : { "type" : "string", "description" : "资金托管方式" }, "overdue_refundable" : { "type" : "boolean", "description" : "是否支持优惠券过期后,自动退款给用户。 不填默认否,枚举值: true:是 false:否。自动退款功能需要服务商在优惠券过期时,主动调用alipay.marketing.activity.order.refund接口进行退款。 如果配置优惠券时选择了过期自动退款,但是实际券过期后,服务商没有进行退款,那么用户投诉后,需要服务商进行解决。" }, "overdue_refundable_need_confirm" : { "type" : "boolean", "description" : "在支持过期自动退款后,支付宝发起自动退款前 是否需要向商户确认退款。 不填默认否,枚举值: true:是 false:否。\t\t如果选择了 true:是 ,则需要商户配合接入 过期自动退款前是否需要向商户确认SPI(spi.alipay.marketing.activity.order.refundconfirm) 以及 退款确认结果API(alipay.marketing.activity.order.refundconfirmcommit)" }, "payee_pid" : { "type" : "string", "description" : "收款账号。 目前的结算规则是,每核销一笔优惠券,支付宝会打款到该收款账户。" }, "refundable" : { "type" : "boolean", "description" : "购买的优惠券是否允许退款。 不填默认否,枚举值: true:是 false:否" }, "refundable_need_confirm" : { "type" : "boolean", "description" : "在支持随时退后,支付宝发起退款前用于判断是否需要向商户确认退款。 不填默认否,枚举值: true:是 false:否。 如果选择了 true:是 ,则需要商户配合接入退款前是否需要向商户确认SPI(spi.alipay.marketing.activity.order.refundconfirm)" }, "sale_amount" : { "type" : "string", "description" : "用户购买优惠券需要支付的金额" }, "settle_info" : { "$ref" : "#/components/schemas/BizfundSettleInfo" } } }, "VoucherSendGuide" : { "type" : "object", "properties" : { "voucher_detail_url" : { "type" : "string", "description" : "领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。" } } }, "VoucherSendGuideInfo" : { "type" : "object", "properties" : { "mini_app_send_guide_info" : { "$ref" : "#/components/schemas/VoucherMiniAppSendGuideInfo" }, "send_guide_mode" : { "type" : "array", "description" : "发放引导模式", "items" : { "type" : "string" } } } }, "VoucherSendGuideModify" : { "type" : "object", "properties" : { "voucher_detail_url" : { "type" : "string", "description" : "领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。说明:当 voucher_type=EXCHANGE_VOUCHER 时,该字段可修改,其他不允许修改。", "example" : "alipays://platformapi/startapp?appId=xxxx" } } }, "VoucherSendModeInfo" : { "type" : "object", "properties" : { "voucher_package_mode_info" : { "$ref" : "#/components/schemas/VoucherPackageModeInfo" }, "voucher_sale_mode_info" : { "$ref" : "#/components/schemas/VoucherSaleModeInfo" }, "voucher_send_mode" : { "type" : "string", "description" : "券发放模式。" }, "voucher_send_rule_info" : { "$ref" : "#/components/schemas/VoucherSendRuleInfo" } } }, "VoucherSendRuleDetail" : { "type" : "object", "properties" : { "natural_person_limit" : { "type" : "boolean", "description" : "是否开启自然人领取限制。自然人表示按照身份证纬度进行领取限制。" }, "phone_number_limit" : { "type" : "boolean", "description" : "是否开启电话号码领取限制。" }, "voucher_quantity" : { "type" : "integer", "description" : "发行券的数量。" }, "voucher_quantity_limit_per_user" : { "type" : "integer", "description" : "每人领取限制。默认按照支付宝uid进行领取限制;\t不填写或填入0,默认没有领取限制。" } } }, "VoucherSendRuleDetailModify" : { "type" : "object", "properties" : { "natural_person_limit" : { "type" : "boolean", "description" : "是否开启自然人领取限制。 自然人表示按照身份证纬度进行领取限制。", "example" : "true" }, "phone_number_limit" : { "type" : "string", "description" : "是否开启电话号码领取限制。", "example" : "true" }, "voucher_quantity_limit_per_user" : { "type" : "integer", "description" : "每人领取限制。 默认按照支付宝uid进行领取限制;", "example" : "1" } } }, "VoucherSendRuleInfo" : { "type" : "object", "properties" : { "max_quantity_by_day" : { "type" : "integer", "description" : "设置此字段,允许指定单天最大发券数量。" }, "natural_person_limit" : { "type" : "boolean", "description" : "是否开启自然人领取限制。 自然人表示按照身份证纬度进行领取限制。" }, "phone_number_limit" : { "type" : "boolean", "description" : "是否开启电话号码领取限制。" }, "phone_number_need_input_limit" : { "type" : "boolean", "description" : "下单时是否需要用户填写手机号码" }, "publish_end_time" : { "type" : "string", "description" : "券发放结束时间。 格式为:yyyy-MM-dd HH:mm:ss" }, "publish_start_time" : { "type" : "string", "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss" }, "quantity" : { "type" : "integer", "description" : "发行券的数量。" }, "quantity_limit_per_user" : { "type" : "integer", "description" : "每人领取限制。 默认按照支付宝账号进行领取限制; 不填写或填入0表示没有领取限制." }, "quantity_limit_per_user_period_type" : { "type" : "string", "description" : "周期限领配置,限制每人在固定周期内领取张数(voucher_quantity_limit_per_user),默认LIFE_CYCLE" }, "real_name_limit" : { "type" : "boolean", "description" : "限制支付宝实名用户才能领取支付券,默认为false表示不限制 枚举值 true\\false" } } }, "VoucherSummary" : { "type" : "object", "properties" : { "publish_count" : { "type" : "integer", "description" : "券已发放数量。" }, "used_count" : { "type" : "integer", "description" : "券已核销数量。" } } }, "VoucherUseDetailInfo" : { "type" : "object", "properties" : { "voucher_use_times" : { "type" : "integer", "description" : "本次核销次数", "example" : "1" } } }, "VoucherUseDetailResultInfo" : { "type" : "object", "properties" : { "voucher_max_un_use_times" : { "type" : "integer", "description" : "剩余可核销次数" } } }, "VoucherUseGuide" : { "type" : "object", "properties" : { "mini_app_id" : { "type" : "string", "description" : "券可用的小程序appId,卡包详情页可跳转到该appId" }, "mini_app_path" : { "type" : "string", "description" : "指定跳转到mini_app_id时的具体页面路径。" }, "mini_app_use_guide" : { "type" : "boolean", "description" : "小程序核销。" }, "offline_code_use_guide" : { "type" : "boolean", "description" : "线下扫码核销。" }, "service_codes" : { "type" : "array", "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。", "items" : { "type" : "string" } } } }, "VoucherUseGuideInfo" : { "type" : "object", "properties" : { "mini_app_use_guide_info" : { "$ref" : "#/components/schemas/VoucherMiniAppUseGuideInfo" }, "use_guide_mode" : { "type" : "array", "description" : "使用引导模式", "items" : { "type" : "string" } } } }, "VoucherUseGuideModify" : { "type" : "object", "properties" : { "mini_app_id" : { "type" : "string", "description" : "券可用的小程序 appId,卡包详情页可跳转到该 appId。", "example" : "2021238412323412" }, "mini_app_path" : { "type" : "string", "description" : "指定跳转到 mini_app_id 时的具体页面路径。", "example" : "/index/path/path&query=xx%3dxx" }, "service_codes" : { "type" : "array", "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。", "items" : { "type" : "string" }, "example" : "[\"2020030921000303380758\"]" } } }, "VoucherUseRule" : { "type" : "object", "properties" : { "discount_voucher" : { "$ref" : "#/components/schemas/DiscountVoucher" }, "exchange_voucher" : { "$ref" : "#/components/schemas/ExchangeVoucher" }, "fix_voucher" : { "$ref" : "#/components/schemas/FixVoucher" }, "special_voucher" : { "$ref" : "#/components/schemas/SpecialVoucher" }, "voucher_available_scope" : { "$ref" : "#/components/schemas/VoucherAvailableScope" }, "voucher_valid_period" : { "$ref" : "#/components/schemas/VoucherValidPeriod" } } }, "VoucherUseRuleInfo" : { "type" : "object", "properties" : { "quantity_limit_per_user" : { "type" : "integer", "description" : "核销次数限制。" }, "quantity_limit_per_user_period_type" : { "type" : "string", "description" : "核销周期。" }, "voucher_max_use_times" : { "type" : "integer", "description" : "券最大核销次数。" }, "voucher_use_ext_info" : { "type" : "string", "description" : "自定义扩展信息" }, "voucher_use_time_info" : { "$ref" : "#/components/schemas/VoucherUseTimeInfo" } } }, "VoucherUseRuleModify" : { "type" : "object", "properties" : { "exchange_voucher" : { "$ref" : "#/components/schemas/ExchangeVoucherModify" }, "voucher_available_scope" : { "$ref" : "#/components/schemas/VoucherAvailableScopeModify" }, "voucher_valid_period" : { "$ref" : "#/components/schemas/VoucherValidPeriodModify" } } }, "VoucherUseTimeInfo" : { "type" : "object", "properties" : { "absolute_period_info" : { "$ref" : "#/components/schemas/VoucherAbsolutePeriodInfo" }, "period_type" : { "type" : "string", "description" : "券有效期。" }, "relative_period_info" : { "$ref" : "#/components/schemas/VoucherRelativePeriodInfo" } } }, "VoucherUseTimeRuleInfo" : { "type" : "object", "properties" : { "date_rule_info" : { "$ref" : "#/components/schemas/DateRuleInfo" }, "holiday_rule_info" : { "$ref" : "#/components/schemas/HolidayRuleInfo" }, "rule_type" : { "type" : "string", "description" : "规则类型" }, "week_rule_info" : { "$ref" : "#/components/schemas/WeekRuleInfo" } } }, "VoucherValidPeriod" : { "type" : "object", "properties" : { "type" : { "type" : "string", "description" : "券有效期。" }, "valid_begin_time" : { "type" : "string", "description" : "券可使用的开始时间。格式为:yyyy-MM-dd HH:mm:ss" }, "valid_days_after_receive" : { "type" : "integer", "description" : "券生效后N天内可以使用。可以配合wait_days_after_receive字段使用。" }, "valid_end_time" : { "type" : "string", "description" : "券可使用的结束时间。格式为yyyy-MM-dd HH:mm:ss" }, "wait_days_after_receive" : { "type" : "integer", "description" : "用户领券后需要等待N天,券才可以生效。如果该字段填入0或者不填写,则用户领券后立刻生效。" } } }, "VoucherValidPeriodModify" : { "type" : "object", "properties" : { "valid_begin_time" : { "type" : "string", "description" : "券可使用的开始时间。格式为:yyyy-MM-dd HH:mm:ss。", "example" : "2017-01-10 00:00:00" }, "valid_days_after_receive" : { "type" : "integer", "description" : "券生效后 N 天内可以使用。", "example" : "3" }, "valid_end_time" : { "type" : "string", "description" : "券可使用的结束时间。格式为yyyy-MM-dd HH:mm:ss。", "example" : "2017-01-13 23:59:59" }, "wait_days_after_receive" : { "type" : "integer", "description" : "用户领券后需要等待 N 天,券才可以生效。", "example" : "2" } } }, "WaitRepaymentOrderInfo" : { "type" : "object", "properties" : { "advance_order_id" : { "type" : "string", "description" : "垫资单id", "example" : "20190128002630010000170001187808" }, "alipay_user_id" : { "type" : "string", "description" : "买家的支付宝用户id", "example" : "2088302483540171" }, "biz_product" : { "type" : "string", "description" : "通常为商户签约的收单产品码", "example" : "GENERAL_WITHHOLDING" }, "open_id" : { "type" : "string", "description" : "买家的支付宝用户id", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "orig_biz_order_id" : { "type" : "string", "description" : "原始的业务单号,通常为支付宝交易号", "example" : "2018060821001001820554093702" }, "wait_repayment_amount" : { "type" : "integer", "description" : "垫资金额", "example" : "2.04" } } }, "WaybillInvoice" : { "type" : "object", "properties" : { "waybill_amount" : { "type" : "string", "description" : "即时配送运单金额", "example" : "100" }, "waybill_no" : { "type" : "string", "description" : "即时配送运单编号", "example" : "waybill_no_00001" } } }, "WaybillInvoiceIstd" : { "type" : "object", "properties" : { "reason" : { "type" : "string", "description" : "失败原因,需要传单个配送单的驳回原因", "example" : "开票失败原因" }, "shop_no" : { "type" : "string", "description" : "商家球房编号", "example" : "shop_no_00001" }, "waybill_amount" : { "type" : "string", "description" : "即时配送运单金额,waybill_invoce_status为1的情况下不能为空", "example" : "100" }, "waybill_invoice_status" : { "type" : "integer", "description" : "明细的运单开票状态,1:开票成功 2:不可开票 3:可开票;整体开票状态为0的情况下,无开票明细;整体开票状态为1,明细开票状态全部是1;整体开票状态为2,明细开票状态为2或者3", "example" : "0" }, "waybill_no" : { "type" : "string", "description" : "即时配送运单编号", "example" : "waybillNo_20200811" } } }, "WaybillInvoiceQueryIstd" : { "type" : "object", "properties" : { "reason" : { "type" : "string", "description" : "失败原因,需要传单个即时配送运单的驳回原因", "example" : "开票金额错误" }, "shop_no" : { "type" : "string", "description" : "商家球房编号", "example" : "shop_no_20200818" }, "waybill_amount" : { "type" : "string", "description" : "即时配送运单金额,waybill_invoce_status为1的情况下不能为空", "example" : "200" }, "waybill_invoice_status" : { "type" : "integer", "description" : "明细的运单开票状态,1:开票成功 2:不可开票 3:可开票;整体开票状态为0的情况下,无开票明细;整体开票状态为1,明细开票状态全部是1;整体开票状态为2,明细开票状态全部为2", "example" : "0" }, "waybill_no" : { "type" : "string", "description" : "即时配送运单编号", "example" : "waybill_no_20200811" } } }, "WeekRuleInfo" : { "type" : "object", "properties" : { "time_range_info" : { "$ref" : "#/components/schemas/TimeRangeInfo" }, "week_day" : { "type" : "string", "description" : "星期数,以“,”连接多个星期数" } } }, "WidgetActivityInfo" : { "type" : "object", "properties" : { "activity_click_url" : { "type" : "string", "description" : "活动点击跳转到小程序的链接地址", "example" : "alipays://platformapi/startapp?appId= 2017072607907880&page=pages/index/index?param=xxxx" }, "activity_id" : { "type" : "string", "description" : "活动的唯一标识,同一个小程序橱窗下,该标识唯一,请开发者自行保证", "example" : "8948968498" }, "activity_name" : { "type" : "string", "description" : "活动名称", "example" : "这是一个活动名称" }, "activity_picture_urls" : { "type" : "array", "description" : "活动图片链接,最多不能超过5个", "items" : { "type" : "string" }, "example" : "[\"https://xxx.xxx.com/xxx.jpg\"]" } } }, "WidgetGoodsInfo" : { "type" : "object", "properties" : { "buying_url" : { "type" : "string", "description" : "该商品的小程序购买链接,如果需要进行公域推广,请字段请必填" }, "goods_brand" : { "type" : "string", "description" : "商品品牌,如果需要进行公域推广,该字段请必填" }, "goods_comment" : { "type" : "string", "description" : "商品辅助说明文案" }, "goods_description_label" : { "type" : "string", "description" : "商品说明标签(如-随心退)" }, "goods_id" : { "type" : "string", "description" : "商品的唯一标识,同一个小部件下,该标识唯一,请开发者自行保证" }, "goods_label" : { "type" : "string", "description" : "营销标签(如-限量特价),每个商品仅支持一个营销标签" }, "goods_name" : { "type" : "string", "description" : "商品名称" }, "goods_type" : { "type" : "string", "description" : "商品所属品类" }, "main_pic_url" : { "type" : "string", "description" : "商品主图片地址,如果需要进行公域推广,该字段请必填。" }, "need_public_promo" : { "type" : "boolean", "description" : "是否需要进行公域推广,默认情况下为false" }, "order_number" : { "type" : "integer", "description" : "商品排序,自然整数, 数字越小越靠前" }, "original_price" : { "type" : "string", "description" : "单位\"元\"的商品原价,传入数字,不需要传入\"元\"。如果需要进行公域推广,该字段请必填。" }, "publish_cities" : { "type" : "string", "description" : "投放城市的列表,详见https://www.mca.gov.cn/article/sj/xzqh/2020/2020/202007170301.html,有多个用英文,分隔。如果没有限制则不传入" }, "remaining_quantity" : { "type" : "integer", "description" : "剩余库存,如果需要进行公域推广,该字段请必填,并且当剩余库存为0时,请及时同步。" }, "sell_price" : { "type" : "string", "description" : "单位\"元\"的售价,传入数字,不需要传入\"元\"。如果需要进行公域推广,该字段请必填。" }, "sell_tag_list" : { "type" : "array", "description" : "商品的卖点标签,如果需要进行公域推广,请至少填写两个卖点标签。", "items" : { "type" : "string" } }, "sold_quantity" : { "type" : "integer", "description" : "已售数量" }, "status" : { "type" : "string", "description" : "商品状态,商品的上下架,默认情况为上架,上架为ONLINE,下架为OFFLINE" }, "total_quantity" : { "type" : "integer", "description" : "总库存量" } } }, "ZMGOBasicConfig" : { "type" : "object", "properties" : { "biz_type" : { "type" : "string", "description" : "商户在芝麻GO配置的业务身份编码" }, "contact" : { "type" : "string", "description" : "商家客服电话" }, "isv_pid" : { "type" : "string", "description" : "运营商商户支付宝ID。若非ISV代理模式,也就是商户自运营模式,此属性取值与partner_id一致。" }, "merchant_custom_logo" : { "type" : "string", "description" : "商户LOGO" }, "out_biz_no" : { "type" : "string", "description" : "外部业务单号,供幂等使用,需保证每次请求的值都不同" }, "partner_id" : { "type" : "string", "description" : "商户的支付宝ID,即为此商户创建芝麻GO模板" }, "template_name" : { "type" : "string", "description" : "芝麻GO模板名称" }, "template_no" : { "type" : "string", "description" : "模板编号" } } }, "ZMGOCycleFlexConfig" : { "type" : "object", "properties" : { "cycle_flex_withhold_fee_name" : { "type" : "string", "description" : "周期灵活扣的费用名称" }, "cycle_flex_withhold_max_price" : { "type" : "string", "description" : "周期灵活扣单期扣款的最大额度" }, "cycle_flex_withhold_total_period_count" : { "type" : "integer", "description" : "周期灵活扣的总期数" } } }, "ZMGOCycleWithholdConfig" : { "type" : "object", "properties" : { "deduct_plan" : { "type" : "array", "description" : "扣款计划", "items" : { "type" : "string" } }, "exemption_period" : { "type" : "string", "description" : "豁免期天数" }, "period" : { "type" : "string", "description" : "周期" }, "period_type" : { "type" : "string", "description" : "扣款周期类型,支持DAY-天模式,MONTH-月模式" }, "support_cycle_withhold_high_mode" : { "type" : "boolean", "description" : "是否支持周期扣高级模式,高级模式下扣款计划中内一起的扣款金额可以进行定制" }, "support_exemption_period" : { "type" : "boolean", "description" : "是否支持豁免期,如果支持豁免期,用户开通后再豁免期内退出无需扣款" }, "withhold_mode" : { "type" : "string", "description" : "设置扣款模式,目前支持每月固定日期或固定时间间隔" } } }, "ZMGOExtConfig" : { "type" : "object", "properties" : { "text_content_fill_rule_id" : { "type" : "string", "description" : "文本内容填充规则ID" }, "text_content_fill_variable" : { "type" : "string", "description" : "文本内容填充变量,变量key由运营同学提供" } } }, "ZMGOObligationConfig" : { "type" : "object", "properties" : { "benefit_url" : { "type" : "string", "description" : "芝麻GO管理页做任务按钮对应链接" }, "obligation_amount" : { "type" : "string", "description" : "完成任务所需的最少额度,当obligation_template取值为:OBTL002时必传" }, "obligation_template" : { "type" : "string", "description" : "承诺模式下,义务的类型,包含次数类型和金额类型:\t OBTL001(\"OBTL001\", \"在x时间内完成n次\"),\t OBTL002(\"OBTL002\", \"在x时间内达到n元金额\")" }, "obligation_times" : { "type" : "string", "description" : "完成任务所需的最少次数,当obligation_template取值为:OBTL001时必填" }, "promise_type_desc" : { "type" : "string", "description" : "任务描述" }, "task_progress_redirect_schema" : { "type" : "string", "description" : "芝麻GO管理页任务进度重定向链接" } } }, "ZMGOOpenConfig" : { "type" : "object", "properties" : { "apply_button_desc" : { "type" : "string", "description" : "开通页按钮文案描述;传入内容后开通页点击开通按钮展示文案会使用该字段传入内容" }, "appoint_date" : { "type" : "string", "description" : "固定到期时间或每月的第几日。 (1)当period_mode为APPOINT_DATE时,取值固定日期,如\"2022-06-01 00:00:00\",表示协议在6月1号0点到期; (2)当period_mode为FIX_DATE,取值\"3\",表示协议在period_time个月后的3号到期。" }, "card_color_scheme" : { "type" : "string", "description" : "芝麻GO卡颜色。 C_BLACK(\"C_BLACK\", \"黑色\"), C_RED(\"C_RED\", \"红色\"), C_GREEN(\"C_GREEN\", \"绿色\"), C_LIGHT_BLUE(\"C_LIGHT_BLUE\", \"浅蓝色\"), C_BLUE(\"C_BLUE\", \"蓝色\"), C_ORANGE(\"C_ORANGE\",\"橙色\"), C_PURPLE(\"C_PURPLE\", \"紫色\");" }, "custom_open_tip_list" : { "type" : "string", "description" : "未完成任务规则详情" }, "custom_open_tips" : { "type" : "string", "description" : "规则详情" }, "freeze_amount" : { "type" : "string", "description" : "担保金额额度" }, "min_sign_interval" : { "type" : "string", "description" : "用户签约间隔时间" }, "period_mode" : { "type" : "string", "description" : "芝麻GO义务到期的计算方式。包括: RELATIVE_DATE(\"RELATIVE_DATE\", \"相对日期\"), ABSOLATE_DATE(\"ABSOLATE_DATE\", \"绝对日期(当日开始计算)\"), ABSOLUTE_PLUS_1_DATE(\"ABSOLUTE_PLUS_1_DATE\", \"绝对日期(次日开始计算)\"), FIX_DATE(\"FIX_DATE\", \"固定日期\"), APPOINT_DATE(\"APPOINT_DATE\", \"指定日期\")," }, "period_time" : { "type" : "string", "description" : "周期时长\t当period_mode为RELATIVE_DATE、ABSOLATE_DATE、ABSOLUTE_PLUS_1_DATE、FIX_DATE时必填" }, "show_sign_success_page" : { "type" : "boolean", "description" : "是否展示签约完成页" }, "sign_again_schema" : { "type" : "string", "description" : "用户签约商户活动到期" }, "sign_success_task_button_desc" : { "type" : "string", "description" : "签约完成页任务按钮描述,当展示签约完成页=true的时候 改内容必填" }, "support_expire_deferral" : { "type" : "boolean", "description" : "是否支持延期特权" } } }, "ZMGOQuitConfig" : { "type" : "object", "properties" : { "quit_desc" : { "type" : "string", "description" : "退出提示" }, "quit_jump_url" : { "type" : "string", "description" : "退出跳转商家页地址,当quit_type取值为:QUIT_MERCHANT_JUMP,必传" }, "quit_type" : { "type" : "string", "description" : "退出芝麻GO方式,取值:\t (1)QUIT_COMMON(\"QUIT_COMMON\", \"标准退出\"),\t(2)QUIT_MERCHANT_JUMP(\"QUIT_MERCHANT_JUMP\", \"商家页退出\"),\t(3)QUIT_ONLY_TIPS(\"QUIT_ONLY_TIPS\", \"仅退出提示\")" } } }, "ZMGORightConfig" : { "type" : "object", "properties" : { "cumulative_preferential_redirect_schema" : { "type" : "string", "description" : "芝麻GO管理页已享优惠进度的重定向链接" }, "custom_benefit_desc" : { "type" : "string", "description" : "权益描述" }, "custom_sub_benefit_desc" : { "type" : "string", "description" : "权益描述子标题" } } }, "ZMGOSettlementConfig" : { "type" : "object", "properties" : { "custom_fee_name" : { "type" : "string", "description" : "会员费扣费名称" }, "cycle_flex_withhold_config" : { "$ref" : "#/components/schemas/ZMGOCycleFlexConfig" }, "cycle_withhold_config" : { "$ref" : "#/components/schemas/ZMGOCycleWithholdConfig" }, "exp_stop_delay_days" : { "type" : "integer", "description" : "预计结算延迟天数,当exp_stop_time_mode取值RELATIVE_DATE、ABSOLATE_DATE、ABSOLUTE_PLUS_1_DATE时,必传" }, "exp_stop_time" : { "type" : "string", "description" : "预期结算时间,当exp_stop_time_mode取值APPOINT_DATE时,必传" }, "exp_stop_time_mode" : { "type" : "string", "description" : "预计结算时间模式,取值:(1)RELATIVE_DATE(\"RELATIVE_DATE\", \"相对日期\"), (2)ABSOLATE_DATE(\"ABSOLATE_DATE\", \"绝对日期(当日开始计算)\"), (3)ABSOLUTE_PLUS_1_DATE(\"ABSOLUTE_PLUS_1_DATE\", \"绝对日期(次日开始计算)\"), (4)APPOINT_DATE(\"APPOINT_DATE\", \"指定日期\")" }, "fulfilltimes_custom_settlement_plan" : { "type" : "string", "description" : "按履约次数灵活扣款计划。当settlement_type取值为fulfillTimesCustomSettlement时,此属性必传" }, "settlement_type" : { "type" : "string", "description" : "结算类型,取值:\t BENEFIT_SETTLEMENT(\"benefitSettlement\", \"按权益金额结算\"),\t FULFILL_TIMES_CUSTOM_SETTLEMENT(\"fulfillTimesCustomSettlement\",\"按履约次数扣款\")" } } }, "ZMGoOutDiscountInfo" : { "type" : "object", "properties" : { "discount_amount" : { "type" : "string", "description" : "商户回传的优惠金额,如用户享受的红包金额,单位元", "example" : "8.75" }, "discount_name" : { "type" : "string", "description" : "商户数据回传的优惠信息的名称", "example" : "滴滴打车优惠001" }, "discount_type" : { "type" : "string", "description" : "优惠信息的类型。为枚举值,商户可任意选择一个值作为入参传入。可取值:\t(\"exclusiveBenefit\",\"专享优惠\"),\t(\"exclusiveDiscount\",\"专享折扣\"),\t(\"appreciationBenefit\", \"增值权益\"),\t(\"memberPoint\", \"会员积分\")", "example" : "exclusiveBenefit" } } }, "ZMGoTradeInfo" : { "type" : "object", "properties" : { "amount" : { "type" : "string", "description" : "用户和商户发生交易的交易单金额,单位元", "example" : "3.57" }, "trade_no" : { "type" : "string", "description" : "用户和商户发生交易的交易单号,仅在商户需要回传交易信息时传入。", "example" : "2020081722001435461000061785" } } }, "ZhimaCreditPayafteruseCreditagreementQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "EXTRA_PARAM_FORMAT_ERROR", "INVALID_PARAMETER", "CREDIT_AUTH_NOT_EXIST", "ILLEGAL_QUERY", "CREDIT_AGREEMENT_NOT_EXIST", "DEPEND_FAILURE" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPayafteruseCreditagreementQueryResponseModel" : { "type" : "object", "properties" : { "agreement_status" : { "type" : "string", "description" : "开通/授权状态,VALID: 有效,INVALID: 无效", "example" : "VALID" }, "biz_time" : { "type" : "string", "description" : "开通时间,agreement_status为VALID有效。", "example" : "2020-09-15 11:23:04" }, "credit_agreement_id" : { "type" : "string", "description" : "芝麻开通/授权协议号", "example" : "ZMOP99202011240100520025162811" }, "ext_info" : { "type" : "string", "description" : "该字段只在特殊业务场景下,根据业务方约定返回;一般业务场景下不需要消费该字段", "example" : "{\"key\":\"value\"}" }, "out_agreement_no" : { "type" : "string", "description" : "商户外部协议号", "example" : "2014070700166653" } } }, "ZhimaCreditPayafteruseCreditagreementTransferErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "OUT_AGREEMENT_NO_DUPLICATE", "DEDUCT_AGREEMENT_INVALID", "ZHIMA_EVALUATE_NO_PASS", "CHECK_SIGN_SALES_FAIL", "SIGN_MODE_NOT_MATCH", "INVALID_PARAMETER", "USER_EXIST_VALID_AGREEMENT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPayafteruseCreditagreementTransferModel" : { "type" : "object", "properties" : { "category_id" : { "type" : "string", "description" : "芝麻外部类目", "example" : "credit_pay_test" }, "deduct_agreement_no" : { "type" : "string", "description" : "用户的代扣协议号", "example" : "20215401139331610689" }, "out_agreement_no" : { "type" : "string", "description" : "商户外部协议号,不同的支付宝用户需要传递不同的外部单号", "example" : "2014070700166653" }, "zm_service_id" : { "type" : "string", "description" : "芝麻信用服务ID", "example" : "2020050722001440031000061082" } } }, "ZhimaCreditPayafteruseCreditagreementTransferResponseModel" : { "type" : "object", "properties" : { "credit_agreement_id" : { "type" : "string", "description" : "芝麻开通协议号", "example" : "ZMOP99202011240100520025162811" }, "out_agreement_no" : { "type" : "string", "description" : "商户外部协议号", "example" : "2014070700166653" } } }, "ZhimaCreditPayafteruseCreditbizorderFinishErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "ORDER_NOT_EXIST", "INVALID_PARAMETER", "ORDER_STATUS_INVALID", "MERCHANT_NO_PERMISSION_OPERATE_ORDER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPayafteruseCreditbizorderFinishModel" : { "type" : "object", "properties" : { "credit_biz_order_id" : { "type" : "string", "description" : "信用服务订单号", "example" : "ZMCB20201021200102012" }, "is_fulfilled" : { "type" : "string", "description" : "用户此订单是否守约。\t传true时,用户在芝麻信用-守约记录中,该笔订单是已守约状态;\t传false时,用户在芝麻信用-守约记录中,该笔订单是已取消状态。", "example" : "true" }, "out_request_no" : { "type" : "string", "description" : "商户外部请求号", "example" : "2014070700166653" }, "remark" : { "type" : "string", "description" : "商户对本次操作的附言描述", "example" : "完结订单" } } }, "ZhimaCreditPayafteruseCreditbizorderFinishResponseModel" : { "type" : "object", "properties" : { "credit_biz_order_id" : { "type" : "string", "description" : "信用服务订单号", "example" : "ZMCB20201021200102012" }, "order_status" : { "type" : "string", "description" : "信用服务订单状态.INIT: 下单状态; TRADE_CLOSED: 订单取消或者交易全额退款; TRADE_FINISHED:扣款成功状态", "example" : "INIT" }, "out_request_no" : { "type" : "string", "description" : "商户外部请求号", "example" : "4977164666634053" } } }, "ZhimaCreditPayafteruseCreditbizorderOrderErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER", "CREDIT_AGREEMENT_INVALID", "CHECK_SIGN_SALES_FAIL", "ZHIMA_EVALUATE_NO_PASS", "SIGN_SALES_CHANGE", "ZHIMA_CHECK_NO_PASS" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPayafteruseCreditbizorderOrderModel" : { "type" : "object", "properties" : { "amount_type" : { "type" : "string", "description" : "只有当传递了order_amount时,该参数才有意义; 1)该参数不传时,默认为ORDER_AMOUNT。 2)传ORDER_AMOUNT时,表示order_amount传入的金额为后付金额,在发起扣款时,最大扣款支付金额为order_amount传入的值; 3)传RISK_AMOUNT时,表示ORDER_AMOUNT传入的金额为风险预估金额,在发起扣款时,最大扣款支付金额为商户签约时约定的上限额度。", "example" : "RISK_AMOUNT" }, "body" : { "type" : "string", "description" : "订单描述", "example" : "Iphone6 16G" }, "category_id" : { "type" : "string", "description" : "芝麻外部类目", "example" : "credit_pay_after_use" }, "credit_agreement_id" : { "type" : "string", "description" : "芝麻开通协议号", "example" : "ZMOP99202011240100520025162811" }, "extend_params" : { "type" : "string", "description" : "业务扩展参数", "example" : "{\"key\":\"value\"}" }, "order_amount" : { "type" : "string", "description" : "订单金额,该金额为当前订单扣款的累计最大额度。例如,下单时传递10.00,则扣款时最大支付金额为10元。若该参数不传,则默认使用商户签约时约定的上限额度。芝麻速办业务场景(极速回收、极速返利、极速退款等)商户请求时,order_amount必传,且amount_type类型需传递ORDER_AMOUNT。", "example" : "88.66" }, "out_order_no" : { "type" : "string", "description" : "商户外部订单号,保证不重复", "example" : "out00120312323232" }, "product_code" : { "type" : "string", "description" : "产品码,不传默认为CREDIT_PAY_AFTER_USE", "example" : "CREDIT_PAY_AFTER_USE" }, "subject" : { "type" : "string", "description" : "订单标题。\t注意:不可使用特殊字符,如 /,=,& 等。", "example" : "Iphone6 16G" } } }, "ZhimaCreditPayafteruseCreditbizorderOrderResponseModel" : { "type" : "object", "properties" : { "credit_biz_order_id" : { "type" : "string", "description" : "信用服务订单号", "example" : "ZMCB99202103310000450000041833" }, "out_order_no" : { "type" : "string", "description" : "商户传入的外部订单号", "example" : "out1210212021212" } } }, "ZhimaCreditPayafteruseCreditbizorderQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER", "ILLEGAL_QUERY" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPayafteruseCreditbizorderQueryResponseModel" : { "type" : "object", "properties" : { "create_time" : { "type" : "string", "description" : "订单创建时间", "example" : "2020-09-15 11:23:04" }, "credit_agreement_id" : { "type" : "string", "description" : "芝麻开通协议号", "example" : "ZMOP2014070700166653" }, "credit_biz_order_id" : { "type" : "string", "description" : "信用服务订单号", "example" : "ZMCB20201021200102012" }, "order_status" : { "type" : "string", "description" : "信用服务订单状态。INIT: 下单状态;TRADE_CLOSED: 订单取消或者交易全额退款; TRADE_FINISHED:扣款成功状态", "example" : "INIT" }, "product_code" : { "type" : "string", "description" : "产品码", "example" : "CREDIT_PAY_AFTER_USE" }, "total_amount" : { "type" : "string", "description" : "信用服务订单金额", "example" : "88.88" }, "trade_no" : { "type" : "string", "description" : "支付宝交易号", "example" : "2021030422001428451400037476" }, "zm_service_id" : { "type" : "string", "description" : "芝麻信用服务ID", "example" : "2020050722001440031000061082" } } }, "ZhimaCreditPeZmgoAgreementQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ZMGO_BIZ_AGR_NULL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPeZmgoAgreementQueryResponseModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花芝轻会员协议号。", "example" : "20185513447859192007" }, "agreement_name" : { "type" : "string", "description" : "协议名称", "example" : "花呗先享会员" }, "agreement_status" : { "type" : "string", "description" : "协议状态。Y表示状态有效,P表示状态失效中,N表示状态已失效", "example" : "Y" }, "alipay_user_id" : { "type" : "string", "description" : "支付宝用户userId", "example" : "2088302424419340" }, "biz_type" : { "type" : "string", "description" : "代表签约芝麻GO所属业务类型", "example" : "zm_zmgo" }, "open_id" : { "type" : "string", "description" : "支付宝用户userId", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "sign_time" : { "type" : "string", "description" : "该条芝麻GO协议签约时间", "example" : "2021-09-27 00:00:00" }, "start_time" : { "type" : "string", "description" : "该芝麻GO协议开始时间", "example" : "2021-09-27 00:00:00" } } }, "ZhimaCreditPeZmgoAgreementUnsignErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "ZMGO_BIZ_AGR_SYSTEM_ERROR", "ZMGO_BIZ_ORDER_SYSTEM_ERROR", "SETTLE_BALANCE_ACCOUNT_ERROR", "ZMGO_SYSTEM_AMOUNT_NOT_CLEAR", "ZMGO_BIZ_AGR_ERROR", "ZMGO_CREATE_WPN_SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPeZmgoAgreementUnsignModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "支付宝系统中用以唯一标识用户签约记录的编号。", "example" : "ZMGO_AGR2020122710020604120000000001" }, "alipay_user_id" : { "type" : "string", "description" : "支付宝的用户id", "example" : "2088302841345600" }, "open_id" : { "type" : "string", "description" : "支付宝的用户id", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "partner_id" : { "type" : "string", "description" : "商户ID", "example" : "2088302424614288" }, "quit_type" : { "type" : "string", "description" : "quit_type为USER_CANCEL_QUIT或者SETTLE_APPLY_QUIT", "example" : "SETTLE_APPLY_QUIT" } } }, "ZhimaCreditPeZmgoAgreementUnsignResponseModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "支付宝系统中用以唯一标识用户签约记录的编号。", "example" : "ZMGO_AGR2020122710020604120000000001" }, "withhold_plan_no" : { "type" : "string", "description" : "调用芝麻GO结算受理接口时,需要传入该值", "example" : "ZMGO_WHD2021022210020603120000301613" } } }, "ZhimaCreditPeZmgoBizoptCloseErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_OPT_STATUS_CHECK_FAILURE", "BIZ_OPT_NOT_EXIST", "BIZ_OPT_ERROR", "ZMGO_BIZ_OPT_NULL", "BIZ_OPT_UPDATE_FAILURE", "REQUEST_ACCESS_ILLEGAL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPeZmgoBizoptCloseModel" : { "type" : "object", "properties" : { "alipay_user_id" : { "type" : "string", "description" : "支付宝用户Id", "example" : "2088302841345600" }, "open_id" : { "type" : "string", "description" : "支付宝用户Id", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "out_request_no" : { "type" : "string", "description" : "商户本次操作的请求流水号,由商户生成,请确保唯一性", "example" : "99202005050100930053707258" }, "partner_id" : { "type" : "string", "description" : "商户Id", "example" : "2088302424614288" }, "template_id" : { "type" : "string", "description" : "芝麻GO配置模板Id", "example" : "2021012300020903090008858258" } } }, "ZhimaCreditPeZmgoBizoptCloseResponseModel" : { "type" : "object", "properties" : { "biz_opt_no" : { "type" : "string", "description" : "芝麻GO签约申请时生成的签约申请单据号", "example" : "ZMGO_OPT2021020110020607850000006001" }, "open_id" : { "type" : "string", "description" : "蚂蚁统一会员ID", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "out_request_no" : { "type" : "string", "description" : "商户本次操作的请求流水号", "example" : "9e8cc8da16866a79161ee033cb58497b" }, "partner_id" : { "type" : "string", "description" : "商户ID", "example" : "2088302424614288" }, "user_id" : { "type" : "string", "description" : "蚂蚁统一会员ID", "example" : "2088302841345600" } } }, "ZhimaCreditPeZmgoCumulationSyncErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "REQUEST_PARAM_ILLEGAL", "SYSTEM_ERROR", "INVALID_PARAMETER", "REQUEST_ACCESS_ILLEGAL", "INVALID_BIZ_ACTION", "EASY_MEMBER_CONSULT_FAIL", "INVALID_CUMULATE_MODE", "IDEMPOTENT_ERROR", "INVALID_CUMULATE_TYPE", "PAY_ORDER_NOT_EXIST", "ORDER_AMOUNT_ILLEGAL", "DISCOUNT_AMOUNT_ILLEGAL", "REFUND_TIME_ILLEGAL", "REFUND_ILLEGAL", "BUYER_INFO_ERROR", "SELLER_INFO_ERROR", "TRADE_NOT_EXIST" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPeZmgoCumulationSyncModel" : { "type" : "object", "properties" : { "agreement_no" : { "type" : "string", "description" : "芝麻go协议号,唯一标识一个芝麻go协议。为必传入参。", "example" : "20195108518085620000" }, "amount_type_data" : { "$ref" : "#/components/schemas/AmountTypeData" }, "biz_action" : { "type" : "string", "description" : "数据回传的动作类型,为枚举值,为必传入参。\t可取值:\t(\"ORDER_PAID\", \"正向支付\"),(\"ORDER_REFUND\", \"逆向退款\")。\t其中ORDER_PAID表示回传为正向的,即订单金额累加,优惠累加,任务次数累加;而ORDER_REFUND表示回传为逆向的,即订单金额退款,优惠退款,任务次数回退。", "example" : "ORDER_PAID" }, "biz_time" : { "type" : "string", "description" : "交易发生时间,包括:订单交易时间,优惠核销时间,以及任务完成时间。为必传入参。\t如:用户在【2019-03-08 00:00:00】核销了一个红包,但是【2019-03-10 00:00:00】才进行数据回传,此时biz_time取值红包核销的时间,也就是【2019-03-08 00:00:00】。", "example" : "2019-03-08 19:51:35" }, "cumulate_data_type" : { "type" : "string", "description" : "累计类型。为枚举值,为必传入参。\t可取值:(\"AMOUNT\", \"金额类型\"),(\"TASK\", \"任务类型\"),(\"AMOUNT_TASK\", \"额度和任务类型\")。\t其中,交易解耦模式仅允许AMOUNT或TASK。而交易绑定模式下,仅允许AMOUNT_TASK。", "example" : "AMOUNT" }, "ext_info" : { "type" : "string", "description" : "扩展字段,格式为Json格式的字符串,非必传。", "example" : "{\"number\":\"20200303938282939\"}" }, "has_alipay_trade" : { "type" : "boolean", "description" : "是否为支付宝交易。仅在累计模式为【交易绑定模式】下被消费。当芝麻Go模板配置的累计模式为交易绑定模式时,此时需传入扩展参数是否为支付宝交易。若是支付宝交易,传值true,否则为false。若不传此字段,默认为false。\t若为true,则会对交易号trade_no进行校验,校验是否为支付宝交易,以及用户userId和商户partnerId是否一致,若校验不通过,累计失败。", "example" : "false" }, "open_id" : { "type" : "string", "description" : "用户userId,蚂蚁统一会员ID,为必传入参。", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "out_biz_no" : { "type" : "string", "description" : "外部业务号。需保证唯一,为必传入参。\t若接口调用失败,提示信息为更换幂等号,商户更换此字段重新发起调用。", "example" : "2020081211223006150094012926289" }, "partner_id" : { "type" : "string", "description" : "商户ID,为必传入参。", "example" : "2088621805983504" }, "pay_out_biz_no" : { "type" : "string", "description" : "逆向对应的正向外部业务号。逆向场景为必传入参。也就是biz_action为ORDER_REFUND时为必传入参。\t逆向时需通过此字段明确对应的正向的外部业务号。", "example" : "2020081211223006150094012926289" }, "request_from" : { "type" : "string", "description" : "取固定值ExternalMerchantSource,为必传入参。表示数据回传来源为外部商户,数据回传内部逻辑需感知。", "example" : "ExternalMerchantSource" }, "task_type_data" : { "$ref" : "#/components/schemas/TaskTypeData" }, "user_id" : { "type" : "string", "description" : "用户userId,蚂蚁统一会员ID,为必传入参。", "example" : "2088602002015001" } } }, "ZhimaCreditPeZmgoCumulationSyncResponseModel" : { "type" : "object", "properties" : { "agreement_no" : { "type" : "string", "description" : "芝麻go协议号,唯一标识一个芝麻go协议。\t累计成功后返回此字段。", "example" : "20195108518085620000" }, "fail_reason" : { "type" : "string", "description" : "数据回传失败原因描述。\t累计失败后返回此字段。", "example" : "入参userId为空" }, "open_id" : { "type" : "string", "description" : "用户userId,蚂蚁统一会员ID。\t累计成功后返回此字段。", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "out_biz_no" : { "type" : "string", "description" : "外部业务号。需保证唯一,若接口调用失败,提示信息为更换幂等号,商户更换此字段重新发起调用。\t累计成功后返回此字段。", "example" : "2020081211223006150094012926289" }, "user_id" : { "type" : "string", "description" : "用户userId,蚂蚁统一会员ID。\t累计成功后返回此字段。", "example" : "2088602002015001" } } }, "ZhimaCreditPeZmgoPreorderCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "CUSTOM_FREEZE_AMOUNT_NOT_SUPPORT", "NOTIFY_URL_NOT_SUPPORT", "ORDER_INDEPOTENT_FAILED", "TEMPLATE_INVALID", "MERCHANT_AGREEMENT_CHECK_FAILED", "FREEZE_AMOUNT_INVALID", "ORDER_HAS_CLOSED", "SYSTEM_ERROR", "NOT_SUPPORT_DYNAMIC_TEMPLATE", "REQUEST_ACCESS_ILLEGAL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPeZmgoPreorderCreateModel" : { "type" : "object", "properties" : { "alipay_open_id" : { "type" : "string", "description" : "支付宝用户ID。同一个外部请求号,调用方要确保支付宝userId取值不变", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "alipay_user_id" : { "type" : "string", "description" : "支付宝用户ID。同一个外部请求号,调用方要确保支付宝userId取值不变", "example" : "2088759402857364" }, "biz_time" : { "type" : "string", "description" : "业务发生时间,如2016-07-06 00:00:02\t签约超时关单时间依赖这个时间\t这个时间会做幂等校验,如果创单幂等,但时间不同会失败", "example" : "2016-07-06 00:00:02" }, "custom_temp_conf" : { "type" : "string", "description" : "废弃字段,勿用", "example" : "SHOW_AGREEMENT_LIST=true" }, "expire_aisle_data" : { "type" : "string", "description" : "协议到期后通知", "example" : "业务方到期标识" }, "ext_template_conf" : { "$ref" : "#/components/schemas/ExtTemplateConf" }, "extend_params" : { "$ref" : "#/components/schemas/PreOrderExtInfo" }, "freeze_amount" : { "type" : "string", "description" : "冻结金额,单位:元", "example" : "1.00" }, "isv_pid" : { "type" : "string", "description" : "ISV商户ID", "example" : "2088374762857463" }, "out_request_no" : { "type" : "string", "description" : "外部请求号,唯一", "example" : "ORDER_12345678" }, "partner_id" : { "type" : "string", "description" : "商户ID", "example" : "2088437463829741" }, "partner_user_identifier" : { "type" : "string", "description" : "商户侧用户唯一标识。ex.商户侧uid", "example" : "user102934889234" }, "pay_aisle_data" : { "type" : "string", "description" : "结算成功后通知", "example" : "业务方结算标识" }, "sign_aisle_data" : { "type" : "string", "description" : "签约成功后通知", "example" : "业务方签约标识" }, "template_id" : { "type" : "string", "description" : "签约芝麻GO的模板ID", "example" : "2020122200020903760008552025" }, "timeout_express" : { "type" : "string", "description" : "超时关单时间\t默认1H。1m~15d。m表示分钟,h表示小时,d表示天。该参数数值不接受小数点, 如1.5h,可转换为90m\t签约超时关单时间依赖这个时间", "example" : "15m" } } }, "ZhimaCreditPeZmgoPreorderCreateResponseModel" : { "type" : "object", "properties" : { "biz_type" : { "type" : "string", "description" : "业务类型", "example" : "hongbaoqiandao" }, "partner_id" : { "type" : "string", "description" : "商户ID", "example" : "2088990000000000" }, "preorder_no" : { "type" : "string", "description" : "芝麻GO预创建单号", "example" : "ZMGO_ASO2019071000020903940000062019" } } }, "ZhimaCreditPeZmgoSettleApplyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "PAY_AMOUNT_IDEMPOTENT_ERROR", "SETTLE_ACCEPT_NOT_SUPPORT", "SETTLE_WITHHOLD_PLAN_NOT_EXIST", "SETTLE_WITHHOLD_PLAN_NO_ERROR", "ZMGO_CONFIG_SYSTEM_ERROR", "SETTLE_BALANCE_ACCOUNT_ERROR", "SETTLE_BIZ_ORDER_NOT_EXIST", "ZMGO_BIZ_ORDER_SYSTEM_ERROR", "ZMGO_SYSTEM_AMOUNT_NOT_CLEAR", "ZMGO_CREATE_WPN_SYSTEM_ERROR", "ZMGO_BIZ_AGR_SYSTEM_ERROR", "SETTLE_ILLEGAL_RPC", "SETTLE_WITHHOLD_PLAN_STATUS_ERROR", "SETTLE_BIZ_AGREEMENT_STATUS_FINISH", "BALANCE_AVAILABLE_AMOUNT_NOT_ENOUGH", "ZMGO_ACCEPTED_SYSTEM_ERROR", "SYSTEM_ERROR", "SETTLE_INVALID_SETTLEMENT_INFO", "PAY_AMOUNT_CHECK_ERROR", "CYCLE_WITHHOLD_NOTIN_ACCEPT_TIME", "CYCLE_WITHHOLD_PAY_AMOUNT_ERROR", "REQUEST_ACCESS_ILLEGAL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPeZmgoSettleApplyModel" : { "type" : "object", "properties" : { "action_type" : { "type" : "string", "description" : "DEFAULT_SETTLE 默认结算模式;\tPAY_TO_ZERO 支付转0元;", "example" : "DEFAULT_SETTLE或PAY_TO_ZERO" }, "agreement_id" : { "type" : "string", "description" : "支付宝系统中用以唯一标识用户签约记录的编号。", "example" : "ZMGO_AGR2020122710020604120000000001" }, "alipay_open_id" : { "type" : "string", "description" : "买家在支付宝的用户id", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "alipay_user_id" : { "type" : "string", "description" : "买家在支付宝的用户id", "example" : "2088101117955611" }, "out_request_no" : { "type" : "string", "description" : "商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。", "example" : "8077735255938032" }, "partner_id" : { "type" : "string", "description" : "商户ID", "example" : "2088102146225135" }, "pay_amount" : { "type" : "string", "description" : "需要支付的金额,单位为:元(人民币),精确到小数点后两位", "example" : "2.00" }, "settle_extend_params" : { "$ref" : "#/components/schemas/SettleExtraParams" }, "total_discount_amount" : { "type" : "string", "description" : "芝麻GO任务开始到到期过程中和任务相关享受的总优惠金额,单位为:元(人民币),精确到小数点后两位。", "example" : "3.00" }, "total_real_pay_amount" : { "type" : "string", "description" : "芝麻GO任务开始到到期过程中和任务相关支付的总金额,单位为:元(人民币),精确到小数点后两位。", "example" : "3.00" }, "total_task_count" : { "type" : "string", "description" : "芝麻GO任务开始到到期过程中和任务相关完成的任务次数", "example" : "0" }, "withhold_plan_no" : { "type" : "string", "description" : "芝麻GO结算时,需要传入的扣款单据号。来源于协议到期通知消息,外部商户接入时,该参数必填", "example" : "ZMGO_WHD2021010510020603410000006001" } } }, "ZhimaCreditPeZmgoSettleApplyResponseModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "支付宝系统中用以唯一标识用户签约记录的编号。", "example" : "ZMGO_AGR2020122710020604120000000001" }, "fail_reason" : { "type" : "string", "description" : "根据商户传入的轻会员协议结算周期内累计消费数据与支付宝端轻会员协议结算周期内消费数据比对之后,若数据不一致,则会返回对应的异常数据比对结果。", "example" : "累计支付宝支付金额不一致,支付宝:100.00元,商户:150.00元" }, "out_request_no" : { "type" : "string", "description" : "商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。", "example" : "8077735255938032" }, "settle_status" : { "type" : "string", "description" : "Y(\"Y\", \"支付成功\"),\tP(\"P\", \"支付中\"),\tN(\"N\", \"支付失败\"),", "example" : "P" }, "withhold_plan_no" : { "type" : "string", "description" : "芝麻GO结算时,需要传入的扣款单据号。来源于协议到期通知消息", "example" : "ZMGO_WHD2021010510020603410000006001" } } }, "ZhimaCreditPeZmgoSettleRefundErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NOT_EXIST", "REFUND_AMOUNT_CHECK_ERROR", "REQUEST_PARAM_ILLEGAL", "REQUEST_ACCESS_ILLEGAL", "REFUND_PARAM_IS_ERROR", "REFUND_AGREEMENT_STATUS_NOT_SUPPORT", "AUTH_OPT_ORDER_NOT_EXIST", "REFUND_OPT_ORDER_NOT_UNIQUE", "REFUND_OPT_ORDER_NOT_EXIST", "REFUND_TRADE_NO_NOT_EXIST", "REFUND_REQUEST_NO_IDEMPOTENT_FAIL", "AGREEMENT_AND_USER_NOT_MATCH", "REFUND_AMOUNT_IS_ILLEGAL", "REFUND_PAY_AMOUNT_IS_EMPTY", "REFUND_AMOUNT_IS_ZERO", "TRADENO_AND_AUTHOPT_NOT_MATCH", "OPTID_AND_TRADENO_ALL_EMPTY", "AGREEMENT_AND_PARTNER_NOT_MATCH", "REFUND_LAST_TIME_SUCCESS", "REFUND_LAST_TIME_FAIL", "REFUND_LAST_TIME_INIT", "REFUND_AGREEMENT_NOT_EXIST", "UNITRADEPROD_EXECUTE_ERROR", "TRADE_HAS_CLOSE", "SELLER_BALANCE_NOT_ENOUGH", "REFUND_AMT_NOT_EQUAL_TOTAL", "TRADE_NOT_EXIST", "TRADE_HAS_FINISHED", "REASON_TRADE_REFUND_FEE_ERR", "TRADE_NOT_ALLOW_REFUND", "REFUND_FEE_ERROR", "REASON_TRADE_BEEN_FREEZEN", "TRADE_STATUS_ERROR", "REFUND_LAST_TIME_ACCEPT", "REFUND_PAY_AMOUNT_IS_ZERO", "SETTLE_REFUND_ERROR", "SETTLE_REFUND_AMOUNT_ERROR", "SETTLE_WITHHOLD_PLAN_NOT_EXIST", "SETTLE_WITHHOLD_PLAN_STATUS_ERROR", "SETTLE_REFUND_BALANCE_ERROR", "SETTLE_BIZ_AGREEMENT_NOT_EXIST", "SETTLE_REFUND_REQUEST_NO_ERROR", "SETTLE_REFUND_ILLEGAL_ACCESS", "SETTLE_REFUND_TIME_ERROR", "SETTLE_REFUND_NOT_SUPPORT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPeZmgoSettleRefundModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "签约芝麻GO的业务协议号,在签约成功、结算成功等通知中回回传给商户。", "example" : "ZMGO_AGR2021010510020604080000006001" }, "alipay_open_id" : { "type" : "string", "description" : "支付宝用户ID", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "alipay_user_id" : { "type" : "string", "description" : "支付宝用户ID", "example" : "2088302841345600" }, "memo" : { "type" : "string", "description" : "本次退款说明", "example" : "退款" }, "out_request_no" : { "type" : "string", "description" : "外部请求号", "example" : "99202005050100930053707258" }, "partner_id" : { "type" : "string", "description" : "商户ID", "example" : "2088302424614288" }, "refund_amount" : { "type" : "string", "description" : "退款金额,单位为:元(人民币),精确到小数点后两位", "example" : "3.00" }, "refund_type" : { "type" : "string", "description" : "退款类型:\tMEMBER_FEE_REFUND 会员费结算退款 ,WITHHOLD_FEE_REFUND 周期扣款金额退款。\t不填写默认为 MEMBER_FEE_REFUND", "example" : "MEMBER_FEE_REFUND" }, "withhold_plan_no" : { "type" : "string", "description" : "芝麻侧扣款计划单据号,在结算扣款成功的通知消息中会回传。", "example" : "ZMGO_WHD2021010510020603410000006001" } } }, "ZhimaCreditPeZmgoSettleRefundResponseModel" : { "type" : "object", "properties" : { "fail_reason" : { "type" : "string", "description" : "退款操作错误原因描述", "example" : "退款金额超限" }, "out_request_no" : { "type" : "string", "description" : "外部请求号", "example" : "99202005050100930053707258" }, "refund_amount" : { "type" : "string", "description" : "本次请求退款金额", "example" : "3.00" }, "refund_opt_no" : { "type" : "string", "description" : "芝麻GO退款生成的内部唯一流水,外部商户可以拿这个参数进行对账", "example" : "ZMGO_OPT202107271002060716000012522x" }, "retry" : { "type" : "boolean", "description" : "此字段含义,商家接入时需咨询对接技术。", "example" : "true" }, "withhold_plan_no" : { "type" : "string", "description" : "本次退款的扣款计划单号", "example" : "ZMGO_WHD2021010510020603410000006001" } } }, "ZhimaCreditPeZmgoSettleUnfreezeErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ZMGO_CONFIG_SYSTEM_ERROR", "BALANCE_AVAILABLE_AMOUNT_NOT_ENOUGH", "BALANCE_ACCOUNT_MISSING", "BIZ_ORDER_NOT_EXIST_FAILURE", "SETTLE_BIZ_AGREEMENT_NOT_EXIST", "UNFREEZE_AGR_N_STATUS", "BIZ_OPT_IDEMPOTENT_FAILURE", "BIZ_OPT_UPDATE_FAILURE", "BALANCE_USER_LOCK_COLLISION", "BALANCE_IDEMPOTENT_CHECK_FAILURE", "BALANCE_SYSTEM_AMOUNT_NOT_ENOUGH", "REQUEST_ACCESS_ILLEGAL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCreditPeZmgoSettleUnfreezeModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花呗先享协议号", "example" : "20185513447859192007" }, "alipay_open_id" : { "type" : "string", "description" : "买家在支付宝的用户id", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "alipay_user_id" : { "type" : "string", "description" : "买家在支付宝的用户id", "example" : "2088101117955611" }, "biz_time" : { "type" : "string", "description" : "解冻成功时间", "example" : "2014-09-15 11:23:04" }, "order_title" : { "type" : "string", "description" : "解冻的描述", "example" : "2088411663864410" }, "out_request_no" : { "type" : "string", "description" : "商户本次操作的请求流水号,用于标识请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。由商户传入,最终返回给商户。", "example" : "8077735255938032" }, "partner_id" : { "type" : "string", "description" : "商户ID", "example" : "2088411663864410" }, "unfreeze_amount" : { "type" : "string", "description" : "解冻金额", "example" : "3.00" }, "unfreeze_extend_params" : { "$ref" : "#/components/schemas/UnfreezeExtendParams" } } }, "ZhimaCreditPeZmgoSettleUnfreezeResponseModel" : { "type" : "object", "properties" : { "fail_reaseon" : { "type" : "string", "description" : "失败原因", "example" : "余额户可用资金不足" }, "retry" : { "type" : "string", "description" : "是否可以重试", "example" : "true|false" }, "unfreeze_amount" : { "type" : "string", "description" : "解冻金额字符串", "example" : "1.00" }, "unfreeze_status" : { "type" : "string", "description" : "解冻状态", "example" : "Y/N" } } }, "ZhimaCustomerJobworthAuthenticationQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "USER_NOT_AUTHORIZE", "TOKEN_INVALID", "NOT_OPEN_ZM", "USER_NOT_OPEN_JOBWORTH", "INVALID_PARAMETER", "JOB_WORTH_BLACK_LIST", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCustomerJobworthAuthenticationQueryResponseModel" : { "type" : "object", "properties" : { "identity_result" : { "type" : "string", "description" : "SUCCESS代表可信,FAILED代表不可信,WAITING_VERIFY代表未知需要等待结果", "example" : "SUCCESS/FAILED/WAITING_VERIFY" }, "identity_result_skip_url" : { "type" : "string", "description" : "身份认证查询结果页面的小程序链接,有芝麻提供,用户在端内可直接访问", "example" : "alipays://platformapi/startapp?appId" }, "token_status" : { "type" : "string", "description" : "代表订单状态", "example" : "FINISH" } } }, "ZhimaCustomerJobworthCloudresumeQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "USER_NOT_AUTHORIZE", "QUERY_DATA_IS_NULL", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCustomerJobworthCloudresumeQueryResponseModel" : { "type" : "object", "properties" : { "birthday" : { "type" : "string", "description" : "出身日期", "example" : "出生日期" }, "certificates" : { "type" : "array", "description" : "证书名称", "items" : { "$ref" : "#/components/schemas/CloudResumeCertificateInfo" } }, "education_experiences" : { "type" : "array", "description" : "教育经历", "items" : { "$ref" : "#/components/schemas/CloudResumeEducationExperience" } }, "gender" : { "type" : "string", "description" : "性别", "example" : "男 or 女" }, "phone" : { "type" : "string", "description" : "手机号码", "example" : "1234" }, "pic_url" : { "$ref" : "#/components/schemas/CloudResumeHeadPic" }, "position_intentions" : { "type" : "array", "description" : "求职期望", "items" : { "$ref" : "#/components/schemas/CloudResumePositionIntention" } }, "skills" : { "type" : "array", "description" : "技能信息", "items" : { "$ref" : "#/components/schemas/CloudResumeSkillInfo" } }, "user_name" : { "type" : "string", "description" : "姓名", "example" : "姓名" }, "work_experiences" : { "type" : "array", "description" : "工作经历", "items" : { "$ref" : "#/components/schemas/CloudResumeWorkExperience" } }, "work_start_date" : { "type" : "integer", "description" : "工作开始日期", "example" : "123" } } }, "ZhimaCustomerJobworthInfoQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BLACK_CONTROL", "JOB_ID_NOT_MATCH", "CONFIG_ERROR_WITHOUT_SERVICE_ID", "USER_NOT_AUTHORIZE", "ILLEGAL_ARGUMENT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCustomerJobworthInfoQueryResponseModel" : { "type" : "object", "properties" : { "acceptance_id" : { "type" : "string", "description" : "受理台单号作为jsapi的一个参数。如果不使用jsapi可以忽略", "example" : "ZMEV99202108230100080001977388" }, "auth_token" : { "type" : "string", "description" : "用于授权校验,授权之前需要通过token校验", "example" : "124780137240912384128394" }, "html_url" : { "type" : "string", "description" : "h5url", "example" : "https://ssss" }, "picture_url" : { "type" : "string", "description" : "职得工作证图片url,可以直接用于展示", "example" : "http://www.123.com" }, "scene_result" : { "type" : "boolean", "description" : "场景授权结果", "example" : "true" }, "sub_code" : { "type" : "string", "description" : "业务编码", "example" : "USER_NOT_OPEN_ZHIMA" }, "sub_msg" : { "type" : "string", "description" : "业务中文结果信息", "example" : "用户没有开通芝麻" }, "update_url" : { "type" : "string", "description" : "工作证图片更新的url,需要跳转到工作证小程序中进行更新", "example" : "http://www.123123.com" }, "url" : { "type" : "string", "description" : "职得工作证跳转小程序链接", "example" : "http://www.123.com?XXX" } } }, "ZhimaCustomerJobworthJobdataAddErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ILLEGAL_ARGUMENT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCustomerJobworthJobdataAddModel" : { "type" : "object", "properties" : { "cert_no" : { "type" : "string", "description" : "身份证证件号", "example" : "1101121983010****5" }, "cert_type" : { "type" : "string", "description" : "0:身份证1:护照2:台湾同胞回乡证3:港澳居民往来内地通行证4:台湾居民通行证5:港澳居民通行证", "example" : "0" }, "conn_key" : { "type" : "string", "description" : "关联key,受理台返回", "example" : "abcd12345678" }, "job_data_list" : { "type" : "array", "description" : "回传信息", "items" : { "$ref" : "#/components/schemas/JobWorthJobdata" } }, "open_id" : { "type" : "string", "description" : "支付宝uid", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "user_id" : { "type" : "string", "description" : "支付宝uid", "example" : "2088302586280165" }, "user_name" : { "type" : "string", "description" : "用户中文名", "example" : "张三" } } }, "ZhimaCustomerJobworthJobdataAddResponseModel" : { "type" : "object", "properties" : { "acceptance_id" : { "type" : "string", "description" : "受理台单号,用来调用工作证受理台", "example" : "abcd1234" }, "sub_code" : { "type" : "string", "description" : "错误码", "example" : "INVALID_PARAMETER" }, "sub_msg" : { "type" : "string", "description" : "业务中文结果信息", "example" : "参数有误" }, "url" : { "type" : "string", "description" : "职得工作证跳转小程序链接", "example" : "http://www.123.com?XXX" } } }, "ZhimaCustomerJobworthPictureUploadErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "ILLEGAL_ARGUMENT", "PICTURE_UPLOAD_LIMIT_ERROR", "PICTURE_TYPE_ERROR", "SYSTEM_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCustomerJobworthPictureUploadModel" : { "type" : "object", "properties" : { "content" : { "type" : "string", "description" : "图片对应的base64字符串,支持jpg和png,1M之内", "example" : "-" }, "pic_type" : { "type" : "string", "description" : "只能传入指定类型,具体类型看文档", "example" : "JOB_DATA_UPLOAD" } } }, "ZhimaCustomerJobworthPictureUploadResponseModel" : { "type" : "object", "properties" : { "pic_id" : { "type" : "string", "description" : "图片返回ID", "example" : "abcd123456" }, "sub_code" : { "type" : "string", "description" : "错误码", "example" : "PICTURE_UPLOAD_LIMIT_ERROR" }, "sub_msg" : { "type" : "string", "description" : "错误原因", "example" : "图片上传限制" } } }, "ZhimaCustomerJobworthPositionAddErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaCustomerJobworthPositionAddModel" : { "type" : "object", "properties" : { "jobworth_position_info" : { "$ref" : "#/components/schemas/JobWorthPositionInfo" } } }, "ZhimaCustomerJobworthPositionAddResponseModel" : { "type" : "object", "properties" : { "position_id" : { "type" : "string", "description" : "岗位信息ID", "example" : "123456789012345678901234" }, "sub_code" : { "type" : "string", "description" : "业务错误", "example" : "SALARY_ERROR" }, "sub_msg" : { "type" : "string", "description" : "业务错误信息", "example" : "薪水格式错误" } } }, "ZhimaMerchantSubsidiariesApplyErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "CREDIT_SERVICE_ID_NOT_EXIST", "SECURITY_RISK_ERROR", "SECURITY_RISK_NOT_PASS", "BIZ_FAIL", "PROCESS_DUPLICATION_ERROR", "DATA_UPDATE_ERROR", "PROCESS_ADD_ERROR", "FILE_TYPE_ILLEGAL", "FILE_VERIFY_WIDTH_HEIGHT_FAIL", "FILE_LOGO_CHECK_FAIL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaMerchantSubsidiariesApplyModel" : { "type" : "object", "properties" : { "pid" : { "type" : "string", "description" : "商户pid", "example" : "2088101117955612" }, "service_id" : { "type" : "string", "description" : "信用服务id", "example" : "20210413000000000000xxxxxxxx" }, "smid" : { "type" : "string", "description" : "二级商户进件id", "example" : "2088101118048455" }, "sub_merchant_contact_number" : { "type" : "string", "description" : "子商户联系电话", "example" : "200-000-0000" }, "sub_merchant_jump_link" : { "type" : "string", "description" : "子商户跳转链接", "example" : "https://xxxxxxxx" }, "sub_merchant_logo_url" : { "type" : "string", "description" : "子商户logo地址", "example" : "https://xxxxxxxx" }, "sub_merchant_name" : { "type" : "string", "description" : "子商户名", "example" : "XXX商户" }, "sub_pid" : { "type" : "string", "description" : "子商户id", "example" : "2088101117955611" } } }, "ZhimaMerchantSubsidiariesApplyResponseModel" : { "type" : "object", "properties" : { "biz_error_code" : { "type" : "string", "description" : "业务错误码", "example" : "1001" }, "biz_error_message" : { "type" : "string", "description" : "业务错误信息", "example" : "处理失败" }, "order_no" : { "type" : "string", "description" : "工单标识", "example" : "100010" } } }, "ZhimaMerchantSubsidiariesCloseErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "BIZ_FAIL", "INVALID_PARAMETER", "DATA_UPDATE_ERROR", "PROCESS_CANCEL_ERROR", "NO_AUTHORITY_HANDLE_DISSENT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaMerchantSubsidiariesCloseModel" : { "type" : "object", "properties" : { "order_no" : { "type" : "string", "description" : "工单标识", "example" : "100010" } } }, "ZhimaMerchantSubsidiariesCloseResponseModel" : { "type" : "object", "properties" : { "biz_error_code" : { "type" : "string", "description" : "业务错误码", "example" : "1001" }, "biz_error_message" : { "type" : "string", "description" : "业务错误信息", "example" : "处理失败" }, "order_memo" : { "type" : "string", "description" : "工单审核备注", "example" : "审核通过" }, "order_no" : { "type" : "string", "description" : "工单标识,业务成功时返回工单号", "example" : "100010" }, "order_status" : { "type" : "string", "description" : "工单状态", "example" : "AGREE" } } }, "ZhimaMerchantZmgoCumulateQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaMerchantZmgoCumulateQueryResponseModel" : { "type" : "object", "properties" : { "aggr_amount" : { "type" : "string", "description" : "总共累计金额", "example" : "99.99" }, "aggr_discount_amount" : { "type" : "string", "description" : "总共累计优惠金额", "example" : "83.88" }, "aggr_times" : { "type" : "integer", "description" : "总共累计次数", "example" : "4" }, "agreement_id" : { "type" : "string", "description" : "芝麻go协议号,唯一标识一个芝麻go协议。", "example" : "20195108518085620000" }, "detail_list" : { "type" : "array", "description" : "详情数据列表", "items" : { "$ref" : "#/components/schemas/CumulateDataDetail" } }, "fail_reason" : { "type" : "string", "description" : "查询失败原因", "example" : "协议已经失效" }, "page_no" : { "type" : "integer", "description" : "分页参数,返回传入的值。", "example" : "1" }, "page_size" : { "type" : "integer", "description" : "分页参数,返回传入的值。", "example" : "20" } } }, "ZhimaMerchantZmgoCumulateSyncErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_STATUS_INVALID" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaMerchantZmgoCumulateSyncModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "芝麻go协议号,唯一标识一个芝麻go协议。", "example" : "20195108518085620000" }, "amount_type_sync_data" : { "$ref" : "#/components/schemas/AmountTypeSyncData" }, "biz_action" : { "type" : "string", "description" : "数据回传的动作类型。枚举如下:\t* POSITIVE:正向回传,即订单金额累加,优惠累加,任务次数累加。\t* REVERSE:逆向回传,即订单金额退款,优惠退款,任务次数回退。", "example" : "POSITIVE" }, "biz_time" : { "type" : "string", "description" : "回传数据发生的实际时间,包括:订单交易时间,优惠核销时间,以及任务完成时间。为必传入参。 如:用户在【2019-03-08 00:00:00】核销了一个红包,但是【2019-03-10 00:00:00】才进行数据回传,此时biz_time取值红包核销的时间,也就是【2019-03-08 00:00:00】。", "example" : "2019-03-08 19:51:35" }, "data_type" : { "type" : "string", "description" : "回传数据类型,枚举:\tTASK - 进度型,影响进度\tDISCOUNT - 优惠型", "example" : "TASK" }, "discount_type_sync_data" : { "$ref" : "#/components/schemas/DiscountTypeSyncData" }, "open_id" : { "type" : "string", "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "out_biz_no" : { "type" : "string", "description" : "外部业务号,唯一标识一笔回传数据。", "example" : "2020081211223006150094012926289" }, "provider_pid" : { "type" : "string", "description" : "数据回传的商户 ID,即和用户发生业务来往的 PID 主体。商户账号在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。", "example" : "2088621805983504" }, "refer_out_biz_no" : { "type" : "string", "description" : "逆向对应的正向外部业务号。逆向场景为必传入参。也就是biz_action为REVERSE时为必传入参。 逆向时需通过此字段明确对应的正向的外部业务号。", "example" : "2020081211223006150094012926289" }, "sub_biz_action" : { "type" : "string", "description" : "数据回传动作子类型,枚举值,为必传入参。\tADD - 新增数据\tUPDATE - 修改数据\t备注:UPDATE只能更新金额信息。", "example" : "ADD" }, "times_type_sync_data" : { "$ref" : "#/components/schemas/TimesTypeSyncData" }, "user_id" : { "type" : "string", "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。\t", "example" : "2088602002015001" } } }, "ZhimaMerchantZmgoCumulateSyncResponseModel" : { "type" : "object", "properties" : { "agreement_id" : { "type" : "string", "description" : "芝麻go协议号,唯一标识一个芝麻go协议。", "example" : "20195108518085620000" }, "fail_reason" : { "type" : "string", "description" : "数据回传失败原因描述", "example" : "协议已经失效" }, "out_biz_no" : { "type" : "string", "description" : "外部业务号,唯一标识一笔回传数据。", "example" : "2020081211223006150094012926289" } } }, "ZhimaMerchantZmgoTemplateCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "CHECK_DEFAULT_VALUE_FAIL", "INVALID_CYCLE_FLEX_WITHHOLD_CONFIG", "INVALID_FULFILL_TIMES_SETTLE_PLAN", "INVALID_FREEZE_AMOUNT", "INVALID_CUSTOM_OPEN_TIP_LIST", "INVALID_SETTLEMENT_TYPE", "INVALID_QUIT_TYPE", "INVALID_BIZ_TYPE", "INVALID_PERIOD_MODE", "INVALID_APPOINT_DATE", "INVALID_PERIOD_TIME", "REQUEST_ACCESS_ILLEGAL", "INVALID_TEXT_CONTENT_FILL_VARIABLE", "INVALID_TEXT_CONTENT_FILL_RULEID", "CUSTOM_MERCHANT_LOGO_PREFIX_ILLEGAL", "CONTENT_SEC_CHECK_FAIL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaMerchantZmgoTemplateCreateModel" : { "type" : "object", "properties" : { "basic_config" : { "$ref" : "#/components/schemas/ZMGOBasicConfig" }, "ext_config" : { "$ref" : "#/components/schemas/ZMGOExtConfig" }, "obligation_config" : { "$ref" : "#/components/schemas/ZMGOObligationConfig" }, "open_config" : { "$ref" : "#/components/schemas/ZMGOOpenConfig" }, "quit_config" : { "$ref" : "#/components/schemas/ZMGOQuitConfig" }, "right_config" : { "$ref" : "#/components/schemas/ZMGORightConfig" }, "settlement_config" : { "$ref" : "#/components/schemas/ZMGOSettlementConfig" } } }, "ZhimaMerchantZmgoTemplateCreateResponseModel" : { "type" : "object", "properties" : { "template_no" : { "type" : "string", "description" : "芝麻GO模板号", "example" : "ZMGO_TPL202206091002000195047" } } }, "ZhimaMerchantZmgoTemplateQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "REQUEST_ACCESS_ILLEGAL" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZhimaMerchantZmgoTemplateQueryResponseModel" : { "type" : "object", "properties" : { "basic_config" : { "$ref" : "#/components/schemas/ZMGOBasicConfig" }, "ext_config" : { "$ref" : "#/components/schemas/ZMGOExtConfig" }, "obligation_config" : { "$ref" : "#/components/schemas/ZMGOObligationConfig" }, "open_config" : { "$ref" : "#/components/schemas/ZMGOOpenConfig" }, "quit_config" : { "$ref" : "#/components/schemas/ZMGOQuitConfig" }, "right_config" : { "$ref" : "#/components/schemas/ZMGORightConfig" }, "settlement_config" : { "$ref" : "#/components/schemas/ZMGOSettlementConfig" } } }, "ZhubUidTelPair" : { "type" : "object", "properties" : { "open_id" : { "type" : "string", "description" : "支付宝用户open_id", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "phone" : { "type" : "string", "description" : "手机号", "example" : "13817337490" }, "user_id" : { "type" : "string", "description" : "支付宝uid", "example" : "2088302193568425" } } }, "ZolozAuthenticationCustomerFacemanageCreateErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "EXTRACT_FAIL", "UNABLE_GET_IMAGE", "ILLEGAL_CERT", "NOT_OPEN_SMILE", "UID_NOT_FOUND" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZolozAuthenticationCustomerFacemanageCreateModel" : { "type" : "object", "properties" : { "areacode" : { "type" : "string", "description" : "地域编码", "example" : "010" }, "biz_type" : { "type" : "string", "description" : "人脸产品能力,预热场景,需要传college,k12,scenic,subway,traffic。具体值视具体场景", "example" : "1" }, "bizscale" : { "type" : "string", "description" : "业务量规模", "example" : "99999999活跃人数" }, "brandcode" : { "type" : "string", "description" : "商户品牌", "example" : "KFC" }, "devicenum" : { "type" : "string", "description" : "商户机具唯一编码,关键参数\t人脸预热,传logicGroupId", "example" : "123456" }, "extinfo" : { "type" : "string", "description" : "拓展参数", "example" : "{}" }, "facetype" : { "type" : "string", "description" : "入库类型 IDCARD:身份证 ALIPAY_USER:支付宝用户id, ALIPAY_TEL:手机号入库 CUSTOMER:自定义 DIRECT_CLIENT_PRE:本地预写入 DIRECT_CLIENT:本地客户端库 ENCLOSED:封闭场景", "example" : "DIRECT_CLIENT" }, "faceval" : { "type" : "string", "description" : "入库用户信息 人脸预热,alipayUid必填", "example" : "示例[{\"alipayUid\":\"2088402144983195\",\"customUserId\":\"01\", \"faceContent\":\"base64String\"}]" }, "group" : { "type" : "string", "description" : "分组5", "example" : "group0" }, "storecode" : { "type" : "string", "description" : "球房编码", "example" : "HZ1000435" }, "validtimes" : { "type" : "string", "description" : "有效期天数,如7天、30天、365天", "example" : "7" } } }, "ZolozAuthenticationCustomerFacemanageCreateResponseModel" : { "type" : "object", "properties" : { "result" : { "type" : "string", "description" : "业务结果", "example" : "{}" }, "retcode" : { "type" : "string", "description" : "返回码", "example" : "OK_SUCCESS" }, "retcodesub" : { "type" : "string", "description" : "返回详细码", "example" : "Z3161" }, "retmessage" : { "type" : "string", "description" : "返回信息", "example" : "成功" }, "retmessagesub" : { "type" : "string", "description" : "返回详细信息", "example" : "非法参数类型" } } }, "ZolozAuthenticationCustomerFacemanageDeleteErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZolozAuthenticationCustomerFacemanageDeleteModel" : { "type" : "object", "properties" : { "areacode" : { "type" : "string", "description" : "地域编码", "example" : "010" }, "biz_type" : { "type" : "string", "description" : "人脸产品能力", "example" : "1" }, "bizscale" : { "type" : "string", "description" : "业务量", "example" : "9999999999" }, "brandcode" : { "type" : "string", "description" : "商户品牌", "example" : "KFC" }, "devicenum" : { "type" : "string", "description" : "商户机具唯一编码,关键参数", "example" : "商户机具唯一编码" }, "extinfo" : { "type" : "string", "description" : "拓展参数", "example" : "{}" }, "facetype" : { "type" : "string", "description" : "入库类型\tIDCARD:身份证\tALIPAY_USER:支付宝用户id,\tALIPAY_TEL:手机号入库\tCUSTOMER:自定义", "example" : "IDCARD,ALIPAY_USER, ALIPAY_TEL,CUSTOMER" }, "faceval" : { "type" : "string", "description" : "入库用户信息", "example" : "类型为IDCARD数据格式:[{\"certName\": \"张三\",\"certNo\":\"3101101999xxxxxxxx\",\"certType\":\"IDCARD\"}]类型ALIPAY_USER数据格式:[{\"alipayUid\":\"20885022\"}]" }, "group" : { "type" : "string", "description" : "分组", "example" : "group0" }, "storecode" : { "type" : "string", "description" : "球房编码", "example" : "HZ1000435" }, "validtimes" : { "type" : "string", "description" : "有效期天数,如7天、30天、365天", "example" : "7" } } }, "ZolozAuthenticationCustomerFacemanageDeleteResponseModel" : { "type" : "object", "properties" : { "result" : { "type" : "string", "description" : "返回值", "example" : "{}" }, "retcode" : { "type" : "string", "description" : "返回码", "example" : "OK_SUCCESS" }, "retcodesub" : { "type" : "string", "description" : "返回详细码", "example" : "Z3111" }, "retmessage" : { "type" : "string", "description" : "返回信息", "example" : "成功" }, "retmessagesub" : { "type" : "string", "description" : "返回详细信息", "example" : "出库成功" } } }, "ZolozAuthenticationCustomerFtokenQueryErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR", "FTOKEN_INVALID", "TOKEN_NOT_FOUND", "UID_NOT_FOUND", "TOKEN_EXPIRED", "TOKEN_CONSUMED" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZolozAuthenticationCustomerFtokenQueryModel" : { "type" : "object", "properties" : { "biz_type" : { "type" : "string", "description" : "1、1:1人脸验证能力\r\t2、1:n人脸搜索能力(支付宝uid入库)\r\t3、1:n人脸搜索能力(支付宝手机号入库)\r\t4、手机号和人脸识别综合能力", "example" : "1" }, "ext_info" : { "$ref" : "#/components/schemas/FaceExtInfo" }, "ftoken" : { "type" : "string", "description" : "人脸token", "example" : "fp0593e8d5c136277f13fd5bc36c13a7db7" }, "zim_id" : { "type" : "string", "description" : "刷脸初始化流程中产生的zimId值", "example" : "3b35b4677de2c69bb5bab69a4a5168d62" } } }, "ZolozAuthenticationCustomerFtokenQueryResponseModel" : { "type" : "object", "properties" : { "age_check_result" : { "type" : "string", "description" : "年龄是否在指定范围内,未指定范围则返回空,true/false", "example" : "true" }, "authimg_base_64" : { "type" : "string", "description" : "图片base64 encodeString", "example" : "图片base64 encodeString" }, "cert_name" : { "type" : "string", "description" : "证件姓名", "example" : "张三" }, "cert_no" : { "type" : "string", "description" : "身份证号码", "example" : "身份证号码" }, "face_id" : { "type" : "string", "description" : "由ISV定义的对自然人唯一编码,举例可以是身份证号码和姓名的MD5值,或者是其他编码方式,要求脱敏、随机且在ISV可以唯一说明一个自然人", "example" : "6458f8361582010447730145389650" }, "open_id" : { "type" : "string", "description" : "支付宝用户open_id", "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5" }, "uid" : { "type" : "string", "description" : "支付宝uid", "example" : "2088002842508713" }, "uid_tel_pair_list" : { "type" : "array", "description" : "用户名信息返回的列表", "items" : { "$ref" : "#/components/schemas/ZhubUidTelPair" } } } }, "ZolozAuthenticationCustomerSmilepayInitializeErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "MACHINE_SERVICE_SUSPEND", "BIZ_ID_REPEAT" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZolozAuthenticationCustomerSmilepayInitializeModel" : { "type" : "object", "properties" : { "service_id" : { "type" : "string", "description" : "刷脸服务Id", "example" : "pay-刷脸支付\nauth-刷脸核身" }, "service_params" : { "type" : "string", "description" : "商户可传入刷脸服务所需的扩展参数,json格式", "example" : "{\"key1\": \"value1\"}" }, "zimmetainfo" : { "type" : "string", "description" : "{ \"apdidToken\": \"设备指纹\", \"appName\": \"应用名称\", \"appVersion\": \"应用版本\", \"bioMetaInfo\": \"生物信息如2.3.0:3,-4\" }", "example" : "{ \"apdidToken\": \"设备指纹\", \"appName\": \"应用名称\", \"appVersion\": \"应用版本\", \"bioMetaInfo\": \"生物信息如2.3.0:3,-4\" }" } } }, "ZolozAuthenticationCustomerSmilepayInitializeResponseModel" : { "type" : "object", "properties" : { "result" : { "type" : "string", "description" : "返回值", "example" : "{\"zimId\":\"54acb4edf8884e9c38c5c3614cc53ae3c\",\"type\":\"zimInit\",\"zimInitClientData\":\"唤起人脸客户端参数\"}" } } }, "ZolozAuthenticationSmilepayInitializeErrorResponseModel" : { "required" : [ "code", "message" ], "type" : "object", "properties" : { "code" : { "type" : "string", "description" : "错误码", "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ] }, "links" : { "type" : "string", "description" : "解决方案链接" }, "message" : { "type" : "string", "description" : "错误描述" } } }, "ZolozAuthenticationSmilepayInitializeModel" : { "type" : "object", "properties" : { "apdid_token" : { "type" : "string", "description" : "设备指纹,用于唯一标识一台设备", "example" : "40Kl9e97cQcMJka5gfT0arVPq7GTaR6yE5f73mj8zqBW9eOPZQEAAA==" }, "app_name" : { "type" : "string", "description" : "人脸识别应用名称", "example" : "com.alipay.zoloz.smile" }, "app_version" : { "type" : "string", "description" : "人脸识别应用版本号", "example" : "3.7.0.201809191618" }, "base_ver" : { "type" : "string", "description" : "基础包版本号", "example" : "7.1.1" }, "bio_meta_info" : { "type" : "string", "description" : "生物识别元信息", "example" : "3.13.0:12419136,6" }, "device_model" : { "type" : "string", "description" : "设备型号", "example" : "T2" }, "device_type" : { "type" : "string", "description" : "设备类型", "example" : "android" }, "ext_info" : { "$ref" : "#/components/schemas/FaceExtParams" }, "machine_info" : { "$ref" : "#/components/schemas/FaceMachineInfo" }, "merchant_info" : { "$ref" : "#/components/schemas/FaceMerchantInfo" }, "os_version" : { "type" : "string", "description" : "操作系统版本号", "example" : "7.1.1" }, "remote_log_id" : { "type" : "string", "description" : "业务ID", "example" : "bcf71c4290f288f4421ee9d49eedbf1e2840ba" }, "zim_ver" : { "type" : "string", "description" : "ZIM版本号", "example" : "1.0.0" } } }, "ZolozAuthenticationSmilepayInitializeResponseModel" : { "type" : "object", "properties" : { "ret_code_sub" : { "type" : "string", "description" : "返回详细码", "example" : "Z3161" }, "ret_message_sub" : { "type" : "string", "description" : "返回详细信息", "example" : "操作成功" }, "zim_id" : { "type" : "string", "description" : "ZIM上下文ID", "example" : "e0bdf675bc8b6f442eb03b2109d59c92d" }, "zim_init_client_data" : { "type" : "string", "description" : "客户端协议", "example" : "客户端渲染数据,JSON或PB格式" } } } }, "parameters" : { "AuthToken" : { "name" : "auth_token", "in" : "query", "description" : "用户授权令牌", "allowEmptyValue" : true, "schema" : { "type" : "string" } }, "TargetAppId" : { "name" : "target_app_id", "in" : "query", "description" : "目标isv应用ID", "schema" : { "type" : "string" } } } } }