Last updated 10 months ago
When the amount paid by the user includes inscriptions, inscribing cannot be performed. Refund can be requested through this method.
1
Successful operation
"OK"
const response = await fetch('https://open-api.unisat.io/v2/inscribe/order/{orderId}/refund', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "code": 0, "msg": "OK", "data": { "txid": "text" } }