Klarna priced its IPO at $40 on Tuesday in an offering that valued the company at about $15 billion.