Refund

Process a refund for an order.

post
/v2/inscribe/order/{orderId}/refund

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

Authorizations
Path parameters
orderIdstringRequired
Body
refundFeeRatenumber · floatOptionalExample: 1
Responses
200

Successful operation

application/json
post
/v2/inscribe/order/{orderId}/refund
POST /v2/inscribe/order/{orderId}/refund HTTP/1.1
Host: open-api.unisat.io
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19

{
  "refundFeeRate": 1
}
{
  "code": 0,
  "msg": "OK",
  "data": {
    "txid": "text"
  }
}

Last updated