eBay Trading APIVersion 1391
 

FetchTokenRequestType ( AbstractRequestType )

Retrieves an authentication token for a user.

Call that uses FetchTokenRequestType:

Fields

SecretID ( string ) [0..1]
A value associated with the token retrieval request. SecretID is defined by the application, and is passed in the redirect URL to the eBay sign-in page. eBay recommends using a UUID for the secret ID value. You must also set Username (part of the RequesterCredentials) for the particular user of interest. SecretID and Username are not required if SessionID is present.
See the Field Index to learn which calls use SecretID.

SessionID ( string ) [0..1]
A value associated with the token retrieval request. eBay generates the session ID when the application makes a GetSessionID request. SessionID is passed in the redirect URL to the eBay sign-in page. The advantage of using SessionID is that it does not require UserID as part of the FetchToken request. SessionID is not required if SecretID is present.
See the Field Index to learn which calls use SessionID.