API's used in the Android App

Post Reply
rajbitexchange
Posts: 103
Joined: Tue Apr 03, 2018 2:45 pm

API's used in the Android App

Post by rajbitexchange »

Note: This post speaks only about the Android App built for the BitWallet (Node JS) script. Not the Exchange Script.
imukesh14
Posts: 9
Joined: Wed Apr 18, 2018 3:04 pm

Re: API's used in the Android App

Post by imukesh14 »

BASEURL = "http://happinessdaily.club/api/users/";
This is the base url.


LOGIN = BASEURL + "login/";
This api is used for login.

Params are..
email
password


WALLET_INFO = BASEURL + "currencyWallet/getCurrencyLookup";
This api is used for getting fiat balance and crypto balance.

Header...
Authorization: access_token


SEND_CRYPTO = BASEURL + "transact/";
This api used for sending crpto to other crypto user.

Header...
Authorization: access_token

params...
address
amount
coin_type


TRANSACTIONS = BASEURL + "transactions/";
This api is used for getting sent or received transaction.

Header...
Authorization: access_token


DEPOSIT_AMOUNT = BASEURL + "currencyWallet/depositAmount/";
This api is for depositing amount to wallet using credit card.

Header...
Authorization: access_token

params...
amount
token


WITHDRAW_AMOUNT = BASEURL + "currencyWallet/withdrawAmount/";
This api is used for withdrawing money from the wallet.

Header...
Authorization: access_token

params...
amount


SELL_CRYPTO = BASEURL + "currencyWallet/sellCrypto/";
This api is used for selling crypto currency.

Header...
Authorization: access_token

params...
amount
coin


BUY_CRYPTO = BASEURL + "currencyWallet/buyCrypto/";
This api is used for buying crypto currency.

Header...
Authorization: access_token

params...
amount
coin


FIAT_TRANSACTIONS = BASEURL + "currencyWallet/getTransactions/";
This api is used for deposit and withdrawl transactions.

Header...
Authorization: access_token
Post Reply

Return to “BitWallet Android App Installation help”