-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Propose API for B2C payments and withdrawals #67
Comments
User initiated withdrawal is potentially scary. |
@antiochp why? it's how many exchanges and pools work now, unfortunately this interaction is not standardized yet |
Just if its via an https endpoint then you are hitting an API that basically spits funds out to anybody who asks for them if we're not careful. |
@hashmap I had same thought before, and I hesitated for same comment as @antiochp 's: But I think it's still possible to give a safe design to implement this "one-click" idea. So I second you. Considering the current exchanges withdraw process, they normally ask for 2 or 3 steps authentication for each withdrawing:
So, we can think all these 2 / 3 authentication steps as a mandatory condition for our new "one-click" solution. For example, "one-click withdraw" API provide additional message signature and ask for 2/3 steps authentication. I will give more detail on this for further discussion on design. |
To be clear - not opposed to this, just something that we'd want to think through carefully (obviously). 👍 |
+1 on this feature. It would be great for us to use |
this is what we need for Grin |
Currently we are more oriented to peer-to-peer payments even if we support http client/server interaction.
We may want a standardize API for B2C (Business to Customer) case which has the following properties:
We need this API be implemented in the wallet(s), server side will be specific to particular service, because it includes custom logic like customer balance checking, updating internal balance etc.
It would greatly improve user experience by enabling one-click (one command if you want) payments and withdrawals from any service which supports this API.
The text was updated successfully, but these errors were encountered: