In the Magpie app, when the connection drops while you record an order by hand or issue a gift card, tapping again gives you the order or card that was already made, with the same code, instead of a second one. Magpie keeps that answer for a day, sealed, since a gift card's code is shown only once.
For developers: POST /api/v1/store/orders and POST /api/v1/store/gift-cards accept Idempotency-Key.