How can I create a donate button that sends money to someone else using their paypal merchant ID?

Essence_of_Pure
New Community Member

In a website, I need a way to automatically generate donate buttons for each of its users. The user provides their paypal merchant ID in their account settings, then I can use that to create a payment. Which API endpoint can I use to accomplish this?

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

Essence_of_Pure
New Community Member

You will have to specify the merchant ID in the payee object in your web API request.

https://developer.paypal.com/docs/api/payments/v1/?mark=payee#definition-payee

View solution in original post

Login to Me Too
1 REPLY 1
Solved

Essence_of_Pure
New Community Member

You will have to specify the merchant ID in the payee object in your web API request.

https://developer.paypal.com/docs/api/payments/v1/?mark=payee#definition-payee

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.