Server response
If the refund is performed successfully, the server will respond with HTTP status 200:
{
"status": "SUCCESS",
"data": {
"paymentRefundId": "e6853cef-7d1b-409f-81c4-bab92e4fb75z",
"serviceId": "000eec9b-7248-4dae-98f2-56aab6a53927",
"paymentId": "925767db-962a-49ee-916e-783de9b62a73",
"amount": 100,
"amountRefunded": 0,
"status": "pending",
"transactions": [
{
"transaction": {
"id": "5023f30e-9909-41bd-a8a8-9cc9b161badf",
"type": "refund",
"status": "new",
"source": "api",
"createdAt": 1650024191,
"modifiedAt": 1650024191,
"serviceId": "000eec9b-7248-4dae-98f2-56aab6a53927",
"amount": 100,
"currency": "PLN",
"orderId": "1",
"paymentMethod": "blik",
"paymentMethodChannel": "blik",
"payment": {
"id": "925767db-962a-49ee-916e-783de9b62a73",
"status": "settled"
}
}
}
]
}
}