> almost immediate payment from their customers
Isn't there a gap between customer making the credit card payment and the bank transferring the actual money into Amazon's account?
Probably. And they also won't always sell an item as soon as they receive it, which eats into free cash flow. But generally speaking, they get paid for goods by customers before they need to pay the supplier, which creates free cash flow.