Showing results for 
Search instead for 
Did you mean: 

Lifetime of oAuthToken generated in a transaction.

New Community Member
Posted on


I have the following queries on a OAuth token generated in the Paypal transaction flow.

Once a call is made to-, Oauthtoken is returned to the source app.

1.How long is it valid? There is a "expires_in" attribute returned, which does define it. However, does it vary for every token generated?

How is the lifespan of this token defined.The reason for this q, do we have to hit for an oAuth on every trx, can we not retain it internally till its lifetime (if its pre-defined and has a fixed/valid value for each case) if the same user is using it for n-number of trx.


2.Is there a way to revoke this token once the transaction is done, this is to avoid the storage mentioned earlier, so that we are sure that every trx is stamped with a different oauth tokens and we do not run into any expired tokens or so.

Please point out to any links/doc which give a detailed explanation of it.





Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.