1) Buyer purchase a product from seller and authroize from PayPal
2) Due to XYZ reason buyer cancel partial order
3) Now, seller need to capture a partial amount and void remaining amount
I have perform following action in PayPal
1) Authorize API using following API : (300$ of authroize)
https://developer.paypal.com/docs/api/payments/#payment_create
intent : authroize
2) Capture a partial amount (Lesser amount than authroize - 200$ of capture)
https://developer.paypal.com/docs/api/payments/#capture
amount : 200
So I want to do 200$ capture and 100$ return to buyer
Now which API need to use to release remaining authroize funds to buyer?