Cant do a partially refund request

DanPQ
Contributor
Contributor

Hello Everyone !

 

I'm try to used payments api to execute a partially refund transaction. This is my request body :

POST /v1/payments/sale/7L8410140A787884T/refund   (sandbox)

{"amount":{"total":"20.51","currency":"GBP"}}

 

When I try with another transaction has currency is USD, I can do partially refund normally. But when I try with another currency like GBP, EUR, I always see exception like that : 

{"name":"TRANSACTION_REFUSED","message":"The request was refused. You can not do a partial refund on this transaction","information_link":"https://developer.paypal.com/docs/api/payments/#errors","debug_id":"d784f57a5f43f"}

 

Thank for anyone can help me solved this problem, and sorry for my bad English 😄 !!

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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