Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get a user's PayPal account using the PayPal API?

Tags:

paypal

My application needs to pay some users regularly and automatically via PayPal.

I'm planning to do this using Adaptive Payments APIs. To use the API I need to know the user's PayPal account.

Of course I can simply ask the user for his account name, but without validation it's quite possible that he will make a typo or some other mistake and his money will end up in someone else's account.

So, I'd like - ideally - for the user to go to PayPal, authorize there, and let PayPal return me his authenticated account ID.

How can I do that?

like image 726
Leonid Shevtsov Avatar asked Jan 27 '26 06:01

Leonid Shevtsov


1 Answers

PayPal Access will do what you want: https://www.x.com/developers/x.commerce/products/paypal-access

like image 141
Tatham Oddie Avatar answered Jan 31 '26 22:01

Tatham Oddie