- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am developing a web page that accepts paypal payments, but sometimes will also give money to users. I am using PayPal PHP SDK ( https://paypal.github.io/PayPal-PHP-SDK/ ). I was successful with ingoing payments (user paying to my website for some services) but I cannot find much info on how to create outgoing payments (website pays to users). I was able to create a payment and define receiver as Payee, but payment then needs to be approved. But how? Website merchant should approve it.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind, got it. Sender id the account connected to the app. Logically 🙂 Okay, it works now, thank you for support

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So Payouts is probably the best solution if the API caller is always the person paying out, with Payouts the payment to a defined reciever is implicity approved since the API caller is the payer so there is no need to redirect user to PayPal to approve it. Check it out here for more details:
https://developer.paypal.com/docs/integration/direct/payouts/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, that's probably what I wanted. But one more question - when testing in sandbox, how do I specify what sandbox account will be the sender? I am receiving Insufficient funds error, and I need to specify who should pay the money.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind, got it. Sender id the account connected to the app. Logically 🙂 Okay, it works now, thank you for support

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- Couldn't receive International payment in PayPal Payments Standard
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs
- Things don’t appear to be working at the moment in PayPal Payments Standard
- [WooCommerce PayPal Payments] - Required phone country code, different than the cards country code. in PayPal Payments Standard