U.S. payments company Stripe has bought Nigerian fintech startup Paystack to expand into the fast-growing online market in Africa, the companies said on Thursday.