To help Service Account developers obtain the authentication status of their service numbers, and to Third Party Platform developers know the authentication state of their services numbers, the WeChat public platform provides event pushes at various stages of the service authentication process.

Where was the event pushed to?

1, the event push will be pushed to Service Account in the official website of the public platform developer center set the service address 2. If Service Account has authorized the account management permission set (because the interface permission belongs to the account management permission set) toThird Party Platform, then the third party platform will receive the event push on behalf of the service number, specifically the service number message and event reception pushed to the third party platform URL

Please note:

1, after the success of the certification, Service Account has obtained the certification related interface permissions, the success of the certification must occur before the success of the name certification 2, the name of the successful authentication, Service Account before WeChat in WeChat in the home to get a tick authentication logo

catalog

1 Credential certification is successful (at this point access to the interface is obtained immediately)

2 Credential certification failure

3 Name certification successful (i.e. name successful)

4 Name authentication fails (this is when the client does not tick, but still has access to the interface)

5 Notice of Annual Review

6 Notice of expiration of certification

# Credential certification is successful (access to the interface is obtained immediately at this time).

Push XML digital packet example:

<xml>
  <ToUserName><![CDATA[toUser]]></ToUserName>  
  <FromUserName><![CDATA[fromUser]]></FromUserName>  
  <CreateTime>1442401156</CreateTime>  
  <MsgType><![CDATA[event]]></MsgType>  
  <Event><![CDATA[qualification_verify_success]]></Event>  
  <ExpiredTime>1442401156</ExpiredTime> 
</xml>

Parameter explaination

parameter describe
ToUserName Developer No. WeChat
FromUserName Sender account (an OpenID, in which case the sender is the system account)
CreateTime Message creation time (integer), time stamp
MsgType Message type, event
Event Event type qualification_verify_success
ExpiredTime Validity period (integer), referring to a time stamp that will expire with authentication at that time stamp

# Credential certification failure

Push XML digital packet example:

<xml>
  <ToUserName><![CDATA[toUser]]></ToUserName>  
  <FromUserName><![CDATA[fromUser]]></FromUserName>  
  <CreateTime>1442401156</CreateTime>  
  <MsgType><![CDATA[event]]></MsgType>  
  <Event><![CDATA[qualification_verify_fail]]></Event>  
  <FailTime>1442401122</FailTime>  
  <FailReason><![CDATA[by time]]></FailReason> 
</xml>

Parameter explaination

parameter describe
ToUserName Developer No. WeChat
FromUserName Sender account (an OpenID, in which case the sender is the system account)
CreateTime Message creation time (integer), time stamp
MsgType Message type, event
Event Event type qualification_verify_fail
FailTime When the failure occurred (integer), time stamp
FailReason Reasons for authentication failure

# Name certification successful (i.e. name successful)

Push XML digital packet example:

<xml>
  <ToUserName><![CDATA[toUser]]></ToUserName>  
  <FromUserName><![CDATA[fromUser]]></FromUserName>  
  <CreateTime>1442401093</CreateTime>  
  <MsgType><![CDATA[event]]></MsgType>  
  <Event><![CDATA[naming_verify_success]]></Event>  
  <ExpiredTime>1442401093</ExpiredTime> 
</xml>

Parameter explaination

parameter describe
ToUserName Developer No. WeChat
FromUserName Sender account (an OpenID, in which case the sender is the system account)
CreateTime Message creation time (integer), time stamp
MsgType Message type, event
Event Event type naming_verify_success
ExpiredTime Validity period (integer), referring to a time stamp that will expire with authentication at that time stamp

# Name authentication fails (in which case the client does not tick, but still has access to the interface)

Push XML digital packet example:

<xml>
  <ToUserName><![CDATA[toUser]]></ToUserName>  
  <FromUserName><![CDATA[fromUser]]></FromUserName>  
  <CreateTime>1442401061</CreateTime>  
  <MsgType><![CDATA[event]]></MsgType>  
  <Event><![CDATA[naming_verify_fail]]></Event>  
  <FailTime>1442401061</FailTime>  
  <FailReason><![CDATA[by time]]></FailReason> 
</xml>

Parameter explaination

parameter describe
ToUserName Developer No. WeChat
FromUserName Sender account (an OpenID, in which case the sender is the system account)
CreateTime Message creation time (integer), time stamp
MsgType Message type, event
Event Event type naming_verify_fail
FailTime When the failure occurred (integer), time stamp
FailReason Reasons for authentication failure

# Notice of Annual Review

Push XML digital packet example:

<xml>
  <ToUserName><![CDATA[toUser]]></ToUserName>  
  <FromUserName><![CDATA[fromUser]]></FromUserName>  
  <CreateTime>1442401004</CreateTime>  
  <MsgType><![CDATA[event]]></MsgType>  
  <Event><![CDATA[annual_renew]]></Event>  
  <ExpiredTime>1442401004</ExpiredTime> 
</xml>

Parameter explaination

parameter describe
ToUserName Developer No. WeChat
FromUserName Sender account (an OpenID, in which case the sender is the system account)
CreateTime Message creation time (integer), time stamp
MsgType Message type, event
Event Event type annual_renew, reminder Service Account needs to be reviewed last year
ExpiredTime Validity period (integer), which refers to a time stamp, which will expire as a result of authentication with that time stamp and needs to be annually reviewed as soon as possible

## 认证过期失效通知审通知

Push XML digital packet example:

<xml>
  <ToUserName><![CDATA[toUser]]></ToUserName>  
  <FromUserName><![CDATA[fromUser]]></FromUserName>  
  <CreateTime>1442400900</CreateTime>  
  <MsgType><![CDATA[event]]></MsgType>  
  <Event><![CDATA[verify_expired]]></Event>  
  <ExpiredTime>1442400900</ExpiredTime> 
</xml>

Parameter explaination

parameter describe
ToUserName Developer No. WeChat
FromUserName Sender account (an OpenID, in which case the sender is the system account)
CreateTime Message creation time (integer), time stamp
MsgType Message type, event
Event Event type verify_expired
ExpiredTime Validity (integer), refers to the timestamp, indicating that the timestamp authentication has expired and the WeChat authentication needs to be reinitiated