added payment api demo