latestOpenAPI 3.0.3Apache 2.02026-08-107311157.4 KB

68de350419c7

Inscribe

Estimate the size of the refund transaction

RefundAmount = PaidAmount - RefundTxSize * RefundFeeRate. This value must be greater than SafeRefundAmount, otherwise there's a risk of losing inscriptions used for payment due to errors.

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

Path parameters

orderIdstring required

Response

Successful operation

code0 | -1
msgstring

Example response

{
  "msg": "OK"
}