Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
docs
src
.gitignore
.swagger-codegen-ignore
.travis.yml
IO.Swagger.sln
LICENSE
README.md
build.bat
build.sh
git_push.sh
mono_nunit_test.sh

README.md

IO.Swagger - the C# library for the Coinsecure Api Documentation

To generate an API key, please visit https://coinsecure.in/api.
Guidelines for use can be accessed at https://api.coinsecure.in/v1/guidelines.
Programming Language Libraries for use can be accessed at https://api.coinsecure.in/v1/code-libraries.

This C# SDK is automatically generated by the Swagger Codegen project:

  • API version: beta
  • SDK version: 1.0.0
  • Build package: class io.swagger.codegen.languages.CSharpClientCodegen

Frameworks supported

  • .NET 4.0 or later
  • Windows Phone 7.1 (Mango)

Dependencies

The DLLs included in the package may not be the latest version. We recommned using [NuGet] (https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:

Install-Package RestSharp
Install-Package Newtonsoft.Json

NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742

Installation

Run the following command to generate the DLL

  • [Mac/Linux] /bin/sh build.sh
  • [Windows] build.bat

Then include the DLL (under the bin folder) in the C# project, and use the namespaces:

using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

Getting Started

using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class Example
    {
        public void main()
        {
            
            var apiInstance = new AccountActionsApi();
            var body = new LoginFormNew(); // LoginFormNew | Please send the form with valid inputs.
            var accept = accept_example;  // string | JSON, XML or CSV can be returned (Optional) (optional) 

            try
            {
                // Creates a Login Instance and returns an API Key.
                StandardLoginResultData result = apiInstance.V1login(body, accept);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AccountActionsApi.V1login: " + e.Message );
            }
        }
    }
}

Documentation for API Endpoints

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

Class Method HTTP request Description
AccountActionsApi V1login POST /v1/login Creates a Login Instance and returns an API Key.
AccountActionsApi V1logininitiate POST /v1/login/initiate Initiate Login
AccountActionsApi V1loginpasswordforgot POST /v1/login/password/forgot Sends an email with a password reset token
AccountActionsApi V1signup POST /v1/signup Creates a new Unverified Account.
AccountActionsApi V1signupverifyToken PUT /v1/signup/verify/{token} Verifies an Email token for Signup .
AccountActionsApi V1userbankotpNumber GET /v1/user/bank/otp/{number} Send OTP for Bank Link
AccountActionsApi V1userexchangekyc PUT /v1/user/exchange/kyc Submits a New Bank Link and initial KYC Documents.
AccountActionsApi V1usergcmCode DELETE /v1/user/gcm/{code} Delete GCM Code
AccountActionsApi V1userkycotpNumber GET /v1/user/kyc/otp/{number} Send OTP for KYC Link
AccountActionsApi V1userlogout DELETE /v1/user/logout Logout User
AccountActionsApi V1usernetkicreate PUT /v1/user/netki/create Create Neki Wallet Name
AccountActionsApi V1usernetkiupdate POST /v1/user/netki/update Update Netki Address
AccountActionsApi V1userprofileimagedeleteNetkiName DELETE /v1/user/profile/image/delete/{netkiName} Delete Profile Image
AccountActionsApi V1userprofileimageupdate POST /v1/user/profile/image/update Update Profile Image
AccountActionsApi V1userprofilephone PUT /v1/user/profile/phone/new New Profile Phone
AccountActionsApi V1userprofilephoneNumber DELETE /v1/user/profile/phone/delete Delete Profile Phone Number
AccountActionsApi V1userprofilephoneotpNumber GET /v1/user/profile/phone/otp/{number} Send OTP for Profile Phone
AccountDataApi V1exchangebanksummary GET /v1/user/exchange/bank/summary Exchange Bank Summary
AccountDataApi V1exchangeusercoinfee GET /v1/user/exchange/coin/fee Users Coin Fee Percentage
AccountDataApi V1exchangeuserfiatfee GET /v1/user/exchange/fiat/fee Users Fiat Fee Percentage
AccountDataApi V1netkisearchNetkiName GET /v1/netki/search/{netkiName} Coinsecure.me Netki Lookup
AccountDataApi V1userexchangekycs GET /v1/user/exchange/kycs Gets KYC Status Details
AccountDataApi V1userexchangereferralcoinpaid GET /v1/user/exchange/referral/coin/paid Users Paid Fiat Referrals
AccountDataApi V1userexchangereferralcoinsuccessful GET /v1/user/exchange/referral/coin/successful Gets Users Successful Referral Links
AccountDataApi V1userexchangereferralfiatpaid GET /v1/user/exchange/referral/fiat/paid Users Paid Fiat Referrals
AccountDataApi V1userexchangereferrals GET /v1/user/exchange/referrals Gets Users Referral Links
AccountDataApi V1userexchangetradesummary GET /v1/user/exchange/trade/summary Exchange Trade Summary
AccountDataApi V1userlogintokenToken GET /v1/user/login/token/{token} Login Token Email
AccountDataApi V1usersummary GET /v1/user/summary Exchange Bank Summary
AccountDataApi V1userwalletsummary GET /v1/user/wallet/summary Exchange Bank Summary
BlockchainToolsApi V1bitcoinsearchAddress GET /v1/bitcoin/search/{any} Search Bitcoin Blockchain
BlockchainToolsApi V1bitcoinsearchTxid GET /v1/bitcoin/search/confirmation/{txid} Get Confirmations
ExchangeBankActionsApi V1userexchangebankcoinwithdrawinitiate POST /v1/user/exchange/bank/coin/withdraw/initiate Initiate Bitcoin Withdrawal
ExchangeBankActionsApi V1userexchangebankcoinwithdrawnewVerifycode POST /v1/user/exchange/bank/coin/withdraw/newVerifycode Gets a Verification Code.
ExchangeBankActionsApi V1userexchangebankcoinwithdrawunverifiedcancelWithdrawID DELETE /v1/user/exchange/bank/coin/withdraw/unverified/cancel/{withdrawID} Cancel Bitcoin Withdrawal
ExchangeBankActionsApi V1userexchangebankcoinwithdrawverify PUT /v1/user/exchange/bank/coin/withdraw/verify Verify Bitcoin Withdrawal
ExchangeBankActionsApi V1userexchangebankfiataccountnew PUT /v1/user/exchange/bank/fiat/account/new New Bank Link
ExchangeBankActionsApi V1userexchangebankfiatdepositcancelDepositID DELETE /v1/user/exchange/bank/fiat/deposit/cancel/{depositID} Cancel Unverified Exchange Fiat Deposit
ExchangeBankActionsApi V1userexchangebankfiatdepositnew PUT /v1/user/exchange/bank/fiat/deposit/new New Exchange Fiat Deposit
ExchangeBankActionsApi V1userexchangebankfiatwithdrawinitiate POST /v1/user/exchange/bank/fiat/withdraw/initiate Initiate Fiat Withdrawal
ExchangeBankActionsApi V1userexchangebankfiatwithdrawnewVerifycode POST /v1/user/exchange/bank/fiat/withdraw/newVerifycode Gets a Fiat Verification Code.
ExchangeBankActionsApi V1userexchangebankfiatwithdrawunverifiedcancelWithdrawID DELETE /v1/user/exchange/bank/fiat/withdraw/unverified/cancel/{withdrawID} Cancel Fiat Withdrawal
ExchangeBankActionsApi V1userexchangebankfiatwithdrawverify PUT /v1/user/exchange/bank/fiat/withdraw/verify Verify Fiat Withdrawal
ExchangeBankCoinDataApi V1userexchangebankcoinaddresses GET /v1/user/exchange/bank/coin/addresses Exchange Coin Addresses
ExchangeBankCoinDataApi V1userexchangebankcoinbalanceavailable GET /v1/user/exchange/bank/coin/balance/total Available Exchange Coin Balance
ExchangeBankCoinDataApi V1userexchangebankcoinbalancepending GET /v1/user/exchange/bank/coin/balance/pending In Trade Coin Balance
ExchangeBankCoinDataApi V1userexchangebankcoinbalancetotal GET /v1/user/exchange/bank/coin/balance/available Total Exchange Coin Balance
ExchangeBankCoinDataApi V1userexchangebankcoindepositcancelled GET /v1/user/exchange/bank/coin/deposit/cancelled Cancelled Exchange Coin Deposits
ExchangeBankCoinDataApi V1userexchangebankcoindepositunverified GET /v1/user/exchange/bank/coin/deposit/unverified Unverified Exchange Coin Deposits
ExchangeBankCoinDataApi V1userexchangebankcoindepositverified GET /v1/user/exchange/bank/coin/deposit/verified Verified Exchange Coin Deposits
ExchangeBankCoinDataApi V1userexchangebankcoinwithdrawcancelled GET /v1/user/exchange/bank/coin/withdraw/cancelled Cancelled Exchange Coin Withdrawals
ExchangeBankCoinDataApi V1userexchangebankcoinwithdrawcompleted GET /v1/user/exchange/bank/coin/withdraw/completed Completed Exchange Coin Withdrawals
ExchangeBankCoinDataApi V1userexchangebankcoinwithdrawunverified GET /v1/user/exchange/bank/coin/withdraw/unverified Unverified Exchange Coin Withdrawals
ExchangeBankCoinDataApi V1userexchangebankcoinwithdrawverified GET /v1/user/exchange/bank/coin/withdraw/verified Verified Exchange Coin Withdrawals
ExchangeBankFiatDataApi V1userexchangebankfiataccounts GET /v1/user/exchange/bank/fiat/accounts Exchange Bitcoin Deposit Addresses
ExchangeBankFiatDataApi V1userexchangebankfiatbalanceavailable GET /v1/user/exchange/bank/fiat/balance/total Available Exchange Fiat Balance
ExchangeBankFiatDataApi V1userexchangebankfiatbalancepending GET /v1/user/exchange/bank/fiat/balance/pending In Trade Coin Balance
ExchangeBankFiatDataApi V1userexchangebankfiatbalancetotal GET /v1/user/exchange/bank/fiat/balance/available Total Exchange Fiat Balance
ExchangeBankFiatDataApi V1userexchangebankfiatdepositcancelled GET /v1/user/exchange/bank/fiat/deposit/cancelled Cancelled Exchange Fiat Deposits
ExchangeBankFiatDataApi V1userexchangebankfiatdepositunverified GET /v1/user/exchange/bank/fiat/deposit/unverified Unverified Exchange Fiat Deposits
ExchangeBankFiatDataApi V1userexchangebankfiatdepositverified GET /v1/user/exchange/bank/fiat/deposit/verified Verified Exchange Fiat Deposits
ExchangeBankFiatDataApi V1userexchangebankfiatwithdrawcancelled GET /v1/user/exchange/bank/fiat/withdraw/cancelled Cancelled Exchange Fiat Withdrawals
ExchangeBankFiatDataApi V1userexchangebankfiatwithdrawcompleted GET /v1/user/exchange/bank/fiat/withdraw/completed Completed Exchange Fiat Withdrawals
ExchangeBankFiatDataApi V1userexchangebankfiatwithdrawunverified GET /v1/user/exchange/bank/fiat/withdraw/unverified Unverified Exchange Fiat Withdrawals
ExchangeBankFiatDataApi V1userexchangebankfiatwithdrawverified GET /v1/user/exchange/bank/fiat/withdraw/verified Verified Exchange Fiat Withdrawals
ExchangeTradeActionsApi V1userexchangeaskcancelOrderID DELETE /v1/user/exchange/ask/cancel/{orderID} Cancel Open Sell Order
ExchangeTradeActionsApi V1userexchangeasknew PUT /v1/user/exchange/ask/new BTC Sell Order
ExchangeTradeActionsApi V1userexchangebidcancelOrderID DELETE /v1/user/exchange/bid/cancel/{orderID} Cancel Open Buy Order
ExchangeTradeActionsApi V1userexchangebidnew PUT /v1/user/exchange/bid/new BTC Buy Order
ExchangeTradeActionsApi V1userexchangeinstantbuy PUT /v1/user/exchange/instant/buy Instantly Buy BTC
ExchangeTradeActionsApi V1userexchangeinstantsell PUT /v1/user/exchange/instant/sell Instantly Sell BTC
ExchangeTradeDataApi V1exchangeasklow GET /v1/exchange/ask/low Lowest Ask
ExchangeTradeDataApi V1exchangeaskorders GET /v1/exchange/ask/orders All Sell Orders
ExchangeTradeDataApi V1exchangebidhigh GET /v1/exchange/bid/high Returns the Highest Bid in the Order Book
ExchangeTradeDataApi V1exchangebidorders GET /v1/exchange/bid/orders All Buy Orders
ExchangeTradeDataApi V1exchangelastTrade GET /v1/exchange/lastTrade Last Trade
ExchangeTradeDataApi V1exchangemax24Hr GET /v1/exchange/max24Hr Max 24 Hour Rate
ExchangeTradeDataApi V1exchangemin24Hr GET /v1/exchange/min24Hr Min 24 Hour Rate
ExchangeTradeDataApi V1exchangeticker GET /v1/exchange/ticker Exchange Ticker
ExchangeTradeDataApi V1userexchangeaskcancelled GET /v1/user/exchange/ask/cancelled Cancelled User Sell Orders
ExchangeTradeDataApi V1userexchangeaskcompleted GET /v1/user/exchange/ask/completed Completed User Sell Orders
ExchangeTradeDataApi V1userexchangeaskpending GET /v1/user/exchange/ask/pending Pending User Sell Orders
ExchangeTradeDataApi V1userexchangebidcancelled GET /v1/user/exchange/bid/cancelled Cancelled User Buy Orders
ExchangeTradeDataApi V1userexchangebidcompleted GET /v1/user/exchange/bid/completed Completed User Buy Orders
ExchangeTradeDataApi V1userexchangebidpending GET /v1/user/exchange/bid/pending Pending User Buy Orders
ExchangeTradeDataApi V1userexchangetrades GET /v1/exchange/trades Completed Exchange Trades
SecurityActionsApi V1mfaauthyinitiate POST /v1/mfa/authy/initiate Initiate Authy Registration.
SecurityActionsApi V1mfagainitiate POST /v1/mfa/ga/initiate Initiate GA Registration.
SecurityActionsApi V1usermfaauthycall GET /v1/mfa/authy/call Authy Call Code
SecurityActionsApi V1usermfaauthydisableCode DELETE /v1/user/mfa/authy/disable/{code} Disable Authy
SecurityActionsApi V1usermfaauthyinitiateenable PUT /v1/user/mfa/authy/initiate/enable Verify Authy Registration
SecurityActionsApi V1usermfaauthysms GET /v1/mfa/authy/sms Authy Sms Code
SecurityActionsApi V1usermfagadisableCode DELETE /v1/user/mfa/ga/disable/{code} Disable Google Authenticator
SecurityActionsApi V1usermfagainitiateenable PUT /v1/user/mfa/ga/initiate/enable Enable Google Authenticator
SecurityActionsApi V1userpasswordchange POST /v1/user/password/change Change Password.
SecurityActionsApi V1userpasswordreset POST /v1/user/password/reset Reset Password.
WalletActionsApi V1userwalletcoinaddressnew PUT /v1/user/wallet/coin/address/new New Bitcoin Address
WalletActionsApi V1userwalletcoinnew PUT /v1/user/wallet/coin/new Create New Wallet
WalletActionsApi V1userwalletcoinwithdrawinitiate POST /v1/user/wallet/coin/withdraw/initiate Initiate Bitcoin Withdrawal
WalletActionsApi V1userwalletcoinwithdrawsendToExchange PUT /v1/user/wallet/coin/withdraw/sendToExchange Send to Exchange
WalletActionsApi V1userwalletcoinwithdrawunverifiedcancelWithdrawID DELETE /v1/user/wallet/coin/withdraw/unverified/cancel/{withdrawID} Cancel Bitcoin Withdrawal
WalletActionsApi V1userwalletcoinwithdrawverify PUT /v1/user/wallet/coin/withdraw/verify Verify Bitcoin Withdrawal
WalletActionsApi V1walletcoinwithdrawnewVerifycode POST /v1/wallet/coin/withdraw/newVerifycode Gets a Verification Code
WalletDataApi V1userwalletcoinaddressWalletID GET /v1/user/wallet/coin/address/{walletID} Wallet Bitcoin Addresses
WalletDataApi V1userwalletcoindepositconfirmedWalletID GET /v1/user/wallet/coin/deposit/confirmed/{walletID} Confirmed Wallet Transactions
WalletDataApi V1userwalletcoindepositconfirmedall GET /v1/user/wallet/coin/deposit/confirmed/all Confirmed Wallet Deposit
WalletDataApi V1userwalletcoindepositunconfirmedWalletID GET /v1/user/wallet/coin/deposit/unconfirmed/{walletID} Unconfirmed Transactions in Wallet
WalletDataApi V1userwalletcoindepositunconfirmedall GET /v1/user/wallet/coin/deposit/unconfirmed/all All Unconfirmed Deposits
WalletDataApi V1userwalletcoinwallets GET /v1/user/wallet/coin/wallets Wallet Details
WalletDataApi V1walletwithdrawcancelled GET /v1/wallet/coin/withdraw/cancelled Cancelled Coin Withdrawals
WalletDataApi V1walletwithdrawcompleted GET /v1/wallet/coin/withdraw/completed Completed Coin Withdrawals
WalletDataApi V1walletwithdrawunverified GET /v1/wallet/coin/withdraw/unverified Unverified Coin Withdrawals
WalletDataApi V1walletwithdrawverified GET /v1/wallet/coin/withdraw/verified Verified Coin Withdrawals

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.