I am working on paypal adaptive payment & i need to refund with API , i am able to refund full amount but i also need to refund partial amount
reference url which i am using:https://developer.paypal.com/docs/classic/api/adaptive-payments/Refund_API_Operation/
eg- total amount made at time of payment is 100 & i need to refund only 50.00
i try following code/api parameters
-H "X-PAYPAL-SECURITY-PASSWORD: api_password"
-H "X-PAYPAL-SECURITY-SIGNATURE: api_signature"
-H "X-PAYPAL-REQUEST-DATA-FORMAT: NV"
-H "X-PAYPAL-RESPONSE-DATA-FORMAT: NV"
-H "X-PAYPAL-APPLICATION-ID: your_app_id " https://svcs.sandbox.paypal.com/AdaptivePayments/Refund -d
"requestEnvelope.errorLanguage=en_US
&transactionId=AP-95V43510SV018561T0"
& try these inputs to set refund amount
&amount = 50.0
&
&amount = XS:50.0
but none of these working just refund the full amount