Reputation: 153
I can receive payment using paypal rest api on my website, but how can i get these payments received by someother paypal email address.
Like people add their products on my page and once their product is sold, as soon the buyers pays, i want the money to be credited in seller's paypal account instead of my paypal account. where can i mention the seller paypal address in rest api cal so that money goes to him after the sale
secondly paypal sends the transaction time in following format 2013-03-01T22:34:35Z
what is the timezone of this time?
Upvotes: 1
Views: 421
Reputation: 788
Here's a post I wrote about setting the receiver of a payment with the REST APIs: https://devblog.paypal.com/setting-payee/. In essence, you just add something like the following to your transaction object:
payee: {
email: '[email protected]'
}
Also, the time zone should be GMT that is being returned.
Upvotes: 2