user2055697 user2055697 - 7 months ago 20
HTML Question

Does paypal API suport user to user payments on my app?

Can I use the Paypal API to allow users to send money to other users without leaving my website?

I have a website where users can become friends, much like Facebook. Can I embed a Paypal form that allows users to send each other money directly without leaving my site to Paypal?

So User1 would select their friend User2, and send him money via paypal. Then the money would go straight to User2's paypal account.


Answer Source

Setting up payee is a relatively new feature in paypal. Its fairly simple and i found it here. When you setup a payment using some parameters like below

  "intent": "sale",
    "payment_method": "paypal"

Just add a payee object to it.

"payee": {
        "email": ""

You can find more info on payee here