Visa Developer Community

Regular Visitor

Refund API error

Hi, I'm trying to issue a partial/full refund transaction to a successful payment transaction but getting an error below. 

Appreciate all the help! Thanks.

 

Body:

{
  "clientReferenceInformation": {
    "code": "300120190000000010"
  },
  "orderInformation": {
    "amountDetails": {
      "totalAmount": "50",
      "currency": "SGD"
    }
  }
}

 

Response:

{
    "submitTimeUtc": "2019-01-30T10:04:45Z",
    "status": "INVALID_REQUEST",
    "reason": "INVALID_DATA",
    "message": "Declined - One or more fields in the request contains invalid data"
}

 

Refund_Error.PNG

Tags (1)
1 REPLY 1
Frequent Helper

Re: Refund API error

Hello,

 

Thanks for your inquiry. This forum is for all those APIs that exposed through the Visa Developer Platform. Looking at the screenshot, looks like you are trying to connect Cybersource APIs via developer.cybersource.com. Kindly reach out to the Cybersource Support team for seeking help regarding the query.

 

https://developer.cybersource.com/support/contact-us.html

 

Thanks,

Jai