---
title: "Order refund"
method: POST
path: "/order/{orderUuid}/refund"
tags: ["Orders"]
---

# Order refund

`POST /order/{orderUuid}/refund`

## Path parameters

- `orderUuid` string, required

## Headers

- `Authorization` string, required
- `X-ShopBack-Idempotent-Id` string

## Response `200`

successful operation

- RRVResponseModel
  - `status` 'ACCEPTED' | 'REJECTED' | 'DONE' | 'FAILED', required — Request processing status
  - `requestId` string — Request identifier. Present only if request has been accepted.
  - `createdAt` string, date-time — Request creation date-time in ISO-8601 date-time format. Present only if request has been accepted.
  - `type` 'FULL' | 'PARTIAL', required — Type of refund.
  - `code` string, required — Response code. Useful to extract error details.
  - `message` string, required — Response message
  - `details` RRVResponseDetailsModel
    - `transactionFeeAmount` number, required — Transaction fee amount
    - `merchantFeeAmount` number, required — Merchant fee amount

## Other responses

- `404` — Not Found, Merchant not found/Currency not found
- `412` — Precondition Failed.**Example of possible error messages:** * Provided token is invalid or expired * Unable to Refund Order in status [INITIATED] * This request has been accepted earlier, Unable to Refund Order in status [REFUNDED] * You are not permitted to perform this operation.
- `500` — Internal Server Error, Something went wrong on servers's end.

---

[API](https://skmtc.net/shopback/apis/online-payments-api.md) · [All operations](https://skmtc.net/shopback/apis/online-payments-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shopback/online-payments-api/versions/160fc287769e/schema)
