GPI Capital led the round, which valued the startup at $2.4 billion. Postmates confidentially filed to go public in February.