David Marcus gathered a team inside Facebook Inc.’s headquarters in May to toast a skunk works project a year in the making: a bitcoin-like payments system that the social-media giant figured would upend the global flow of money.

“We’re going to change the world,” Mr. Marcus, a Facebook executive and the project’s architect, told employees as they sipped Champagne, according to a person familiar with the matter.

Turns...