How to disable payments at a certain moment?

Good day, everyone! Could you please tell me — is there a way in a Telegram chatbot (with payment integration) to completely disable payments at a certain moment?
I mean both for new users and for those who previously received messages with payment buttons.

The task is simple: once we reach, say, 50 participants — we need to stop all sales.
How can this be done?

1
1 reply