Login expired. Please log in again.

Feedback

0/300

Feedback

Submitted successfully

ok

Feedback

Network exception, please try again later

ok

Deleting Receiver API

Latest update time:2022.05.18 Release notes


Merchant initiates a request to delete receiver. The settled funds of the merchant cannot be distributed to the deleted receiver.

API Intro

Request Url:https://apihk.mch.weixin.qq.com/v3/global/profit-sharing/receivers

Request method:DELETE

API rules: https://wechatpay-api.gitbook.io/wechatpay-api-v3

Applicable object:Common modeInstitutional mode

path parameter is a path parameter.

query parameter needs to be passed in the request URL.

body parameter needs to be passed in the request JSON.

Request Parameters

Name Variable Name Type Required Description
Sub-merchant ID sub_mchid string[1, 32] No query Sub-merchant ID allocated by WeChat Pay. It needs to be consistent with the sub-merchant ID in the transaction of WeChat Pay.
Note: Only forInstitutional mode
Example:1900000109
Official account ID appid string[1, 32] No query Merchant official account ID allocated by WeChat. When the receiver type includes PERSONAL_OPENID, its filling is required.
Example:wx8888888888888888
Sub-merchant official account ID sub_appid string[1, 32] No query Sub-merchant official account ID allocated by WeChat. When the receiver type includes PERSONAL_SUB_OPENID, its filling is required.
Note: Only forInstitutional mode
Example:wx8888888888888889
Receiver type type string Yes query Receiver type.
MERCHANT_ID: Merchant ID,
PERSONAL_OPENID: Personal OpenID, converted by merchant APPID
PERSONAL_SUB_OPENID: Personal Sub_OpenID, converted by sub-merchant APPID
Example:MERCHANT_ID
Receiver account account string[1, 64] Yes query When the type is MERCHANT_ID, it is a merchant ID
When the type is PERSONAL_OPENID, it is a personal OpenID
When the type is PERSONAL_SUB_OPENID, it is a personal Sub_OpenID
Example:86693852

Request Sample

Example:

{
    "account": "1900000109",
    "sub_mchid": "999968480",
    "type": "MERCHANT_ID"
  }
{
    "account": "of8YZ6LPmjDmYAqdobIvwTdQQjR8",
    "appid": "wx78898sdfwe9888835", 
    "type": "PERSONAL_OPENID", 
    "sub_mchid": "999968480"
}

Return Parameters

The request is processed successfully without any response content.

Return Example


204
The request is processed successfully without any response content.
                                
{
"code":"SYSTEM_ERROR",
"message":"Parameter error"
}

Release notes

close
V1.0
2022.05.18
1. Deleting Receiver API released online

About  WeChat  Pay

Powered By Tencent & Tenpay Copyright©

2005-2024 Tenpay All Rights Reserved.

Contact Us
Wechat Pay Global

WeChat Pay Global