Refunds for partial or failed orders

How undelivered value is calculated and returned to your wallet.