...
New Return and Refund response in OrderAPI
We added card acquirer transaction response both on success and failure. Just note that the “cardActionResult” section will only appear in the failure response when the cause of the error is transaction failure or something related to the acquirer action.
The return command is used to fully refund the credit card payment of an order.
...
Responses:
200, Success:
Code Block |
---|
{ "cardActionResult": { "acquirerStatusCode": "00", "acquirerMessage": "Approved." } } |
400, Failure
Code Block |
---|
{ "code": "10051", "message": "Unknown error occurred", "correlationId": "342137fa-88ca-46e1", "cardActionResult": { "acquirerStatusCode": "51-I", "acquirerMessage": "Do not honor. Correlation ID: e6df6457-a84b-44c2-ae40-3260b4797981" } } |
...
Responses:
200, Success:
Code Block |
---|
{ "cardActionResult": { "acquirerStatusCode": "00", "acquirerMessage": "Approved." } } |
400, Failure
Code Block |
---|
{ "code": "10051", "message": "Unknown error occurred", "correlationId": "342137fa-88ca-46e1", "cardActionResult": { "acquirerStatusCode": "51-I", "acquirerMessage": "Do not honor. Correlation ID: e6df6457-a84b-44c2-ae40-3260b4797981" } } |
...