---
title: "Process a refund for an order."
method: POST
path: "/v2/inscribe/order/{orderId}/refund"
tags: ["Inscribe"]
---

# Process a refund for an order.

`POST /v2/inscribe/order/{orderId}/refund`

## Request

- Base URL: `https://open-api.unisat.io`
- URL: `https://open-api.unisat.io/v2/inscribe/order/{orderId}/refund`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/unisat/apis/unisat-wallet-openapi/docs/v2/inscribe/order/:orderId/refund/post.ts> (a function with typed inputs; its response is checked against the schema)

When the amount paid by the user includes inscriptions, inscribing cannot be performed. Refund can be requested through this method.

## Path parameters

- `orderId` string, required

## Request body

- object
  - `refundFeeRate` number, float

## Response `200`

Successful operation

- object
  - `code` 0 | -1
  - `msg` string
  - `data` object
    - `txid` string: txid of refunded transaction

## Other responses

- `401`: Invalid API Key

---

[API](https://skmtc.dev/unisat/apis/unisat-wallet-openapi.md) - [All operations](https://skmtc.dev/unisat/apis/unisat-wallet-openapi/llms.txt) - [OpenAPI document](https://skmtc.dev/unisat/apis/unisat-wallet-openapi/revisions/68de350419c7?raw)
