
Monica Sun • over 8 years ago
API to accept surge for user?
Is there an API to accept (or reject) surge confirmation on behalf of the user? (I understand the surge confirmation URL is provided; is there a way to programmatically accept automatically for user?)
Comments are closed.
2 comments
Ahmed Nizam • over 8 years ago
Its not straightforward to do that programatically. When the user Accepts the higher fare in the webpage, they submit and get a surge token via javascript's ajax request.
Even if we could achieve it programmatically somehow, we shouldn't do it I think.
They do this confirmation to make sure they don't get into legal troubles.
Lets wait to hear from the moderator as well.
Monica Sun • over 8 years ago
I understand the legal and UX reasoning behind allowing user to accept/reject surge.
My question is within the context of user-dictated settings. e.g. I'd like to provide a way in my app for users to accept/reject surge by default.