Online payments company Stripe is laying off 300 employees internationally, according to an internal memo seen by Fortune.