Skip to content
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

Add support for the Transfer Funds API #22

Open
alfaproject opened this issue Apr 15, 2018 · 3 comments
Open

Add support for the Transfer Funds API #22

alfaproject opened this issue Apr 15, 2018 · 3 comments

Comments

@alfaproject
Copy link

I guess it would be good to add support for the Transfer Funds API: https://docs.opskins.com/public/en.html#ITransactions_TransferFunds_v1

@luuktap
Copy link
Contributor

luuktap commented Sep 16, 2018

OPSkinsAPI.prototype.TransferFunds = function(params, callback) { this._requireKey(); this.post("ITransactions", "TransferFunds", 1, params, function(err, res) { if (err) { callback(err); return; } callback(null, res); }); } ;

This code can be added to the @opskins/api/interfaces/ITransactions.js file and it will add this functionality.
Ofcourse it would be very nice to have this in the module by default, @DoctorMcKay ;)

@james-gould
Copy link

@luukonetap why not make a PR?

@luuktap
Copy link
Contributor

luuktap commented Oct 4, 2018

@luukonetap why not make a PR?

To be honest, I don't use Github much but I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants