changed payment api endpoint