How to secure REST API from replay attacks with parameter manipulation?
问题 I am developing secure payment APIs, and I want to avoid replay attacks with manipulation of the parameters in the url. For example in the following API call: https://api.payment.com/wallet/transfer?from_account=123&to_account=456&amount=100 Once this API call is executed, someone with enough knowledge can execute the same API call by modifying any of the three parameters to his/her own advantage. I have thought of issuing a temporary token (transaction token) for each transaction. But this