Merchant API NVP refund request code

Nemotie
Contributor
Contributor
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
Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

Nemotie
Contributor
Contributor

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

Login to Me Too
1 REPLY 1
Solved

Nemotie
Contributor
Contributor

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.

Login to Me Too

Haven't Found your Answer?

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