Can you connect to PaylPal's REST API From 3rd Party Apps - rest

I am looking at building a product that integrates with PayPal new REST API. I can't find any information on connecting to other PayPal users accounts to make requests on their behalf. All I can find suggests that all of my users will have to login to developer.paypal.com and create their own App, and plug those credentials into the product I am building.
It seems like their should be a way to authenticate to a user's account and make requests on their behalf. Is there?

PayPal does have a way to authorize a third party to make calls on another party's behalf. There is even an API that can do this. The most straightforward way is for you to provide them your API username and they authorize you to run calls on their behalf and you call with their email address as a parameter (at least in Classic, REST may have a different method)
PayPal has a guide to all this on the Developer page (it's too extensive to excerpt).

Related

Paypal developer/business account(sandbox)

I'm working on a php project that needs to integrate Paypal API's. I've chosen REST API's. But I've a business account(sandbox). Is it possible to call REST API's using this account type?
You need to log into developer.paypal.com using any live PayPal account, via https://www.paypal.com/signin?returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Fapplications
If you don't have a live PayPal account, create one.
Once logged in, the number of REST API apps and corresponding sandbox accounts that you can manage is unlimited.

Paypal REST API for multiple accounts

I have a Java application that has just been updated with e-commerce features that use the Paypal REST API (https://developer.paypal.com/docs/api/).
I have multiple customers who run this application, each of them can log in to their own admin panel and manage their store and other features.
The Java client for Paypal REST API is working, I have tested it in the Sandbox of my own Paypal account and also in the live environment.
Question: Will each customer have to go into their Paypal account and activate the REST API to generate their key/secret for use in the Java app or is their a way for me to pay multiple PP acounts from the App/key/secret that is already active for my own PP account?
The only thing the Java app is doing with the PP API is creating and executing a payment.
If each customer has to create their own key/secret is there a quick way for them to do this from their PP admin panel? Currently the only way I know is to go into the developer.paypal.com section of the site, which doesn't seem very intuitive for a non techy.
At this time the PayPal REST API does not support third party payments in that way. The customer would need to use developer.paypal.com as you suggested to get their own PayPal REST credentials.
You can collect money and send it out using your own REST credentials but this would make you the liable receiver for the purchase.
PayPal has solutions outside of the REST API that might work for you here: https://developer.paypal.com/docs/marketplace-split-payments/
The Classic API does have a subject option, the subject is the third party. You do need permissions for some of the API calls; however, the permissions API can ease that process.

I can't find the paypal API?

I'm in third-party applications (like PA), now want to join up ebay, so need to paypal user authorization. Such as user already through paypal give me the authorization of the API (Add New Third Party Permissions), How to through the user's paypal account, I get the user is authorized to me?
PayPal has lots of different APIs depending on what you're after. I would take a look at this for a list of all the Classic APIs, which are what you would use when working with a client who has granted API permissions for you.
For more details about the different PayPal products which utilize the individual APIs you can view the integration guides.

One application to interact with multiple paypal accounts

I have a bunch of customers who would like to create and send invoices directly from my web application (without logging in to theirs paypal account). Is that possible to create paypal api which will manage invoices for different paypal accounts (not mine). Of course my application will hold their account data.
Thanks.
You could have your users manually grant API permissions from their PayPal account for your application to make API calls on their behalf.
Once they've done that, you would include the SUBJECT parameter with their PayPal account ID or email address as the value, and you would continue to use your own API USER, PWD, and SIGNATURE. This way the application calls would be made with your account, but any action that occurs would happen on the 3rd party account.
If you want to make this a little easier on your users (and yourself since you won't have to support them so much) you can use the Permissions API. This allows you to setup a way within your application for users to approve your application to make the calls it needs to make, and then you would be working with OAuth tokens instead of their email/account ID.

How to become PayPal's 3rd party which paypal users can grant API access to

I am creating a client software to help online sellers analyzing their paypal transactions, one step needs to be done before user can use this software is that they need to grant paypal api access to my software in the page shown below:
However I am not a paypal 3rd party provider, so my question is how can I apply this role?
I searched developer.paypal.com but didn't find any clue.
To give permission to any third party(such as you want to give API permissions to your developer), then your third party(developer) needs to create a PayPal account and request the API credentials(by logging to his/her paypal account)
In order to give permission to your third party, you need to enter the third party(developer) API username(API username of the developer) to give permissions.