| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseWeChatPayWalletAreasParams { |
| | | /** 最大深度 */ |
| | | maxDeep?: number; |
| | | } |
| | | |
| | | interface APIgetEnterpriseWeChatPayWalletBankCitiesParams { |
| | | /** 省份编码,唯一标识一个省份,用于查询该省份下的城市列表 */ |
| | | provinceCode: number; |
| | | } |
| | | |
| | | interface APIgetEnterpriseWeChatPayWalletBankProvincesParams { |
| | | /** 查询企业微信支付钱包银行省份列表 */ |
| | | request?: GetEnterpriseWeChatPayWalletBankProvincesQuery; |
| | | } |
| | | |
| | | interface APIgetEnterpriseWeChatPayWalletParams { |
| | | /** 企业Id */ |
| | | enterpriseId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseWeChatPayWalletBankBranchesQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseWeChatPayWalletBankBranchesQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseWeChatPayWalletBanksQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseWeChatPayWalletBanksQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseWeChatPayWalletQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListGetEnterpriseWeChatPayWalletBankCitiesQueryItem { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: GetEnterpriseWeChatPayWalletBankCitiesQueryItem[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListGetEnterpriseWeChatPayWalletBankProvincesQueryItem { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: GetEnterpriseWeChatPayWalletBankProvincesQueryItem[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListGetMenusQueryResultItem { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: SelectOptionStringGetDictionaryDataSelectQueryResultOption[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListWeChatPayArea { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: WeChatPayArea[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | transactionStatus?: EnumWalletTransactionStatus; |
| | | } |
| | | |
| | | interface GetEnterpriseWeChatPayWalletBankBranchesQuery { |
| | | /** 银行别名编码 |
| | | 银行别名的编码,查询支行接口仅支持需要填写支行的银行别名编码 */ |
| | | bank_alias_code: string; |
| | | /** 城市编码,唯一标识一座城市,用于结合银行别名编码查询支行列表 */ |
| | | city_code: number; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetEnterpriseWeChatPayWalletBankBranchesQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetEnterpriseWeChatPayWalletBankBranchesQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetEnterpriseWeChatPayWalletBankBranchesQueryResultItem { |
| | | /** 开户银行支行名称,用于开户银行为其他银行的情况下,在入驻、修改结算银行卡、企业付款等场景下填写结算银行卡信息 */ |
| | | bank_branch_name: string; |
| | | /** 开户银行支行的联行号,用于开户银行为其他银行的情况下,在入驻、修改结算银行卡、企业付款等场景下填写结算银行卡信息 */ |
| | | bank_branch_id: string; |
| | | } |
| | | |
| | | interface GetEnterpriseWeChatPayWalletBankCitiesQueryItem { |
| | | /** 城市名称,必填 */ |
| | | city_name: string; |
| | | /** 城市编码,唯一标识一座城市,用于结合银行别名编码查询支行列表,必填 */ |
| | | city_code: number; |
| | | } |
| | | |
| | | type GetEnterpriseWeChatPayWalletBankProvincesQuery = Record<string, any>; |
| | | |
| | | interface GetEnterpriseWeChatPayWalletBankProvincesQueryItem { |
| | | /** 省份名称,必填 */ |
| | | province_name: string; |
| | | /** 省份编码,唯一标识一个省份,用于查询该省份下的城市列表,必填 */ |
| | | province_code: number; |
| | | } |
| | | |
| | | interface GetEnterpriseWeChatPayWalletBanksQuery { |
| | | bank_account_type: EnumWeChatPayApplymentBankAccountType; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetEnterpriseWeChatPayWalletBanksQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetEnterpriseWeChatPayWalletBanksQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetEnterpriseWeChatPayWalletBanksQueryResultItem { |
| | | /** 银行别名,用于在前端展示全量银行名称供用户选择,如工商银行、深圳前海微众银行等共计4000多家银行的别名名称 */ |
| | | bankAlias?: string; |
| | | /** 银行别名编码,用于在查询支行列表接口检索获取支行列表(仅开户银行为其他银行时需要查询支行) */ |
| | | bankAliasCode?: string; |
| | | /** 开户银行名称,用于在入驻、修改结算银行卡、企业付款等场景中填写所用银行卡对应的开户银行,其中非直连银行统一为其他银行 */ |
| | | accountBank?: string; |
| | | /** 开户银行编码,用于在入驻、修改结算银行卡、企业付款等场景中填写所用银行卡对应的开户银行,其中非直连银行统一为 1099 */ |
| | | accountBankCode?: number; |
| | | /** 是否需要填写支行,该开户银行是否需要传入对应的支行,需要请使用银行别名编码和城市编码查询选择具体的支行并传入(默认值为true) |
| | | 如需查询城市编码,需要通过查询城市列表接口获取相应的城市编码信息 */ |
| | | needBankBranch?: boolean; |
| | | } |
| | | |
| | | interface GetEnterpriseWeChatPayWalletQueryResult { |
| | | /** 钱包Id */ |
| | | id?: string; |
| | | bank_account_info: GetEnterpriseWeChatPayWalletQueryResultBankAccountInfo; |
| | | /** 超级管理员签约链接 |
| | | 1、超级管理员用微信扫码,关注“微信支付商家助手”公众号后,公众号将自动发送签约消息;超管需点击消息,根据指引完成核对联系信息、账户验证、签约等操作; |
| | | 2、超管完成核对联系信息,后续申请单进度可通过公众号自动通知超级管理员 */ |
| | |
| | | subject_info: WeChatPayApplymentBodyParametersSubjectInfo; |
| | | business_info: WeChatPayApplymentBodyParametersBusinessInfo; |
| | | settlement_info: WeChatPayApplymentBodyParametersSettlementInfo; |
| | | bank_account_info: WeChatPayApplymentBodyParametersBankAccountInfo; |
| | | addition_info?: WeChatPayApplymentBodyParametersAdditionInfo; |
| | | } |
| | | |
| | | interface GetEnterpriseWeChatPayWalletQueryResultBankAccountInfo { |
| | | /** 银行别名编码 |
| | | 银行别名的编码,查询支行接口仅支持需要填写支行的银行别名编码 */ |
| | | bank_alias_code?: string; |
| | | /** 城市编码,唯一标识一座城市,用于结合银行别名编码查询支行列表 */ |
| | | city_code?: number; |
| | | bank_account_type: EnumWeChatPayApplymentBankAccountType; |
| | | /** 开户名称 |
| | | 1、选择“经营者个人银行卡”时,开户名称必须与“经营者证件姓名”一致; |
| | | 2、选择“对公银行账户”时,开户名称必须与营业执照上的“商户名称”一致; |
| | | 3、该字段需要使用微信支付公钥加密(推荐),请参考获取微信支付公钥ID说明以及微信支付公钥加密敏感信息指引,也可以使用微信支付平台证书公钥加密,参考获取平台证书序列号、平台证书加密敏感信息指引。 */ |
| | | account_name: string; |
| | | /** 开户银行 |
| | | 对私银行调用:查询支持个人业务的银行列表API |
| | | 对公银行调用:查询支持对公业务的银行列表API */ |
| | | account_bank: string; |
| | | /** 开户银行省市编码 |
| | | 该字段即将下线处理,无需传入 |
| | | 至少精确到市,详细参见省市区编号对照表 |
| | | 注:仅当省市区编号对照表中无对应的省市区编号时,可向上取该银行对应市级编号或省级编号。 */ |
| | | bank_address_code?: string; |
| | | /** 开户银行银行号 |
| | | 1、根据开户银行查询接口中的“是否需要填写支行”判断是否需要填写。如为其他银行,开户银行全称(含支行)和开户银行联行号二选一; |
| | | 2、详细需调用查询支行列表API查看查询结果。 */ |
| | | bank_branch_id?: string; |
| | | /** 开户银行全称(含支行) |
| | | 1、根据开户银行查询接口中的“是否需要填写支行”判断是否需要填写。如为其他银行,开户银行全称(含支行)和开户银行联行号二选一; |
| | | 2、详细需调用查询支行列表API查看查询结果。 */ |
| | | bank_name?: string; |
| | | /** 银行账号 |
| | | 1、数字,长度遵循系统支持的卡号长度要求表; |
| | | 2、该字段需要使用微信支付公钥加密(推荐),请参考获取微信支付公钥ID说明以及微信支付公钥加密敏感信息指引,也可以使用微信支付平台证书公钥加密,参考获取平台证书序列号、平台证书加密敏感信息指引。 */ |
| | | account_number: string; |
| | | } |
| | | |
| | | interface GetExceptionLogsQuery { |
| | |
| | | 2、服务商自定义的唯一编号; |
| | | 3、每个编号对应一个申请单,每个申请单审核通过后会生成一个微信支付商户号。 */ |
| | | business_code: string; |
| | | bank_account_info: WeChatPayApplymentBodyParametersBankAccountInfo; |
| | | contact_info: WeChatPayApplymentBodyParametersContactInfo; |
| | | subject_info: WeChatPayApplymentBodyParametersSubjectInfo; |
| | | business_info: WeChatPayApplymentBodyParametersBusinessInfo; |
| | | settlement_info: WeChatPayApplymentBodyParametersSettlementInfo; |
| | | bank_account_info: WeChatPayApplymentBodyParametersBankAccountInfo; |
| | | addition_info?: WeChatPayApplymentBodyParametersAdditionInfo; |
| | | } |
| | | |
| | |
| | | ubo_period_end: string; |
| | | } |
| | | |
| | | interface WeChatPayArea { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 省市编码 */ |
| | | areaCode?: string; |
| | | /** 名称 */ |
| | | areaName?: string; |
| | | /** 地区名称 */ |
| | | fullName?: string; |
| | | /** 层级 */ |
| | | leyer?: number; |
| | | /** 父级省市编码 */ |
| | | parentCode?: string; |
| | | /** 子集 */ |
| | | children?: WeChatPayArea[]; |
| | | } |
| | | |
| | | interface WeChatPayGetApplymentResponseAuditDetail { |
| | | /** 提交申请单的资料项字段名 */ |
| | | field: string; |