The defendant may be permitted to enter an appearance after a default, at the discretion of the court or justice, upon the payment of reasonable costs.