Klarna priced its IPO at $40 a share, an offering that values the company at about $15 billion.