•   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?)

  • 2 comments

  •   •   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.

  •   •   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.

Comments are closed.