update_id as an idempotency key
Hi, I have a payment service that stores an idempotency key in the database to ensure that requests aren’t repeated. Can I use update_id as the idempotency key, or could it be repeated?
Payment notifications have specific fields with unique payment identifiers. update_id may be used to apply updates in the correct order or to discard duplicate updates, but it can't be used as an idempotency key for payments.
Payment notifications have specific fields with unique payment identifiers.
update_idmay be used to apply updates in the correct order or to discard duplicate updates, but it can't be used as an idempotency key for payments.
The problem is that my payment system isn't integrated via the Telegram API, so I need something unique within the request
If the payment system isn't integrated via the Telegram API, then Bot API isn't related to payments and their handling.