Added sample code payment api demo for ruby