How to allow paypal payments via my custom API - api

I have built my custom xml api in my rails application to enable clients purchase and manage their items. But am stuck on how to enable them pay for their domains via my custom api.
I would like them to send a request with method say "pay" and their paypal credentials to pay for a particular item.
Please help me here.

With all due respect, your API should NOT require callers to give you their PayPal credentials.
Nobody should EVER give their credentials for a given site/service (e.g. PayPal in this case) to a third-party (i.e. you).
If you want to add PayPal support to your site, read and follow PayPal's API docs, samples, etc.
https://developer.paypal.com/webapps/developer/docs/classic/api/

Related

LinkedIn products to subscribe to get access to messaging api

We are tech start-up developing an application and would like to utilise the messaging and connections api.
It looks like this would require special approval from you since the API documentation is saying "Usage of this API is restricted to approved partners, subject to limitations via API agreement."
https://learn.microsoft.com/en-us/linkedin/shared/integrations/communications/messages
We have added all the available products in the application dashboard but that seem to be not adding all the scopes we need to make these calls.
Could someone help us with the process of the product we need to have to get the correct permission so that we can access those APIs?
Thanks
Robi

eBay Kleinanzeigen API access (eBay Classifieds Germany)

For a mobile app we would love to integrate the eBay Kleinanzeigen (www.ebay-kleinanzeigen.de) API. Goal is to (API GET) get all the classifieds in a certain (German) zip code.
However the documentation is not very useful.
The API under https://api.ebay-kleinanzeigen.de/api/ads request login and password for this API. We used the username and password from www.ebay-kleinanzeigen.de and the eBay Partner (Developer) login credentials but both are not working.
Does anyone know how to use it and what credentials we need to use it or has experience with this API?
The eBay Kleinanzeigen API is not public available and is used internally for some applications, including their own apps.
Still, some third parties have access to it, but this is always based on business reasons and contractually regulated. There is no regular developer program to access the API.
If you think you have a product which would work great with eBay Kleinanzeigens inventory, and for that also want to have access to the API you should contact their business development team.
The eBay Kleinanzeigen API is not public available and is used internally for some applications, including their own apps.
If this is the case and you don't need to provide the "eBay Partner" credentials in the apps, they seems to be part of the code.
An overview of the apps can be found here:
https://www.ebayclassifiedsgroup.com/mobile.html
This is not a guidance to do it, just a syllogism.

Can I use PayPal to send payments on a client's behalf?

I'm developing a B2B web app and one of the planned features is to initiate and process payments from a user's PayPal account to a third party email (for example to pay a supplier on the user's behalf). Assuming I can get users to authorise our integration with their PayPal account, is there existing functionality from PayPal (presumably through an API) to enable us to do this? If there is does anyone know what the functionality is called and what level of authentication/permission I'd need from users?
Many thanks for any help.
Take a look at the PayPal Permissions API.

Get Paypal API Credentials from SDK

I have different questions about Paypal API Credentials
Is it possible to retrieve User API credentials (Classic API Signature) for a paypal business account from code?, maybe calling a method of the PayPal SDK to access his profile?. I want to code something that checks if Merchant does not have API credentials, in case that he has them, store them in my local database for payment operations and if not, maybe redirect him to a video explaining how to do this.
Are those credentials different for each merchant account?
Is there a way to have the same credentials for different users using classic API?. I know Rest API Allows to do this (with client id and secret), but it does not allow me to do embedded payments, so that's why I'm using the classic API.
Thanks a lot
You can't do that. The API doesn't have anything like that. Either you need to post API calls using their API credentials or have them authorize your API username to run calls on their behald (where you pass their primary email address in the API calls).

Making PayPal balance payments without being redirected to the PayPal site

After reading the new PayPal REST API documentation, I've concluded that it still is not possible to integrate PayPal in a way that would allow clients to make payments from their PayPal balance without being redirected to PayPal's site. Is this correct? I wanted to check with the rest of the community to confirm that this is still the case.
that's correct. Even with the new REST APIs, you would still have to redirect the user to PayPal for them to login and approve the payment. There is no support for embedded (lighbox/mini-browser) flow yet in the new REST APis.