Hello,
In your scenario it is better to make payment of the cheque amount. Since you got summons from the court, the other party must have instituted a 138 NI Act case against you. So the best course is to enter appearance on the date of hearing and make a proposal to pay the cheque amount. This will save you from unnecessary legal hassle.
You may choose to contest the proceedings. In case you haven't received a mandatory notice stipulated u/s 138 NI Act, you may have a strong ground to contest. But agreeing to pay the money will end the proceedings quickly.
Regards,
Nishant