eBay sends a TokenRevocation notification to the subscriber when an application revokes a user token.
Data Fields Returned
API Call that displays this notification: GetTokenStatus
The data fields returned by the TokenRevocation notification are the same as those for GetTokenStatus. Refer to the GetTokenStatus call reference documentation for additional information.
Refer to SOAP Message Body for information about the standard elements returned for all notifications.
Example
Sample TokenRevocation Notification
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http:// www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"> <soapenv:Header> <ebl:RequesterCredentials soapenv:mustUnderstand="0" xmlns:ns="urn:ebay:apis:eBLBaseComponents" xmlns:ebl="urn:ebay:apis:eBLBaseComponents"> <ebl:NotificationSignature xmlns:ebl="urn:ebay:apis:eBLBaseComponents">X********=</ ebl:NotificationSignature> </ebl:RequesterCredentials> </soapenv:Header> <soapenv:Body> <GetTokenStatusResponse xmlns="urn:ebay:apis:eBLBaseComponents"> <Timestamp>2008-03-18T23:37:44.055Z</Timestamp> <Ack>Success</Ack> <CorrelationID>1********0</CorrelationID> <Version>557</Version> <Build>e557_core_Bundled_6282437_R1</Build> <NotificationEventName>TokenRevocation</NotificationEventName> <RecipientUserID>b********1</RecipientUserID> <TokenStatus> <Status>RevokedByeBay</Status> <EIASToken>EIASToken</EIASToken> <ExpirationTime>2008-04-04T13:30:38.000Z</ExpirationTime> <RevocationTime>2008-03-18T21:30:40.000Z</RevocationTime> </TokenStatus> </GetTokenStatusResponse> </soapenv:Body> </soapenv:Envelope>