...
Lucidchart | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
New Return and Refund response in OrderAPI
The return command is used to fully refund the credit card payment of an order.
Responses:
200, Success:
Code Block |
---|
{
"acquirerStatusCode": "00",
"acquirerMessage": "Approved."
} |
500, 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"
}
} |
The refund command is used for a partial refund of the credit card payment of an order.
Responses:
200, Success:
Code Block |
---|
{
"acquirerStatusCode": "00",
"acquirerMessage": "Approved."
} |
500, 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"
}
} |