If you have an Android phone, you can probably use Android Pay and type in the numbers yourself, and it should show you the barcode. The Wallet app on iPhones might to the same thing, I'm not familiar with how that works.
The barcode simply contains numbers, so you can even use somehting as simple as this text to barcode converter.