[bitcoind] add payment factory.