npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

coinsecure-api

v0.0.0-alpha.1

Published

Coinsecure API

Downloads

12

Readme

Coinsecure API

This repo is only for coinsecure-api NPM package

Original content here. https://github.com/coinsecure/plugins/tree/master/master/javascript

Installation

npm install coinsecure-api

Getting Started

Please follow the installation instruction and execute the following JS code:

var coinsecure = require('coinsecure-api')

var api = new coinsecure.AccountActionsApi()

var body = new coinsecure.LoginFormNew() // {LoginFormNew} Please send the form with valid inputs.

var opts = {
  'accept': "accept_example" // {String} JSON, XML or CSV can be returned (Optional)
}

var callback = function(error, data, response) {
  if (error) {
    console.error(error)
  } else {
    console.log('API called successfully. Returned data: ' + data)
  }
}

api.v1login(body, opts, callback)

Documentation for API Endpoints

All URIs are relative to https://api.coinsecure.in/

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- CoinsecureApiDocumentation.AccountActionsApi | v1login | POST /v1/login | Creates a Login Instance and returns an API Key. CoinsecureApiDocumentation.AccountActionsApi | v1logininitiate | POST /v1/login/initiate | Initiate Login CoinsecureApiDocumentation.AccountActionsApi | v1loginpasswordforgot | POST /v1/login/password/forgot | Sends an email with a password reset token CoinsecureApiDocumentation.AccountActionsApi | v1signup | POST /v1/signup | Creates a new Unverified Account. CoinsecureApiDocumentation.AccountActionsApi | v1signupverifyToken | PUT /v1/signup/verify/{token} | Verifies an Email token for Signup . CoinsecureApiDocumentation.AccountActionsApi | v1userbankotpNumber | GET /v1/user/bank/otp/{number} | Send OTP for Bank Link CoinsecureApiDocumentation.AccountActionsApi | v1userexchangekyc | PUT /v1/user/exchange/kyc | Submits a New Bank Link and initial KYC Documents. CoinsecureApiDocumentation.AccountActionsApi | v1usergcmCode | DELETE /v1/user/gcm/{code} | Delete GCM Code CoinsecureApiDocumentation.AccountActionsApi | v1userkycotpNumber | GET /v1/user/kyc/otp/{number} | Send OTP for KYC Link CoinsecureApiDocumentation.AccountActionsApi | v1userlogout | DELETE /v1/user/logout | Logout User CoinsecureApiDocumentation.AccountActionsApi | v1usernetkicreate | PUT /v1/user/netki/create | Create Neki Wallet Name CoinsecureApiDocumentation.AccountActionsApi | v1usernetkiupdate | POST /v1/user/netki/update | Update Netki Address CoinsecureApiDocumentation.AccountActionsApi | v1userprofileimagedeleteNetkiName | DELETE /v1/user/profile/image/delete/{netkiName} | Delete Profile Image CoinsecureApiDocumentation.AccountActionsApi | v1userprofileimageupdate | POST /v1/user/profile/image/update | Update Profile Image CoinsecureApiDocumentation.AccountActionsApi | v1userprofilephone | PUT /v1/user/profile/phone/new | New Profile Phone CoinsecureApiDocumentation.AccountActionsApi | v1userprofilephoneNumber | DELETE /v1/user/profile/phone/delete | Delete Profile Phone Number CoinsecureApiDocumentation.AccountActionsApi | v1userprofilephoneotpNumber | GET /v1/user/profile/phone/otp/{number} | Send OTP for Profile Phone CoinsecureApiDocumentation.AccountDataApi | v1exchangebanksummary | GET /v1/user/exchange/bank/summary | Exchange Bank Summary CoinsecureApiDocumentation.AccountDataApi | v1exchangeusercoinfee | GET /v1/user/exchange/coin/fee | Users Coin Fee Percentage CoinsecureApiDocumentation.AccountDataApi | v1exchangeuserfiatfee | GET /v1/user/exchange/fiat/fee | Users Fiat Fee Percentage CoinsecureApiDocumentation.AccountDataApi | v1netkisearchNetkiName | GET /v1/netki/search/{netkiName} | Coinsecure.me Netki Lookup CoinsecureApiDocumentation.AccountDataApi | v1userexchangekycs | GET /v1/user/exchange/kycs | Gets KYC Status Details CoinsecureApiDocumentation.AccountDataApi | v1userexchangereferralcoinpaid | GET /v1/user/exchange/referral/coin/paid | Users Paid Fiat Referrals CoinsecureApiDocumentation.AccountDataApi | v1userexchangereferralcoinsuccessful | GET /v1/user/exchange/referral/coin/successful | Gets Users Successful Referral Links CoinsecureApiDocumentation.AccountDataApi | v1userexchangereferralfiatpaid | GET /v1/user/exchange/referral/fiat/paid | Users Paid Fiat Referrals CoinsecureApiDocumentation.AccountDataApi | v1userexchangereferrals | GET /v1/user/exchange/referrals | Gets Users Referral Links CoinsecureApiDocumentation.AccountDataApi | v1userexchangetradesummary | GET /v1/user/exchange/trade/summary | Exchange Trade Summary CoinsecureApiDocumentation.AccountDataApi | v1userlogintokenToken | GET /v1/user/login/token/{token} | Login Token Email CoinsecureApiDocumentation.AccountDataApi | v1usersummary | GET /v1/user/summary | Exchange Bank Summary CoinsecureApiDocumentation.AccountDataApi | v1userwalletsummary | GET /v1/user/wallet/summary | Exchange Bank Summary CoinsecureApiDocumentation.BlockchainToolsApi | v1bitcoinsearchAddress | GET /v1/bitcoin/search/{any} | Search Bitcoin Blockchain CoinsecureApiDocumentation.BlockchainToolsApi | v1bitcoinsearchTxid | GET /v1/bitcoin/search/confirmation/{txid} | Get Confirmations CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankcoinwithdrawinitiate | POST /v1/user/exchange/bank/coin/withdraw/initiate | Initiate Bitcoin Withdrawal CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankcoinwithdrawnewVerifycode | POST /v1/user/exchange/bank/coin/withdraw/newVerifycode | Gets a Verification Code. CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankcoinwithdrawunverifiedcancelWithdrawID | DELETE /v1/user/exchange/bank/coin/withdraw/unverified/cancel/{withdrawID} | Cancel Bitcoin Withdrawal CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankcoinwithdrawverify | PUT /v1/user/exchange/bank/coin/withdraw/verify | Verify Bitcoin Withdrawal CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankfiataccountnew | PUT /v1/user/exchange/bank/fiat/account/new | New Bank Link CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankfiatdepositcancelDepositID | DELETE /v1/user/exchange/bank/fiat/deposit/cancel/{depositID} | Cancel Unverified Exchange Fiat Deposit CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankfiatdepositnew | PUT /v1/user/exchange/bank/fiat/deposit/new | New Exchange Fiat Deposit CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankfiatwithdrawinitiate | POST /v1/user/exchange/bank/fiat/withdraw/initiate | Initiate Fiat Withdrawal CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankfiatwithdrawnewVerifycode | POST /v1/user/exchange/bank/fiat/withdraw/newVerifycode | Gets a Fiat Verification Code. CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankfiatwithdrawunverifiedcancelWithdrawID | DELETE /v1/user/exchange/bank/fiat/withdraw/unverified/cancel/{withdrawID} | Cancel Fiat Withdrawal CoinsecureApiDocumentation.ExchangeBankActionsApi | v1userexchangebankfiatwithdrawverify | PUT /v1/user/exchange/bank/fiat/withdraw/verify | Verify Fiat Withdrawal CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoinaddresses | GET /v1/user/exchange/bank/coin/addresses | Exchange Coin Addresses CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoinbalanceavailable | GET /v1/user/exchange/bank/coin/balance/total | Available Exchange Coin Balance CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoinbalancepending | GET /v1/user/exchange/bank/coin/balance/pending | In Trade Coin Balance CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoinbalancetotal | GET /v1/user/exchange/bank/coin/balance/available | Total Exchange Coin Balance CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoindepositcancelled | GET /v1/user/exchange/bank/coin/deposit/cancelled | Cancelled Exchange Coin Deposits CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoindepositunverified | GET /v1/user/exchange/bank/coin/deposit/unverified | Unverified Exchange Coin Deposits CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoindepositverified | GET /v1/user/exchange/bank/coin/deposit/verified | Verified Exchange Coin Deposits CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoinwithdrawcancelled | GET /v1/user/exchange/bank/coin/withdraw/cancelled | Cancelled Exchange Coin Withdrawals CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoinwithdrawcompleted | GET /v1/user/exchange/bank/coin/withdraw/completed | Completed Exchange Coin Withdrawals CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoinwithdrawunverified | GET /v1/user/exchange/bank/coin/withdraw/unverified | Unverified Exchange Coin Withdrawals CoinsecureApiDocumentation.ExchangeBankCoinDataApi | v1userexchangebankcoinwithdrawverified | GET /v1/user/exchange/bank/coin/withdraw/verified | Verified Exchange Coin Withdrawals CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiataccounts | GET /v1/user/exchange/bank/fiat/accounts | Exchange Bitcoin Deposit Addresses CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiatbalanceavailable | GET /v1/user/exchange/bank/fiat/balance/total | Available Exchange Fiat Balance CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiatbalancepending | GET /v1/user/exchange/bank/fiat/balance/pending | In Trade Coin Balance CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiatbalancetotal | GET /v1/user/exchange/bank/fiat/balance/available | Total Exchange Fiat Balance CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiatdepositcancelled | GET /v1/user/exchange/bank/fiat/deposit/cancelled | Cancelled Exchange Fiat Deposits CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiatdepositunverified | GET /v1/user/exchange/bank/fiat/deposit/unverified | Unverified Exchange Fiat Deposits CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiatdepositverified | GET /v1/user/exchange/bank/fiat/deposit/verified | Verified Exchange Fiat Deposits CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiatwithdrawcancelled | GET /v1/user/exchange/bank/fiat/withdraw/cancelled | Cancelled Exchange Fiat Withdrawals CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiatwithdrawcompleted | GET /v1/user/exchange/bank/fiat/withdraw/completed | Completed Exchange Fiat Withdrawals CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiatwithdrawunverified | GET /v1/user/exchange/bank/fiat/withdraw/unverified | Unverified Exchange Fiat Withdrawals CoinsecureApiDocumentation.ExchangeBankFiatDataApi | v1userexchangebankfiatwithdrawverified | GET /v1/user/exchange/bank/fiat/withdraw/verified | Verified Exchange Fiat Withdrawals CoinsecureApiDocumentation.ExchangeTradeActionsApi | v1userexchangeaskcancelOrderID | DELETE /v1/user/exchange/ask/cancel/{orderID} | Cancel Open Sell Order CoinsecureApiDocumentation.ExchangeTradeActionsApi | v1userexchangeasknew | PUT /v1/user/exchange/ask/new | BTC Sell Order CoinsecureApiDocumentation.ExchangeTradeActionsApi | v1userexchangebidcancelOrderID | DELETE /v1/user/exchange/bid/cancel/{orderID} | Cancel Open Buy Order CoinsecureApiDocumentation.ExchangeTradeActionsApi | v1userexchangebidnew | PUT /v1/user/exchange/bid/new | BTC Buy Order CoinsecureApiDocumentation.ExchangeTradeActionsApi | v1userexchangeinstantbuy | PUT /v1/user/exchange/instant/buy | Instantly Buy BTC CoinsecureApiDocumentation.ExchangeTradeActionsApi | v1userexchangeinstantsell | PUT /v1/user/exchange/instant/sell | Instantly Sell BTC CoinsecureApiDocumentation.ExchangeTradeDataApi | v1exchangeasklow | GET /v1/exchange/ask/low | Lowest Ask CoinsecureApiDocumentation.ExchangeTradeDataApi | v1exchangeaskorders | GET /v1/exchange/ask/orders | All Sell Orders CoinsecureApiDocumentation.ExchangeTradeDataApi | v1exchangebidhigh | GET /v1/exchange/bid/high | Returns the Highest Bid in the Order Book CoinsecureApiDocumentation.ExchangeTradeDataApi | v1exchangebidorders | GET /v1/exchange/bid/orders | All Buy Orders CoinsecureApiDocumentation.ExchangeTradeDataApi | v1exchangelastTrade | GET /v1/exchange/lastTrade | Last Trade CoinsecureApiDocumentation.ExchangeTradeDataApi | v1exchangemax24Hr | GET /v1/exchange/max24Hr | Max 24 Hour Rate CoinsecureApiDocumentation.ExchangeTradeDataApi | v1exchangemin24Hr | GET /v1/exchange/min24Hr | Min 24 Hour Rate CoinsecureApiDocumentation.ExchangeTradeDataApi | v1exchangeticker | GET /v1/exchange/ticker | Exchange Ticker CoinsecureApiDocumentation.ExchangeTradeDataApi | v1userexchangeaskcancelled | GET /v1/user/exchange/ask/cancelled | Cancelled User Sell Orders CoinsecureApiDocumentation.ExchangeTradeDataApi | v1userexchangeaskcompleted | GET /v1/user/exchange/ask/completed | Completed User Sell Orders CoinsecureApiDocumentation.ExchangeTradeDataApi | v1userexchangeaskpending | GET /v1/user/exchange/ask/pending | Pending User Sell Orders CoinsecureApiDocumentation.ExchangeTradeDataApi | v1userexchangebidcancelled | GET /v1/user/exchange/bid/cancelled | Cancelled User Buy Orders CoinsecureApiDocumentation.ExchangeTradeDataApi | v1userexchangebidcompleted | GET /v1/user/exchange/bid/completed | Completed User Buy Orders CoinsecureApiDocumentation.ExchangeTradeDataApi | v1userexchangebidpending | GET /v1/user/exchange/bid/pending | Pending User Buy Orders CoinsecureApiDocumentation.ExchangeTradeDataApi | v1userexchangetrades | GET /v1/exchange/trades | Completed Exchange Trades CoinsecureApiDocumentation.SecurityActionsApi | v1mfaauthyinitiate | POST /v1/mfa/authy/initiate | Initiate Authy Registration. CoinsecureApiDocumentation.SecurityActionsApi | v1mfagainitiate | POST /v1/mfa/ga/initiate | Initiate GA Registration. CoinsecureApiDocumentation.SecurityActionsApi | v1usermfaauthycall | GET /v1/mfa/authy/call | Authy Call Code CoinsecureApiDocumentation.SecurityActionsApi | v1usermfaauthydisableCode | DELETE /v1/user/mfa/authy/disable/{code} | Disable Authy CoinsecureApiDocumentation.SecurityActionsApi | v1usermfaauthyinitiateenable | PUT /v1/user/mfa/authy/initiate/enable | Verify Authy Registration CoinsecureApiDocumentation.SecurityActionsApi | v1usermfaauthysms | GET /v1/mfa/authy/sms | Authy Sms Code CoinsecureApiDocumentation.SecurityActionsApi | v1usermfagadisableCode | DELETE /v1/user/mfa/ga/disable/{code} | Disable Google Authenticator CoinsecureApiDocumentation.SecurityActionsApi | v1usermfagainitiateenable | PUT /v1/user/mfa/ga/initiate/enable | Enable Google Authenticator CoinsecureApiDocumentation.SecurityActionsApi | v1userpasswordchange | POST /v1/user/password/change | Change Password. CoinsecureApiDocumentation.SecurityActionsApi | v1userpasswordreset | POST /v1/user/password/reset | Reset Password. CoinsecureApiDocumentation.WalletActionsApi | v1userwalletcoinaddressnew | PUT /v1/user/wallet/coin/address/new | New Bitcoin Address CoinsecureApiDocumentation.WalletActionsApi | v1userwalletcoinnew | PUT /v1/user/wallet/coin/new | Create New Wallet CoinsecureApiDocumentation.WalletActionsApi | v1userwalletcoinwithdrawinitiate | POST /v1/user/wallet/coin/withdraw/initiate | Initiate Bitcoin Withdrawal CoinsecureApiDocumentation.WalletActionsApi | v1userwalletcoinwithdrawsendToExchange | PUT /v1/user/wallet/coin/withdraw/sendToExchange | Send to Exchange CoinsecureApiDocumentation.WalletActionsApi | v1userwalletcoinwithdrawunverifiedcancelWithdrawID | DELETE /v1/user/wallet/coin/withdraw/unverified/cancel/{withdrawID} | Cancel Bitcoin Withdrawal CoinsecureApiDocumentation.WalletActionsApi | v1userwalletcoinwithdrawverify | PUT /v1/user/wallet/coin/withdraw/verify | Verify Bitcoin Withdrawal CoinsecureApiDocumentation.WalletActionsApi | v1walletcoinwithdrawnewVerifycode | POST /v1/wallet/coin/withdraw/newVerifycode | Gets a Verification Code CoinsecureApiDocumentation.WalletDataApi | v1userwalletcoinaddressWalletID | GET /v1/user/wallet/coin/address/{walletID} | Wallet Bitcoin Addresses CoinsecureApiDocumentation.WalletDataApi | v1userwalletcoindepositconfirmedWalletID | GET /v1/user/wallet/coin/deposit/confirmed/{walletID} | Confirmed Wallet Transactions CoinsecureApiDocumentation.WalletDataApi | v1userwalletcoindepositconfirmedall | GET /v1/user/wallet/coin/deposit/confirmed/all | Confirmed Wallet Deposit CoinsecureApiDocumentation.WalletDataApi | v1userwalletcoindepositunconfirmedWalletID | GET /v1/user/wallet/coin/deposit/unconfirmed/{walletID} | Unconfirmed Transactions in Wallet CoinsecureApiDocumentation.WalletDataApi | v1userwalletcoindepositunconfirmedall | GET /v1/user/wallet/coin/deposit/unconfirmed/all | All Unconfirmed Deposits CoinsecureApiDocumentation.WalletDataApi | v1userwalletcoinwallets | GET /v1/user/wallet/coin/wallets | Wallet Details CoinsecureApiDocumentation.WalletDataApi | v1walletwithdrawcancelled | GET /v1/wallet/coin/withdraw/cancelled | Cancelled Coin Withdrawals CoinsecureApiDocumentation.WalletDataApi | v1walletwithdrawcompleted | GET /v1/wallet/coin/withdraw/completed | Completed Coin Withdrawals CoinsecureApiDocumentation.WalletDataApi | v1walletwithdrawunverified | GET /v1/wallet/coin/withdraw/unverified | Unverified Coin Withdrawals CoinsecureApiDocumentation.WalletDataApi | v1walletwithdrawverified | GET /v1/wallet/coin/withdraw/verified | Verified Coin Withdrawals

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.