Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Lucidchart
pageCount1
autoUpdatefalse
alignleft
typerich
autoSize1
macroId92a91199-04f2-4135-b530-872eee3d025c
pages
instanceIdConfluence:5730988163
width700
documentId3c877cbf-9996-440f-a0cd-318ab1bea862
documentToken3c877cbf-9996-440f-a0cd-318ab1bea862|158359129|3542581255|6bgb4xYSbWSFqXYesN1XFK17ly0h4322J3IlwRuv7Uc=
updated1669812205327
height500

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"​
    }​
}