/refund
or /cancel
call.This endpoint is part of our classic API integration. If using a newer integration, use the /payments/{paymentPspReference}/reversals
endpoint under Checkout API instead.
curl --location --request POST '/cancelOrRefund' \
--header 'Content-Type: application/json' \
--data-raw ''
{
"additionalData": {
"property1": "string",
"property2": "string"
},
"pspReference": "string",
"response": "[capture-received]"
}