Amazon would have paid SE for this deal, since it was all about drawing people to Amazon's site. But they clearly weren't paying per code that they gave out. They blindly gave a code to everyone who happened to buy a video game during that period, most of whom would not have been FFXIV players and would have had no use for such codes. That suggests they paid SE a flat fee that didn't rely on how many codes were given out.
