I\'ve just started looking at Paypal\'s REST api. One thing I can\'t seem to see is a feature paypal call Adaptive Payments. This allows me to register my app with my develo
Ok, after some extensive googling, I managed to find the answer here
This general model enables us to easily add support for variety of payment models in the future (Parallel, Chained, etc). The Payee could be a funding instrument (like a Credit/Debit Card,) or a PayPal account (wallet) itself. The Payee could be set explicitly if the Payee is not the same as the Payment Facilitator ( in this current release we only support the case where the Payee is same as the Facilitator) so this is not currently required.
So looks like a payee is just added to the transactions array, but this is not currently implemented as of the date of this answer.
As of January 3rd 2017, PayPal has now added the ability to set the payee to anyone you wish.
Notice the new payee
object below:
{
'intent':'sale',
'redirect_urls':{
'return_url':'http://localhost:3000/process',
'cancel_url':'http://localhost:3000/cancel'
},
'payer':{
'payment_method':'paypal'
},
'transactions':[{
'amount':{
'total':'10',
'currency':'USD'
},
'payee':{
'email': 'payee@test.com'
},
'description':'My amazing product'
}]
}
However, there doesn't seem to be an ability to have multiple payee's.
Additional info here: https://devblog.paypal.com/setting-payee/