Yes, Samsung Pay can be used for online and in-app purchases. Just make sure that the online store accepts Samsung Pay.