POST
/
api
/
service
/
merchant
/
payment
/
refund
curl --request POST \
  --url https://api.sand.getivy.de/api/service/merchant/payment/refund \
  --header 'Content-Type: application/json' \
  --header 'X-Ivy-Api-Key: <api-key>' \
  --data '{
  "orderId": "<string>",
  "referenceId": "<string>",
  "amount": 123,
  "description": "<string>",
  "email": "<string>",
  "displayedPaymentReference": "<string>"
}'
{
  "orderId": "<string>",
  "referenceId": "<string>",
  "orderStatus": "failed",
  "refundStatus": "pending"
}

Authorizations

X-Ivy-Api-Key
string
header
required

Body

application/json

Response

200
application/json

Returns the refund result

The response is of type object.