From d646f43df21d31ac83e713f621fc02026352d6db Mon Sep 17 00:00:00 2001 From: James ZHNAG Date: Sat, 28 Dec 2024 22:34:46 +0800 Subject: [PATCH] renamed `Parameters.yaml#/HTTP_WECHATPAY_SERIAL` --- docs/definitions/Parameters.yaml | 4 ++-- docs/global/v3/customs/verify-certificate.yaml | 4 +++- docs/hk/v3/merchants.yaml | 12 +++++++++--- docs/hk/v3/merchants/{sub_mchid}.yaml | 3 +++ docs/v2/mmpaysptrans/pay_bank.yaml | 6 ++++-- .../sub_merchants/{sub_mchid}/modify-settlement.yaml | 2 +- docs/v3/apply4subject/applyment.yaml | 2 +- docs/v3/applyment4sub/applyment/{empty}.yaml | 2 +- docs/v3/bank-transfer/batches.yaml | 2 +- docs/v3/brand/profitsharing/orders.yaml | 2 +- .../banks/search-banks-by-bank-account.yaml | 3 ++- docs/v3/ecommerce/applyments/{empty}.yaml | 2 +- docs/v3/ecommerce/mch-transfer/transfer-bills.yaml | 2 +- docs/v3/ecommerce/profitsharing/receivers/add.yaml | 3 ++- .../refunds/{refund_id}/apply-abnormal-refund.yaml | 2 +- docs/v3/eduschoolpay/contracts/presign.yaml | 7 ++++++- docs/v3/fund-app/mch-transfer/transfer-bills.yaml | 3 ++- docs/v3/global/customs/verify-certificate.yaml | 4 +++- docs/v3/global/merchants.yaml | 7 +++++-- docs/v3/global/merchants/{sub_mchid}.yaml | 7 +++++++ .../global/profit-sharing/receivers/{account}.yaml | 1 - .../membercard-open/phonenumber-member/import.yaml | 3 ++- .../membercard-open/phonenumber-member/search.yaml | 3 ++- .../marketing/shopping-receipt/shoppingreceipts.yaml | 2 +- docs/v3/mch_operate/risk/withdrawl-apply.yaml | 2 +- .../report-trade-union-information.yaml | 2 +- .../complaints-v2/{complaint_id}.yaml | 1 + .../complaints/{transaction_id}.yaml | 1 + docs/v3/multiuse/users/{openid}/coupons.yaml | 6 +++++- .../new-tax-control-fapiao/fapiao-applications.yaml | 4 +++- .../{fapiao_apply_id}/insert-cards.yaml | 6 ++++-- docs/v3/offlineface/contracts/presign.yaml | 2 +- .../users/out-user-id/{out_user_id}.yaml | 2 +- .../contracts/pre-entrust-sign/app.yaml | 10 +++++----- .../contracts/pre-entrust-sign/h5.yaml | 10 +++++----- .../contracts/pre-entrust-sign/jsapi.yaml | 10 +++++----- .../contracts/pre-entrust-sign/mini-program.yaml | 10 +++++----- docs/v3/partner-transfer/batches.yaml | 4 +++- .../authentications/pre-order-with-auth.yaml | 4 +++- docs/v3/payroll-card/tokens.yaml | 4 +++- docs/v3/payroll-card/transfer-batches.yaml | 3 ++- docs/v3/payroll-card/wesure/token-validations.yaml | 4 +++- docs/v3/payscore/payafter-orders.yaml | 2 +- .../platsolution/mch-transfer/reservation/apply.yaml | 2 +- docs/v3/profitsharing/orders.yaml | 2 +- docs/v3/profitsharing/receivers/add.yaml | 2 +- .../refunds/{refund_id}/apply-abnormal-refund.yaml | 2 +- docs/v3/smartguide/guides.yaml | 9 +++++++-- docs/v3/smartguide/guides/{guide_id}.yaml | 4 +++- docs/v3/taxi-invoice/driver/update-driver.yaml | 6 +++++- docs/v3/transfer/batches.yaml | 4 +++- docs/v3/vehicle/etc/preopen.yaml | 5 ++++- src/V3/Global_/Merchants/_sub_mchid_.php | 6 ++++++ .../_fapiao_apply_id_/InsertCards.php | 4 ++-- .../InsuranceSign/Contracts/PreEntrustSign/App.php | 4 ++-- .../InsuranceSign/Contracts/PreEntrustSign/H5.php | 4 ++-- .../InsuranceSign/Contracts/PreEntrustSign/Jsapi.php | 4 ++-- .../Contracts/PreEntrustSign/MiniProgram.php | 4 ++-- 58 files changed, 156 insertions(+), 81 deletions(-) diff --git a/docs/definitions/Parameters.yaml b/docs/definitions/Parameters.yaml index f1f26d8f..85a4a4fd 100644 --- a/docs/definitions/Parameters.yaml +++ b/docs/definitions/Parameters.yaml @@ -1,9 +1,9 @@ # 对于上行有敏感信息的请求,需要设置此头参数 -WECHATPAY_CERTIFICATE_SERIAL: +HTTP_WECHATPAY_SERIAL: in: header required: true name: Wechatpay-Serial - description: 平台公钥ID/平台公钥证书序列号 + description: 微信支付公钥ID/平台证书序列号 example: PUB_KEY_ID_0114232134912410000000000000 HTTP_ACCEPT_ENCODING: in: header diff --git a/docs/global/v3/customs/verify-certificate.yaml b/docs/global/v3/customs/verify-certificate.yaml index 17710478..2fbe2ca8 100644 --- a/docs/global/v3/customs/verify-certificate.yaml +++ b/docs/global/v3/customs/verify-certificate.yaml @@ -8,7 +8,7 @@ post: summary: 身份信息校验API description: 该接口用于商户上传用户身份信息,微信支付会重新校验返回订购人和支付人身份信息校验结果,用于商户纠正报关订单里的信息。 [官方文档](https://pay.weixin.qq.com/wiki/doc/api/wxpay/ch/declarecustom_ch/chapter3_2.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -71,10 +71,12 @@ post: - IDCARD certificate_id: type: string + format: base64 description: 证件号 example: '330821198809085211' certificate_name: type: string + format: base64 description: 证件姓名 example: '张三' responses: diff --git a/docs/hk/v3/merchants.yaml b/docs/hk/v3/merchants.yaml index 0b6074a5..cef27d25 100644 --- a/docs/hk/v3/merchants.yaml +++ b/docs/hk/v3/merchants.yaml @@ -7,8 +7,8 @@ post: summary: 子商户进件(融合钱包) description: 机构提交子商户资料,微信支付系统会为每个子商户创建子商户号。 [官方文档](https://pay.weixin.qq.com/wiki/doc/api/wxpay/ch/Onborading_Sub_Merchant/chapter3_1.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#HTTP_IDEMPOTENCY_KEY' - - $ref: '../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_IDEMPOTENCY_KEY' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -56,14 +56,17 @@ post: properties: name: type: string + format: base64 description: 联系人名称 example: 李先生 phone: type: string + format: base64 description: 联系人电话 example: '075586010000' email: type: string + format: base64 description: 联系人邮箱 example: test@test.com business_category: @@ -206,7 +209,7 @@ put: summary: 修改子商户(融合钱包) description: 用于机构子商户创建成功后,接口提供子商户信息修改 [官方文档](https://pay.weixin.qq.com/wiki/doc/api/wxpay/ch/Onborading_Sub_Merchant/chapter3_3.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -258,14 +261,17 @@ put: properties: name: type: string + format: base64 description: 联系人名称 example: 李先生 phone: type: string + format: base64 description: 联系人电话 example: '075586010000' email: type: string + format: base64 description: 联系人邮箱 example: test@test.com business_category: diff --git a/docs/hk/v3/merchants/{sub_mchid}.yaml b/docs/hk/v3/merchants/{sub_mchid}.yaml index 05e611e7..02d922a1 100644 --- a/docs/hk/v3/merchants/{sub_mchid}.yaml +++ b/docs/hk/v3/merchants/{sub_mchid}.yaml @@ -67,14 +67,17 @@ get: properties: name: type: string + format: base64 description: 联系人名称 example: Bob Zhang phone: type: string + format: base64 description: 联系人电话 example: '+8613633334444' email: type: string + format: base64 description: 联系人邮箱 example: test@test.com merchant_type: diff --git a/docs/v2/mmpaysptrans/pay_bank.yaml b/docs/v2/mmpaysptrans/pay_bank.yaml index cf9d1d11..17693ff4 100644 --- a/docs/v2/mmpaysptrans/pay_bank.yaml +++ b/docs/v2/mmpaysptrans/pay_bank.yaml @@ -48,14 +48,16 @@ post: maxLength: 32 enc_bank_no: type: string + format: base64 description: 收款方银行卡号 example: 8609cb22e1774a50a930e414cc71eca06121bcd266335cda230d24a7886a8d9f - maxLength: 64 + maxLength: 384 enc_true_name: type: string + format: base64 description: 收款方用户名 example: ca775af5f841bdf424b2e6eb86a6e21e - maxLength: 64 + maxLength: 384 bank_code: type: string description: 收款方开户行 diff --git a/docs/v3/apply4sub/sub_merchants/{sub_mchid}/modify-settlement.yaml b/docs/v3/apply4sub/sub_merchants/{sub_mchid}/modify-settlement.yaml index 8de7ce66..c979c748 100644 --- a/docs/v3/apply4sub/sub_merchants/{sub_mchid}/modify-settlement.yaml +++ b/docs/v3/apply4sub/sub_merchants/{sub_mchid}/modify-settlement.yaml @@ -7,7 +7,7 @@ post: summary: 修改结算帐号API description: 修改结算帐号API [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/tool/applyment4sub/chapter3_3.shtml) [官方文档](https://pay.weixin.qq.com/docs/partner/apis/ecommerce-merchant-application/modify-settlement.html) parameters: - - $ref: '../../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: sub_mchid in: path type: string diff --git a/docs/v3/apply4subject/applyment.yaml b/docs/v3/apply4subject/applyment.yaml index 015a6bfa..afa6f5af 100644 --- a/docs/v3/apply4subject/applyment.yaml +++ b/docs/v3/apply4subject/applyment.yaml @@ -6,7 +6,7 @@ post: summary: 提交商户开户意愿申请单API description: 服务商可以通过该接口向微信支付提交商户的联系人信息、主体信息以及联系人信息。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_1_1.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: channel_id in: query type: string diff --git a/docs/v3/applyment4sub/applyment/{empty}.yaml b/docs/v3/applyment4sub/applyment/{empty}.yaml index c2ad256e..241b9d48 100644 --- a/docs/v3/applyment4sub/applyment/{empty}.yaml +++ b/docs/v3/applyment4sub/applyment/{empty}.yaml @@ -6,7 +6,7 @@ post: summary: 提交申请单API description: 普通服务商(银行、支付机构、电商平台不可用)使用该接口提交商家资料,帮助商家入驻成为微信支付的特约商户。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter11_1_1.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - in: body name: _ required: true diff --git a/docs/v3/bank-transfer/batches.yaml b/docs/v3/bank-transfer/batches.yaml index 1b70155f..60f1243a 100644 --- a/docs/v3/bank-transfer/batches.yaml +++ b/docs/v3/bank-transfer/batches.yaml @@ -7,7 +7,7 @@ post: summary: 发起批量转账API description: 服务商可以通过该接口,批量向用户零钱或务工卡进行转账操作。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_2_1.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true diff --git a/docs/v3/brand/profitsharing/orders.yaml b/docs/v3/brand/profitsharing/orders.yaml index 8819e145..364cc923 100644 --- a/docs/v3/brand/profitsharing/orders.yaml +++ b/docs/v3/brand/profitsharing/orders.yaml @@ -7,7 +7,7 @@ post: summary: 请求分账API description: 微信订单支付成功后,由服务商发起分账请求,将结算后的资金分给分账接收方。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/brand/chapter3_1.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true diff --git a/docs/v3/capital/capitallhh/banks/search-banks-by-bank-account.yaml b/docs/v3/capital/capitallhh/banks/search-banks-by-bank-account.yaml index 0ad85fcc..56e9a9c6 100644 --- a/docs/v3/capital/capitallhh/banks/search-banks-by-bank-account.yaml +++ b/docs/v3/capital/capitallhh/banks/search-banks-by-bank-account.yaml @@ -7,11 +7,12 @@ get: summary: 获取对私银行卡号开户银行API description: 查询对私银行卡号对应的开户银行信息(仅支持部分银行的对私银行卡) [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter11_2_1.shtml) parameters: - - $ref: '../../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: account_number in: query required: true type: string + format: base64 description: 银行卡号 example: d+xT+MQCvrLHUVDWv/8MR/dB7TkXLVfSrUxMPZy6jWWYzpRrEEaYQE8ZRGYoeorwC+w== responses: diff --git a/docs/v3/ecommerce/applyments/{empty}.yaml b/docs/v3/ecommerce/applyments/{empty}.yaml index ec01684e..98d333c7 100644 --- a/docs/v3/ecommerce/applyments/{empty}.yaml +++ b/docs/v3/ecommerce/applyments/{empty}.yaml @@ -6,7 +6,7 @@ post: summary: 二级商户进件API description: 电商平台通过提交二级商户资料,完成二级商户入驻,入驻成为微信支付商户。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_1_1.shtml) [官方文档](https://pay.weixin.qq.com/docs/partner/apis/ecommerce-merchant-application/applyment/submit-applyment.html) parameters: - - $ref: '../../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true diff --git a/docs/v3/ecommerce/mch-transfer/transfer-bills.yaml b/docs/v3/ecommerce/mch-transfer/transfer-bills.yaml index 96edbbc5..96b630f9 100644 --- a/docs/v3/ecommerce/mch-transfer/transfer-bills.yaml +++ b/docs/v3/ecommerce/mch-transfer/transfer-bills.yaml @@ -7,7 +7,7 @@ post: summary: 发起转账 description: 商户可通过此接口申请创建商家转账订单。[官方文档](https://pay.weixin.qq.com/docs/partner/apis/platsolution-mch-transfer/transfer-bill/transfer-to-user.html) parameters: - - $ref: ../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL + - $ref: ../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL - name: _ in: body required: true diff --git a/docs/v3/ecommerce/profitsharing/receivers/add.yaml b/docs/v3/ecommerce/profitsharing/receivers/add.yaml index b0d96a89..42e71d99 100644 --- a/docs/v3/ecommerce/profitsharing/receivers/add.yaml +++ b/docs/v3/ecommerce/profitsharing/receivers/add.yaml @@ -6,7 +6,7 @@ post: summary: 添加分账接收方API description: 电商平台可通过此接口添加分账接收方,建立分账接收方列表。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/ecommerce/profitsharing/chapter3_7.shtml) parameters: - - $ref: '../../../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -38,6 +38,7 @@ post: example: 张三网络公司 encrypted_name: type: string + format: base64 description: 接收方名称的密文 example: hu89ohu89ohu89o relation_type: diff --git a/docs/v3/ecommerce/refunds/{refund_id}/apply-abnormal-refund.yaml b/docs/v3/ecommerce/refunds/{refund_id}/apply-abnormal-refund.yaml index 6d1d8d7e..2f84f55c 100644 --- a/docs/v3/ecommerce/refunds/{refund_id}/apply-abnormal-refund.yaml +++ b/docs/v3/ecommerce/refunds/{refund_id}/apply-abnormal-refund.yaml @@ -8,7 +8,7 @@ post: summary: 发起异常退款 description: 提交退款申请后,查询退款确认状态为退款异常,可调用此接口发起异常退款处理。支持退款至用户、退款至交易商户银行账户两种处理方式。 [官方文档](https://pay.weixin.qq.com/docs/partner/apis/ecommerce-refund/refunds/create-abnormal-refund.html) parameters: - - $ref: '../../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: refund_id in: path required: true diff --git a/docs/v3/eduschoolpay/contracts/presign.yaml b/docs/v3/eduschoolpay/contracts/presign.yaml index 25fd9fb2..74797a1a 100644 --- a/docs/v3/eduschoolpay/contracts/presign.yaml +++ b/docs/v3/eduschoolpay/contracts/presign.yaml @@ -7,7 +7,7 @@ post: summary: 预签约API description: 商户调用该接口可获取预签约码(presign_token),预签约码对应用户一次的签约信息,之后用户可以从商户小程序跳转到微信签约小程序时使用该预签约码进行签约。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/edu/eduschoolpay/chapter3_1.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -61,14 +61,17 @@ post: properties: real_name: type: string + format: base64 description: 姓名 example: 6TqLAZvNZ4AXLNHLMbjA1yKq2k5krHM09m3tCuR credential_type: type: string + format: base64 description: 证件类型 example: IDENTITY_CARD id_card_number: type: string + format: base64 description: 身份证号 example: 6TqLAZvNZ4AXLNHLMbjA1yKq2k5krHM09m3tCuR bank_card: @@ -79,6 +82,7 @@ post: properties: bank_card_no: type: string + format: base64 description: 签约银行卡号 example: 6TqLAZvNZ4AXLNHLMbjA1yKq2k5krHM09m3tCuR valid_thru: @@ -87,6 +91,7 @@ post: example: 08/21 phone: type: string + format: base64 description: 银行卡开卡预留手机号 example: j6PlFRRJ4nvGSbtDZzXbXScACvDSnIny67zk3BgT5uIbK4VfGmcjPBEk2mt5ASZ6UUHB4Gy0IZpbuanF9 bank_type: diff --git a/docs/v3/fund-app/mch-transfer/transfer-bills.yaml b/docs/v3/fund-app/mch-transfer/transfer-bills.yaml index b5de5be7..0937e0e7 100644 --- a/docs/v3/fund-app/mch-transfer/transfer-bills.yaml +++ b/docs/v3/fund-app/mch-transfer/transfer-bills.yaml @@ -7,7 +7,7 @@ post: summary: 发起转账 description: 商家转账用户确认模式下,用户申请收款时,商户可通过此接口申请创建转账单 [官方文档](https://pay.weixin.qq.com/docs/merchant/apis/mch-trans/transfer-bill/transfer-to-user.html) parameters: - - $ref: '../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -39,6 +39,7 @@ post: example: o-MYE42l80oelYMDE34nYD456Xoy user_name: type: string + format: base64 description: 收款用户姓名 example: 757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45 transfer_amount: diff --git a/docs/v3/global/customs/verify-certificate.yaml b/docs/v3/global/customs/verify-certificate.yaml index 488e0eeb..99b153b2 100644 --- a/docs/v3/global/customs/verify-certificate.yaml +++ b/docs/v3/global/customs/verify-certificate.yaml @@ -8,7 +8,7 @@ post: summary: 身份信息校验API description: 该接口用于商户上传用户身份信息,微信支付会重新校验返回订购人和支付人身份信息校验结果,用于商户纠正报关订单里的信息。 [官方文档](https://pay.weixin.qq.com/wiki/doc/api_external/ch/apis/chapter4_3_2.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -71,10 +71,12 @@ post: - IDCARD certificate_id: type: string + format: base64 description: 证件号 example: '330821198809085211' certificate_name: type: string + format: base64 description: 证件姓名 example: '张三' responses: diff --git a/docs/v3/global/merchants.yaml b/docs/v3/global/merchants.yaml index d522595c..debac8e1 100644 --- a/docs/v3/global/merchants.yaml +++ b/docs/v3/global/merchants.yaml @@ -7,8 +7,8 @@ post: summary: 子商户进件(融合钱包) description: 机构提交子商户资料,微信支付系统会为每个子商户创建子商户号。 [官方文档](https://pay.weixin.qq.com/wiki/doc/api_external/ch/apis/chapter4_2_1.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#HTTP_IDEMPOTENCY_KEY' - - $ref: '../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_IDEMPOTENCY_KEY' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -56,14 +56,17 @@ post: properties: name: type: string + format: base64 description: 联系人名称 example: 李先生 phone: type: string + format: base64 description: 联系人电话 example: '075586010000' email: type: string + format: base64 description: 联系人邮箱 example: test@test.com business_category: diff --git a/docs/v3/global/merchants/{sub_mchid}.yaml b/docs/v3/global/merchants/{sub_mchid}.yaml index 33cbeb70..16ec9f98 100644 --- a/docs/v3/global/merchants/{sub_mchid}.yaml +++ b/docs/v3/global/merchants/{sub_mchid}.yaml @@ -67,14 +67,17 @@ get: properties: name: type: string + format: base64 description: 联系人名称 example: Bob Zhang phone: type: string + format: base64 description: 联系人电话 example: '+8613633334444' email: type: string + format: base64 description: 联系人邮箱 example: test@test.com merchant_type: @@ -166,6 +169,7 @@ patch: summary: 修改子商户(融合钱包) description: 用于机构子商户创建成功后,接口提供子商户信息修改 [官方文档](https://pay.weixin.qq.com/wiki/doc/api_external/ch/apis/chapter4_2_3.shtml) parameters: + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -220,14 +224,17 @@ patch: properties: name: type: string + format: base64 description: 联系人名称 example: 李先生 phone: type: string + format: base64 description: 联系人电话 example: '075586010000' email: type: string + format: base64 description: 联系人邮箱 example: test@test.com business_category: diff --git a/docs/v3/global/profit-sharing/receivers/{account}.yaml b/docs/v3/global/profit-sharing/receivers/{account}.yaml index 35cdba2a..07126a8e 100644 --- a/docs/v3/global/profit-sharing/receivers/{account}.yaml +++ b/docs/v3/global/profit-sharing/receivers/{account}.yaml @@ -69,7 +69,6 @@ get: example: '86693852' name: type: string - format: base64 description: 分账接收方全称 example: hu89ohu89ohu89o relation_type: diff --git a/docs/v3/marketing/membercard-open/phonenumber-member/import.yaml b/docs/v3/marketing/membercard-open/phonenumber-member/import.yaml index e7c2c7c0..e8684ca4 100644 --- a/docs/v3/marketing/membercard-open/phonenumber-member/import.yaml +++ b/docs/v3/marketing/membercard-open/phonenumber-member/import.yaml @@ -8,7 +8,7 @@ post: summary: 导入加密手机号提醒会员领卡API description: 如商户有存量注册会员未领取会员卡,可导入最近一年在品牌内有微信支付交易的活跃会员手机号(需加密后才能导入),导入后微信将通过卡包提醒用户将会员卡领取到卡包。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/membercard_open/chapter4_1.shtml) parameters: - - $ref: '../../../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -45,6 +45,7 @@ post: example: '2015-05-20T13:29:35.120+08:00' encrypted_phone_number: type: string + format: base64 description: 加密手机号 example: vvysDQeEaH3I+wRh14St0abIkvQyFgh/fbWYSs2bLtG9tj+bdJn4WSCPzqSyXnFbzaaKSE2j4mAFON3kzNexb/SYkHZNJAuCittaW4wpGj7U+h9A== outer_str: diff --git a/docs/v3/marketing/membercard-open/phonenumber-member/search.yaml b/docs/v3/marketing/membercard-open/phonenumber-member/search.yaml index b56afc81..bcbf378e 100644 --- a/docs/v3/marketing/membercard-open/phonenumber-member/search.yaml +++ b/docs/v3/marketing/membercard-open/phonenumber-member/search.yaml @@ -9,7 +9,7 @@ get: description: 商户可查询导入成功的加密手机号是否已被用户领取。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/marketing/membercard_open/chapter4_2.shtml) x-is-sensitive: [encrypted_phone_number] parameters: - - $ref: '../../../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: card_id in: query type: string @@ -19,6 +19,7 @@ get: - name: encrypted_phone_number in: query type: string + format: base64 required: true description: 加密手机号 example: vvysDQeEaH3I+wRh14St0abIkvQyFgh/fbWYSs2bLtG9tj+bdJn4WSCPzLyXnFbzaaKSE2j4mAFON3kzNexb/SYkHZNJAuCittaW4wpGj7U+h9A== diff --git a/docs/v3/marketing/shopping-receipt/shoppingreceipts.yaml b/docs/v3/marketing/shopping-receipt/shoppingreceipts.yaml index a3c040c8..3c04e170 100644 --- a/docs/v3/marketing/shopping-receipt/shoppingreceipts.yaml +++ b/docs/v3/marketing/shopping-receipt/shoppingreceipts.yaml @@ -9,7 +9,7 @@ post: - multipart/form-data description: '商户将支付成功回传的参数填入指定字段,可以给指定微信支付订单上传电子小票。 上传成功后,用户可以在账单详情页看到商户上传的电子小票。[官方文档](https://pay.weixin.qq.com/docs/partner/apis/shopping-receipt/shopping-receipts/upload-shopping-receipt.html)' parameters: - - $ref: '../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: meta in: formData required: true diff --git a/docs/v3/mch_operate/risk/withdrawl-apply.yaml b/docs/v3/mch_operate/risk/withdrawl-apply.yaml index c680ccc0..bf25ca06 100644 --- a/docs/v3/mch_operate/risk/withdrawl-apply.yaml +++ b/docs/v3/mch_operate/risk/withdrawl-apply.yaml @@ -7,7 +7,7 @@ post: summary: 提交已注销商户号可用余额提现申请单API description: 针对被微信支付平台不收不付管控的电商子商户,如子商户账户内还有可用余额,且无法解脱(例如.营业执照注销吊销),则服务商可为子商户申请走注销提现的流程,将可用余额进行提现操作。在商户号注销后,电商平台可发起提现申请, 审批通过后, 将会按照指定的收款方式返回给商户。[官方文档](https://pay.weixin.qq.com/docs/partner/apis/withdrawal-apply/withdrawal-apply/submit-apply.html) [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_8_9.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true diff --git a/docs/v3/merchant-risk-manage/report-trade-union-information.yaml b/docs/v3/merchant-risk-manage/report-trade-union-information.yaml index 02238b07..196b8769 100644 --- a/docs/v3/merchant-risk-manage/report-trade-union-information.yaml +++ b/docs/v3/merchant-risk-manage/report-trade-union-information.yaml @@ -10,7 +10,7 @@ post: summary: 上报订单关联信息 description: 从业机构/服务商/渠道商/商户可调用该接口,在商户订单下单完成后,上报订单关联信息,以便后续在支付环节进行风险管控 [官方文档](https://pay.weixin.qq.com/docs/partner/apis/risk-manage/trade-risk/report-trade-risk-information.html) parameters: - - $ref: '../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true diff --git a/docs/v3/merchant-service/complaints-v2/{complaint_id}.yaml b/docs/v3/merchant-service/complaints-v2/{complaint_id}.yaml index 3434df4b..222467ec 100644 --- a/docs/v3/merchant-service/complaints-v2/{complaint_id}.yaml +++ b/docs/v3/merchant-service/complaints-v2/{complaint_id}.yaml @@ -52,6 +52,7 @@ get: example: '1900012181' payer_phone: type: string + format: base64 description: 投诉人联系方式 example: sGdNeTHMQGlxCWiUyHu6XNO9GCYln2Luv4HhwJzZBfcL12sB payer_openid: diff --git a/docs/v3/merchant-service/complaints/{transaction_id}.yaml b/docs/v3/merchant-service/complaints/{transaction_id}.yaml index c1b99f91..ed393b5f 100644 --- a/docs/v3/merchant-service/complaints/{transaction_id}.yaml +++ b/docs/v3/merchant-service/complaints/{transaction_id}.yaml @@ -39,6 +39,7 @@ get: example: 3 payer_phone: type: string + format: base64 description: 投诉人联系方式 example: Qe41VhP/sGdNeTHMQGlxCWiUyHu6XNO9GCYln2Luv4HhwJzZBfcL12sB+PgZcS5NhePBog30NgJ1xRaK+gbGDKwpg== complaint_detail: diff --git a/docs/v3/multiuse/users/{openid}/coupons.yaml b/docs/v3/multiuse/users/{openid}/coupons.yaml index 65bf3d30..8d880c97 100644 --- a/docs/v3/multiuse/users/{openid}/coupons.yaml +++ b/docs/v3/multiuse/users/{openid}/coupons.yaml @@ -7,7 +7,7 @@ post: summary: 发放指定批次的消费金 description: 商户平台/API完成制券/消费金后,可使用发放代金券接口发券/消费金。通过调用此接口可发放指定批次给指定用户。 [官方文档](https://pay.weixin.qq.com/docs/merchant/apis/multiuse-coupon/multiuse-coupon/send-multiuse-coupon.html) parameters: - - $ref: '../../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: openid in: path required: true @@ -36,10 +36,12 @@ post: example: '8956000202407191254642' user_name: type: string + format: base64 description: 用户姓名 example: 757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45 id_card_number: type: string + format: base64 description: 身份证号码 example: 757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45 amount: @@ -54,6 +56,8 @@ post: type: string description: 证件类型 example: ID_CARD + enum: + - ID_CARD responses: '200': schema: diff --git a/docs/v3/new-tax-control-fapiao/fapiao-applications.yaml b/docs/v3/new-tax-control-fapiao/fapiao-applications.yaml index 1fd052dd..eb50d97a 100644 --- a/docs/v3/new-tax-control-fapiao/fapiao-applications.yaml +++ b/docs/v3/new-tax-control-fapiao/fapiao-applications.yaml @@ -9,7 +9,7 @@ post: summary: 开具电子发票 description: 商户完成收款后,调用本接口开具电子发票并插入微信用户的卡包。若是非微信支付场景,需要先通过【获取抬头填写链接】接口获取抬头填写链接,并等待用户完成填写才能调用本接口;若是微信支付场景,则无需额外获取抬头填写链接。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/Offline/apis/chapter4_8_8.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -70,10 +70,12 @@ post: example: '62001234567890' phone: type: string + format: base64 description: 手机号 example: pVd1HJ6zyvPedzGaV+X3qtmrq9bb9tPttdY+aQ6zB email: type: string + format: base64 description: 邮箱地址 example: pVd1HJ6zyvPedzGaV+X3qtmrq9bb9tPttdY+aQ6zB fapiao_information: diff --git a/docs/v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}/insert-cards.yaml b/docs/v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}/insert-cards.yaml index 60bff932..86087541 100644 --- a/docs/v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}/insert-cards.yaml +++ b/docs/v3/new-tax-control-fapiao/fapiao-applications/{fapiao_apply_id}/insert-cards.yaml @@ -9,7 +9,7 @@ post: summary: 将电子发票插入微信用户卡包 description: 商户自行开具电子发票后,可调用本接口将电子发票插入微信用户的卡包。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/new-tax-control-fapiao/chapter3_11.shtml) parameters: - - $ref: '../../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: fapiao_apply_id in: path type: string @@ -71,10 +71,12 @@ post: example: '62001234567890' phone: type: string + format: base64 description: 手机号 example: '18507550000' email: type: string + format: base64 description: 邮箱地址 example: 123110@qq.com fapiao_card_information: @@ -119,7 +121,7 @@ post: password: type: string description: 密码 - example: 006>299-375/326>2+7/*0-+<351059<80<4*/5>+<11631+*3030/5*37+/-243159658+013>3409*044>4-/1+/9->*>69501*6++1997--21 + example: 006>299-375/326>2+7/*0-+<3510 total_amount: type: integer description: 总价税合计 diff --git a/docs/v3/offlineface/contracts/presign.yaml b/docs/v3/offlineface/contracts/presign.yaml index 5a77a602..88db52a7 100644 --- a/docs/v3/offlineface/contracts/presign.yaml +++ b/docs/v3/offlineface/contracts/presign.yaml @@ -7,7 +7,7 @@ post: summary: 预签约接口 description: 一键绑卡不是支持所有银行卡,上线前请先测试是否支持该银行卡。[官方文档](https://pay.weixin.qq.com/wiki/doc/wxfacepay/develop/access-specifications.html) parameters: - - $ref: '../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body schema: diff --git a/docs/v3/offlinefacemch/organizations/{organization_id}/users/out-user-id/{out_user_id}.yaml b/docs/v3/offlinefacemch/organizations/{organization_id}/users/out-user-id/{out_user_id}.yaml index d33ebfd3..b08efff7 100644 --- a/docs/v3/offlinefacemch/organizations/{organization_id}/users/out-user-id/{out_user_id}.yaml +++ b/docs/v3/offlinefacemch/organizations/{organization_id}/users/out-user-id/{out_user_id}.yaml @@ -82,7 +82,7 @@ patch: summary: 刷脸用户信息修改接口 description: 若修改了学生姓名、班级、手机号时,需调用接口同步给微信侧,否则可能导致小助手上记录欠款的学生姓名、班级与实际不符合以及学生刷脸验证手机号时无法通过。[官方文档](https://pay.weixin.qq.com/wiki/doc/wxfacepay/develop/access-specifications.html) parameters: - - $ref: '../../../../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: organization_id in: path type: string diff --git a/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/app.yaml b/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/app.yaml index bb9a0878..ebe51689 100644 --- a/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/app.yaml +++ b/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/app.yaml @@ -7,11 +7,7 @@ post: summary: 保险商户App预签约API description: 商户可调用本接口预先指定签约及交易信息(交易信息可选填),生成预签约会话及对应的预签约ID,再携带预签约ID(pre_entrustweb_id)参数,通过微信SDK拉起微信支付客户端的签约页面。[官方文档](https://pay.weixin.qq.com/docs/merchant/apis/insurance-entrusted-payment/insurance/app-sign-and-create-transaction.html) parameters: - - name: Wechatpay-Serial - in: header - required: true - type: string - description: 微信支付平台证书序列号 + - $ref: '../../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -146,16 +142,20 @@ post: properties: real_name: type: string + format: base64 description: 自然人姓名 example: OEimkKuua8igpd+0YDgqF2Z61leeGD7x87j3Ph== id_card_number: type: string + format: base64 description: 自然人身份证号码 example: 1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj== identity_type: type: string description: 实名验证类型 example: ID_CARD + enum: + - ID_CARD combined_deduct_period_count: type: number description: 合并扣费期数 diff --git a/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/h5.yaml b/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/h5.yaml index 0b0bb366..6514f4e1 100644 --- a/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/h5.yaml +++ b/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/h5.yaml @@ -7,11 +7,7 @@ post: summary: 保险商户H5预签约API description: 商户可调用本接口预先指定签约及交易信息(交易信息可选填),生成预签约会话及对应的跳转URL,引导用户在原浏览器中请求该URL,将跳转至用户微信支付客户端的签约页面。[官方文档](https://pay.weixin.qq.com/docs/merchant/apis/insurance-entrusted-payment/insurance/h5-sign-and-create-transaction.html) parameters: - - name: Wechatpay-Serial - in: header - required: true - type: string - description: 微信支付平台证书序列号 + - $ref: '../../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -146,16 +142,20 @@ post: properties: real_name: type: string + format: base64 description: 自然人姓名 example: OEimkKuua8igpd+0YDgqF2Z61leeGD7x87j3Ph== id_card_number: type: string + format: base64 description: 自然人身份证号码 example: 1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj== identity_type: type: string description: 实名验证类型 example: ID_CARD + enum: + - ID_CARD jump_control: type: object description: 跳转控制信息 diff --git a/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/jsapi.yaml b/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/jsapi.yaml index c566c728..9469999d 100644 --- a/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/jsapi.yaml +++ b/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/jsapi.yaml @@ -7,11 +7,7 @@ post: summary: 保险商户JSAPI预签约API description: 商户可调用本接口预先指定签约及交易信息(交易信息可选填),生成预签约会话及对应的跳转URL,引导用户在微信内访问跳转URL跳转至微信支付的页面。[官方文档](https://pay.weixin.qq.com/docs/merchant/apis/insurance-entrusted-payment/insurance/jsapi-sign-and-create-transaction.html) parameters: - - name: Wechatpay-Serial - in: header - required: true - type: string - description: 微信支付平台证书序列号 + - $ref: '../../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -146,16 +142,20 @@ post: properties: real_name: type: string + format: base64 description: 自然人姓名 example: OEimkKuua8igpd+0YDgqF2Z61leeGD7x87j3Ph== id_card_number: type: string + format: base64 description: 自然人身份证号码 example: 1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj== identity_type: type: string description: 实名验证类型 example: ID_CARD + enum: + - ID_CARD combined_deduct_period_count: type: number description: 合并扣费期数 diff --git a/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/mini-program.yaml b/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/mini-program.yaml index 37a0d436..e58171e0 100644 --- a/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/mini-program.yaml +++ b/docs/v3/papay/insurance-sign/contracts/pre-entrust-sign/mini-program.yaml @@ -7,11 +7,7 @@ post: summary: 保险商户小程序预签约API description: 商户可调用本接口预先指定签约及交易信息(交易信息可选填),生成预签约会话及对应的预签约ID,再携带预签约ID(pre_entrustweb_id)参数,通过小程序跳转参数调用navigateToMiniProgram跳转至微信支付的页面。[官方文档](https://pay.weixin.qq.com/docs/merchant/apis/insurance-entrusted-payment/insurance/mimi-program-sign-and-create-transaction.html) parameters: - - name: Wechatpay-Serial - in: header - required: true - type: string - description: 微信支付平台证书序列号 + - $ref: '../../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -146,16 +142,20 @@ post: properties: real_name: type: string + format: base64 description: 自然人姓名 example: OEimkKuua8igpd+0YDgqF2Z61leeGD7x87j3Ph== id_card_number: type: string + format: base64 description: 自然人身份证号码 example: 1axtI9EZUr0343c89xQznxau+cRWPKP4YhVAoj== identity_type: type: string description: 实名验证类型 example: ID_CARD + enum: + - ID_CARD combined_deduct_period_count: type: number description: 合并扣费期数 diff --git a/docs/v3/partner-transfer/batches.yaml b/docs/v3/partner-transfer/batches.yaml index aa597a91..9c3f7af9 100644 --- a/docs/v3/partner-transfer/batches.yaml +++ b/docs/v3/partner-transfer/batches.yaml @@ -8,7 +8,7 @@ post: summary: 发起批量转账API description: 服务商可以通过该接口,批量向用户零钱进行转账操作。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_1_6.shtml) [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter3_1.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -90,10 +90,12 @@ post: example: o-MYE42l80oelYMDE34nYD456Xoy user_name: type: string + format: base64 description: 收款用户姓名 example: 757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45 user_id_card: type: string + format: base64 description: 收款用户身份证 example: 8609cb22e1774a50a930e414cc71eca06121bcd266335cda230d24a7886a8d9f sp_appid: diff --git a/docs/v3/payroll-card/authentications/pre-order-with-auth.yaml b/docs/v3/payroll-card/authentications/pre-order-with-auth.yaml index 0982fc2e..7e74dcd4 100644 --- a/docs/v3/payroll-card/authentications/pre-order-with-auth.yaml +++ b/docs/v3/payroll-card/authentications/pre-order-with-auth.yaml @@ -7,7 +7,7 @@ post: summary: 微工卡核身预下单(流程中完成授权) description: 本接口适用于用户需同步完成服务开通、授权及身份核验的场景。在拉起微工卡前端服务为用户核身前,需调用本接口预下单,下单成功后才能进行核身。如此时用户未开通微工卡服务或未完成对商户的授权,则先完成开通、授权,同步完成身份核验,并提供可信的核验结果。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_1_29.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -54,10 +54,12 @@ post: example: 某用工企业 user_name: type: string + format: base64 description: 用户实名 example: LP7bT4hQXUsOZCEvK2YrSiqFsnP0oRMfeoLN0vBg id_card_number: type: string + format: base64 description: 用户证件号 example: 7FzH5XksJG3a8HLLsaaUV6K54y1OnPMY5 employment_type: diff --git a/docs/v3/payroll-card/tokens.yaml b/docs/v3/payroll-card/tokens.yaml index 261f1bf4..ac8255e6 100644 --- a/docs/v3/payroll-card/tokens.yaml +++ b/docs/v3/payroll-card/tokens.yaml @@ -7,7 +7,7 @@ post: summary: 生成授权token API description: 生成授权token信息 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_1_1.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -38,10 +38,12 @@ post: example: '1111111' user_name: type: string + format: base64 description: 用户实名 example: LP7bT4hQXUsOZCEvK2YrSiqFsnP0oRMfeoLN0vBg id_card_number: type: string + format: base64 description: 用户证件号 example: 7FzH5XksJG3a8HLLsaaUV6K54y1OnPMY5 employment_type: diff --git a/docs/v3/payroll-card/transfer-batches.yaml b/docs/v3/payroll-card/transfer-batches.yaml index 5f1ba16b..a5707114 100644 --- a/docs/v3/payroll-card/transfer-batches.yaml +++ b/docs/v3/payroll-card/transfer-batches.yaml @@ -7,7 +7,7 @@ post: summary: 发起批量转账API description: 服务商可以通过该接口,批量向用户选择的收款账户转账。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_1_6.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -87,6 +87,7 @@ post: example: o-MYE42l80oelYMDE34nYD456Xoy user_name: type: string + format: base64 description: 收款用户姓名 example: 757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45 sp_appid: diff --git a/docs/v3/payroll-card/wesure/token-validations.yaml b/docs/v3/payroll-card/wesure/token-validations.yaml index bb3e1167..b17135bf 100644 --- a/docs/v3/payroll-card/wesure/token-validations.yaml +++ b/docs/v3/payroll-card/wesure/token-validations.yaml @@ -7,7 +7,7 @@ post: summary: 校验核身结果API description: 校验按商户拉起核身时预下单的token值对应的微工卡核身结果是否成功 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_1_31.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -34,10 +34,12 @@ post: example: abcdefghijklmn user_name: type: string + format: base64 description: 用户姓名 example: LP7bT4hQXUsOZCEvK2YrSiqFsnP0oRMfeoLN0vBg id_card_number: type: string + format: base64 description: 用户身份证号 example: 7FzH5XksJG3a8HLLsaaUV6K54y1OnPMY5 authenticate_type: diff --git a/docs/v3/payscore/payafter-orders.yaml b/docs/v3/payscore/payafter-orders.yaml index 20ef22f6..e7e50576 100644 --- a/docs/v3/payscore/payafter-orders.yaml +++ b/docs/v3/payscore/payafter-orders.yaml @@ -7,7 +7,7 @@ post: summary: 创建先享后付订单 description: '[官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/payscore.php?chapter=17_1&index=3)' parameters: - - $ref: '../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true diff --git a/docs/v3/platsolution/mch-transfer/reservation/apply.yaml b/docs/v3/platsolution/mch-transfer/reservation/apply.yaml index 9c01f611..60d8b1de 100644 --- a/docs/v3/platsolution/mch-transfer/reservation/apply.yaml +++ b/docs/v3/platsolution/mch-transfer/reservation/apply.yaml @@ -7,7 +7,7 @@ post: summary: 受理单次预约商家转账 description: 商户可调用接口预先指定转账的单次计划,预创建预约记录并获取微信预约记录单号和跳转信息(package_info),再携带该(package_info)参数,通过微信SDK拉起微信支付客户端的用户确认页面。[官方文档](https://pay.weixin.qq.com/docs/partner/apis/platsolution-mch-transfer/transfer-reservation/transfer-reservation-apply.html) parameters: - - $ref: ../../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL + - $ref: ../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL - name: _ in: body required: true diff --git a/docs/v3/profitsharing/orders.yaml b/docs/v3/profitsharing/orders.yaml index e4b45cf7..7a0198f6 100644 --- a/docs/v3/profitsharing/orders.yaml +++ b/docs/v3/profitsharing/orders.yaml @@ -7,7 +7,7 @@ post: summary: 请求分账API description: 微信订单支付成功后,服务商代特约商户发起分账请求,将结算后的资金分到分账接收方 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_1.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true diff --git a/docs/v3/profitsharing/receivers/add.yaml b/docs/v3/profitsharing/receivers/add.yaml index 984fb4a8..a88a9ef0 100644 --- a/docs/v3/profitsharing/receivers/add.yaml +++ b/docs/v3/profitsharing/receivers/add.yaml @@ -7,7 +7,7 @@ post: summary: 添加分账接收方API description: 服务商发起添加分账接收方请求,建立分账接收方列表。后续可通过发起分账请求,将分账方商户结算后的资金,分到该分账接收方 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_8.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true diff --git a/docs/v3/refund/domestic/refunds/{refund_id}/apply-abnormal-refund.yaml b/docs/v3/refund/domestic/refunds/{refund_id}/apply-abnormal-refund.yaml index ea7c2670..b62fcec8 100644 --- a/docs/v3/refund/domestic/refunds/{refund_id}/apply-abnormal-refund.yaml +++ b/docs/v3/refund/domestic/refunds/{refund_id}/apply-abnormal-refund.yaml @@ -8,7 +8,7 @@ post: summary: 发起异常退款 description: 提交退款申请后,查询退款确认状态为退款异常,可调用此接口发起异常退款处理。支持退款至用户、退款至交易商户银行账户两种处理方式。 [官方文档](https://pay.weixin.qq.com/docs/merchant/apis/refund/refunds/create-abnormal-refund.html) [官方文档](https://pay.weixin.qq.com/docs/partner/apis/refund/refunds/create-abnormal-refund.html) parameters: - - $ref: '../../../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: refund_id in: path required: true diff --git a/docs/v3/smartguide/guides.yaml b/docs/v3/smartguide/guides.yaml index d661525e..38a94fb3 100644 --- a/docs/v3/smartguide/guides.yaml +++ b/docs/v3/smartguide/guides.yaml @@ -6,7 +6,7 @@ post: summary: 服务人员注册API description: 用于服务商/商户开发者为商户注册服务人员使用。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/smartguide/chapter3_1.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -29,9 +29,11 @@ post: description: 企业微信的员工ID name: type: string + format: base64 description: 企业微信的员工姓名 mobile: type: string + format: base64 description: 手机号码 qr_code: type: string @@ -60,7 +62,7 @@ get: description: 用于服务商/商户开发者查询已注册的服务人员ID等信息。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/smartguide/chapter3_3.shtml) x-is-sensitive: [mobile] parameters: - - $ref: '../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: sub_mchid in: query type: string @@ -77,6 +79,7 @@ get: - name: mobile in: query type: string + format: base64 description: 手机号码 - name: work_id in: query @@ -127,10 +130,12 @@ get: example: 12345678 name: type: string + format: base64 description: 企业微信的员工姓名 example: pVd1HJ6v/69bDnuC4EL5Kz4jBHLiCa8MRtelw/wDa4SzfeespQO/0kjiwfqdfg== mobile: type: string + format: base64 description: 手机号码 example: pVd1HJ6v/69bDnuC4EL5Kz4jBHLiCa8MRtelw/wDa4SzfeespQO/0kjiwfqdfg== userid: diff --git a/docs/v3/smartguide/guides/{guide_id}.yaml b/docs/v3/smartguide/guides/{guide_id}.yaml index c9c014e3..13c0cc44 100644 --- a/docs/v3/smartguide/guides/{guide_id}.yaml +++ b/docs/v3/smartguide/guides/{guide_id}.yaml @@ -6,7 +6,7 @@ patch: summary: 服务人员信息更新API description: 用于服务商/用于服务商/商户开发者为商户更新门店服务人员的姓名、头像等信息 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/smartguide/chapter3_4.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: guide_id in: path type: string @@ -25,9 +25,11 @@ patch: example: '1234567890' name: type: string + format: base64 description: 企业微信的员工姓名 mobile: type: string + format: base64 description: 手机号码 qr_code: type: string diff --git a/docs/v3/taxi-invoice/driver/update-driver.yaml b/docs/v3/taxi-invoice/driver/update-driver.yaml index 6b1a3bbb..9a9934fd 100644 --- a/docs/v3/taxi-invoice/driver/update-driver.yaml +++ b/docs/v3/taxi-invoice/driver/update-driver.yaml @@ -7,7 +7,7 @@ post: summary: 更新司机信息API description: 新增、更新司机信息,司机需有实名认证的微信号,否则新增、更新失败,司机所在的公司必须已经成为服务商的特约商户,否则新增、更新失败。 [官方文档](https://pay.weixin.qq.com/docs/partner/apis/taxi-fapiao/driver/update-driver.html) parameters: - - $ref: '../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -25,10 +25,12 @@ post: properties: driver_name: type: string + format: base64 description: 司机姓名 example: OpldWegML3fJ3/U5L6av0bU6GcIOaOhi+SY04APUv4dfFrD7US5TWiL5sVnQSz/wvsvQ== id_card_number: type: string + format: base64 description: 司机身份证号码 example: OpldWegML3fJ3/U5L6av0bU6GcIOaOhXM/t2DrNLxVUb77DCnz421UAD7US5TWiL5sVnQSz/wvsvQ== company_name: @@ -99,10 +101,12 @@ post: properties: driver_name: type: string + format: base64 description: 司机姓名 example: OpldWegML3fJ3/U5L6av0bU6G21UAD7US5TWiL5sVnQSz/wvsvQ== id_card_number: type: string + format: base64 description: 司机身份证号码 example: OpldWegML3fJ3/U5L6av0bU1wwPUXFMLxVUb77DCnz421UAD7US5TWiL5sVnQSz/wvsvQ== company_name: diff --git a/docs/v3/transfer/batches.yaml b/docs/v3/transfer/batches.yaml index 9e92a3dd..1f1711cd 100644 --- a/docs/v3/transfer/batches.yaml +++ b/docs/v3/transfer/batches.yaml @@ -7,7 +7,7 @@ post: summary: 发起批量转账API description: 商户可以通过该接口同时向多个用户微信零钱进行转账操作。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter3_1.shtml) parameters: - - $ref: '../../definitions/Parameters.yaml#WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -77,10 +77,12 @@ post: example: o-MYE42l80oelYMDE34nYD456Xoy user_name: type: string + format: base64 description: 收款用户姓名 example: 757b340b45ebef5467rter35gf464344v3542sdf4t6re4tb4f54ty45t4yyry45 user_id_card: type: string + format: base64 description: 收款用户身份证 example: 8609cb22e1774a50a930e414cc71eca06121bcd266335cda230d24a7886a8d9f transfer_scene_id: diff --git a/docs/v3/vehicle/etc/preopen.yaml b/docs/v3/vehicle/etc/preopen.yaml index 5d95dbe5..e605c50e 100644 --- a/docs/v3/vehicle/etc/preopen.yaml +++ b/docs/v3/vehicle/etc/preopen.yaml @@ -7,7 +7,7 @@ post: summary: 预开通用户ETC指定卡扣费API description: 该接口用于在开通ETC自动扣费前上传一些必要的信息。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_4_1.shtml) parameters: - - $ref: '../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' + - $ref: '../../../definitions/Parameters.yaml#/HTTP_WECHATPAY_SERIAL' - name: _ in: body required: true @@ -58,10 +58,12 @@ post: properties: encrypted_real_name: type: string + format: base64 description: 姓名 example: LOX6jBeRlK/TErW6DqEM8JFHX4iL3Rlj2vqaEqktvw1KVjgmQ== encrypted_credential_id: type: string + format: base64 description: 证件号码 example: t85SAX3GxVYqGQm2Q8cfeFd1dWy40j4s7XpIds8Glw83HG3vN9Q== credential_type: @@ -70,6 +72,7 @@ post: example: ID_CARD bank_card_no: type: string + format: base64 description: 用户开通ETC时绑定的银行卡 example: K/TErW6DqEM8JFHX4iL3Rlj2vqaEqktvw1KVjgmQ== responses: diff --git a/src/V3/Global_/Merchants/_sub_mchid_.php b/src/V3/Global_/Merchants/_sub_mchid_.php index 8d832cb7..08ffa1cf 100644 --- a/src/V3/Global_/Merchants/_sub_mchid_.php +++ b/src/V3/Global_/Merchants/_sub_mchid_.php @@ -88,6 +88,9 @@ public function patch(array $options = [ 'domains' => ['www.qq.com'], ], ], + 'headers' => [ + 'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000', + ], ]): ResponseInterface; /** @@ -141,5 +144,8 @@ public function patchAsync(array $options = [ 'domains' => ['www.qq.com'], ], ], + 'headers' => [ + 'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000', + ], ]): PromiseInterface; } diff --git a/src/V3/NewTaxControlFapiao/FapiaoApplications/_fapiao_apply_id_/InsertCards.php b/src/V3/NewTaxControlFapiao/FapiaoApplications/_fapiao_apply_id_/InsertCards.php index 9c06bea8..5312f468 100644 --- a/src/V3/NewTaxControlFapiao/FapiaoApplications/_fapiao_apply_id_/InsertCards.php +++ b/src/V3/NewTaxControlFapiao/FapiaoApplications/_fapiao_apply_id_/InsertCards.php @@ -36,7 +36,7 @@ public function post(array $options = [ 'fapiao_code' => '044001911211', 'fapiao_time' => '2020-07-01T12:00:00+08:00', 'check_code' => '69001808340631374774', - 'password' => '006>299-375/326>2+7/*0-+<351059<80<4*/5>+<11631+*3030/5*37+/-243159658+013>3409*044>4-/1+/9->*>69501*6++1997--21', + 'password' => '006>299-375/326>2+7/*0-+<3510', 'total_amount' => 382895, 'tax_amount' => 44050, 'amount' => 338845, @@ -102,7 +102,7 @@ public function postAsync(array $options = [ 'fapiao_code' => '044001911211', 'fapiao_time' => '2020-07-01T12:00:00+08:00', 'check_code' => '69001808340631374774', - 'password' => '006>299-375/326>2+7/*0-+<351059<80<4*/5>+<11631+*3030/5*37+/-243159658+013>3409*044>4-/1+/9->*>69501*6++1997--21', + 'password' => '006>299-375/326>2+7/*0-+<3510', 'total_amount' => 382895, 'tax_amount' => 44050, 'amount' => 338845, diff --git a/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/App.php b/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/App.php index 7d825bce..3411e597 100644 --- a/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/App.php +++ b/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/App.php @@ -52,7 +52,7 @@ public function post(array $options = [ 'combined_deduct_period_count' => 1, ], 'headers' => [ - 'Wechatpay-Serial' => '', + 'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000', ], ]): ResponseInterface; @@ -99,7 +99,7 @@ public function postAsync(array $options = [ 'combined_deduct_period_count' => 1, ], 'headers' => [ - 'Wechatpay-Serial' => '', + 'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000', ], ]): PromiseInterface; } diff --git a/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/H5.php b/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/H5.php index 4145a723..5144de6b 100644 --- a/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/H5.php +++ b/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/H5.php @@ -55,7 +55,7 @@ public function post(array $options = [ 'combined_deduct_period_count' => 1, ], 'headers' => [ - 'Wechatpay-Serial' => '', + 'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000', ], ]): ResponseInterface; @@ -105,7 +105,7 @@ public function postAsync(array $options = [ 'combined_deduct_period_count' => 1, ], 'headers' => [ - 'Wechatpay-Serial' => '', + 'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000', ], ]): PromiseInterface; } diff --git a/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/Jsapi.php b/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/Jsapi.php index bfa2de4d..f821f097 100644 --- a/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/Jsapi.php +++ b/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/Jsapi.php @@ -52,7 +52,7 @@ public function post(array $options = [ 'combined_deduct_period_count' => 1, ], 'headers' => [ - 'Wechatpay-Serial' => '', + 'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000', ], ]): ResponseInterface; @@ -99,7 +99,7 @@ public function postAsync(array $options = [ 'combined_deduct_period_count' => 1, ], 'headers' => [ - 'Wechatpay-Serial' => '', + 'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000', ], ]): PromiseInterface; } diff --git a/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/MiniProgram.php b/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/MiniProgram.php index 8004dc54..96c1324d 100644 --- a/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/MiniProgram.php +++ b/src/V3/Papay/InsuranceSign/Contracts/PreEntrustSign/MiniProgram.php @@ -52,7 +52,7 @@ public function post(array $options = [ 'combined_deduct_period_count' => 1, ], 'headers' => [ - 'Wechatpay-Serial' => '', + 'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000', ], ]): ResponseInterface; @@ -99,7 +99,7 @@ public function postAsync(array $options = [ 'combined_deduct_period_count' => 1, ], 'headers' => [ - 'Wechatpay-Serial' => '', + 'Wechatpay-Serial' => 'PUB_KEY_ID_0114232134912410000000000000', ], ]): PromiseInterface; }