Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create clientId and clientSecret for OAuthTokenCredential paypal rest api

I am using paypal rest api and i don't know how to create client_id and clientSecret. Please let me know if you have any idea...

Thanks

like image 403
Jaskaran singh Rajal Avatar asked Dec 10 '13 12:12

Jaskaran singh Rajal


People also ask

How do I pass a client ID and secret in REST API?

The Client ID and Client Secret are found in the Admin > LaunchPoint menu by selecting the custom service, and clicking View Details. The Identity URL is found in the Admin > Web Services menu in the REST API section. access_token – The token that you pass with subsequent calls to authenticate with the target instance.

How do I get my PayPal REST API access token?

Enter the https://api-m.sandbox.paypal.com/v1/oauth2/token request URL. On the Authorization tab, select the Basic Auth type. Type your client ID in the Username box, and type your secret in the Password box. On the Body tab, select x-www-form-urlencoded .


1 Answers

You need to follow the following steps:

  • Go to Paypal developer Site here https://developer.paypal.com/developer/applications (you must have Paypal account, of course)
  • Click on Create App on right side of page
  • Choose name of your app and click Create App
  • Now you can see and manage everything include client ID and secret.
like image 87
Dinesh Saini Avatar answered Oct 24 '22 22:10

Dinesh Saini