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.
.settings
docs
gradle/wrapper
src
.classpath
.gitignore
.project
.swagger-codegen-ignore
.travis.yml
LICENSE
README.md
build.gradle
build.sbt
git_push.sh
gradle.properties
gradlew
gradlew.bat
pom.xml
settings.gradle

README.md

swagger-java-client

Requirements

Building the API client library requires Maven to be installed.

Installation

To install the API client library to your local Maven repository, simply execute:

mvn install

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

mvn deploy

Refer to the official documentation for more information.

Maven users

Add this dependency to your project's POM:

<dependency>
    <groupId>io.swagger</groupId>
    <artifactId>swagger-java-client</artifactId>
    <version>1.0.0</version>
    <scope>compile</scope>
</dependency>

Gradle users

Add this dependency to your project's build file:

compile "io.swagger:swagger-java-client:1.0.0"

Others

At first generate the JAR by executing:

mvn package

Then manually install the following JARs:

  • target/swagger-java-client-1.0.0.jar
  • target/lib/*.jar

Getting Started

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

import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AccountActionsApi;

import java.io.File;
import java.util.*;

public class AccountActionsApiExample {

    public static void main(String[] args) {
        
        AccountActionsApi apiInstance = new AccountActionsApi();
        LoginFormNew body = new LoginFormNew(); // LoginFormNew | Please send the form with valid inputs.
        String accept = "accept_example"; // String | JSON, XML or CSV can be returned (Optional)
        try {
            StandardLoginResultData result = apiInstance.v1login(body, accept);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling AccountActionsApi#v1login");
            e.printStackTrace();
        }
    }
}

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. Authentication schemes defined for the API:

Recommendation

It's recommended to create an instance of ApiClient per thread in a multithreaded environment to avoid any potential issues.

Author