cancel
Showing results for 
Search instead for 
Did you mean: 

Merchant API NVP refund request code

SOLVED
Contributor

Merchant API NVP refund request code

REST API call with (visual studio code) to make a single Refund in Sandbox
.... is known, but the Syntax for the code is unknown.
 
content type? Syntax? can anyone Help?
 
code:
 
 
Content-Type: text/xml

USER=.....
PWD=.....
SIGNATURE=....
METHOD=RefundTransaction
VERSION=94
TRANSACTIONID=....
REFUNDTYPE=Full
1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: Merchant API NVP refund request code

curl https://api-3t.sandbox.paypal.com/nvp -s --insecure \ -d USER=12323.com\ -d PWD=1234 \ -d SIGNATURE=123 \ -d METHOD=RefundTransaction \ -d VERSION=94 \ -d TRANSACTIONID=1234 \ -d REFUNDTYPE=FULL \ -d cancelUrl=https://example.com/cancel \-d returnUrl=https://example.com/success

 

Hab mir selbst geholfen. Falls jemand das selbe Problem hat.

View solution in original post

1 REPLY 1
Contributor

Re: Merchant API NVP refund request code

curl https://api-3t.sandbox.paypal.com/nvp -s --insecure \ -d USER=12323.com\ -d PWD=1234 \ -d SIGNATURE=123 \ -d METHOD=RefundTransaction \ -d VERSION=94 \ -d TRANSACTIONID=1234 \ -d REFUNDTYPE=FULL \ -d cancelUrl=https://example.com/cancel \-d returnUrl=https://example.com/success

 

Hab mir selbst geholfen. Falls jemand das selbe Problem hat.

View solution in original post