Refund

Process a refund for an order.

post

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
POST /v2/inscribe/order/{orderId}/refund HTTP/1.1
Host: open-api.unisat.io
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 19

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

Last updated