News for hackers. Stuff that matters.
Re:The Idempotency-Key HTTP header field by foolfoolz on Sunday July 04, 2021 @12:11PM (#27730714)
these seem extreme for most apis but are likely very good at preventing double charging. a “normal” api call usually costs nothing. i bet stripe and adyen have apis with an average cost per call (to someone) being like $20-$30

the cost to undo a charge is high in people and reputation

Re:The Idempotency-Key HTTP header field by polynomial on Sunday July 04, 2021 @03:58PM (#27732169)
How could their API possibly cost $20-$30 per call? How could that even be a business model? Clearly, I am missing something here.
Re:The Idempotency-Key HTTP header field by terinjokes on Sunday July 04, 2021 @04:28PM (#27732362)
I suspect the OP meant to say charge instead of cost.
Re:The Idempotency-Key HTTP header field by polynomial on Sunday July 04, 2021 @05:27PM (#27732758)
ah that makes sense.
Re:The Idempotency-Key HTTP header field by foolfoolz on Sunday July 04, 2021 @06:14PM (#27733068)
unrelated but fun fact: AWS CloudHSM v1 (deprecated now) had a $5,000 api call. that was the cost to create a cluster.
Re:The Idempotency-Key HTTP header field by wdb on Monday July 05, 2021 @12:51AM (#27734719)
Don’t some bank system transfer like the U.K. cost like ~£25 per transaction?