I have used the below code to call the Refund API but I am getting an "Unauthorized" error message from my response. var signatureParm = "host: apitest.cybersource.com\ndate:&...