Paypal Authorize and withdraw with partial refund and avoid

1) The buyer buys the product from the seller and outsource from PayPal

2) Due to XYZ reason, the buyer canceled the partial order

3) Now the seller must fix the partial amount and the remaining amount in the amount of

I do the following in paypal

1) Authorize the API using the following API: (300 $ authroize)

https://developer.paypal.com/docs/api/payments/#payment_create

target: authroize

2) Capture a partial amount (less than authroize - $ 200 capture)

https://developer.paypal.com/docs/api/payments/#capture

quantity: 200

So, I want to make $ 200 capture and $ 100 return to the buyer

Now, which API should I use to free up the remaining authroize for the buyer?

+4
1

, .

, $100 .

, 1000 , , 300 ( 700 ) - 200 , (800 )

, ?

+1

Source: https://habr.com/ru/post/1695599/


All Articles