Internal wallet / DONE
Instructions for creating and setting up an internal wallet
1. Adding internal currency
Create an ‘internal currency’. For example, Tether USDT Wallet (you can use any convenient name). > In the admin panel for internal currency specify a unique XML in the format "Currency_wallet", as for example, "". > In the ‘Payment Settings’ step, select "" as the payment acceptance module and the payment module.
Instructions on how to create a currency can be found below
2. Use of internal currency
After the ‘Internal wallet’ module has been set up for the currency, when you click on the internal currency block, a window will open where you can select actions, namely:
Deposit, if there is a direction Currency -> Internal currency
Withdraw, if there is a direction Internal currency -> Currency
Deposits and withdrawals by internal wallet will be displayed in admin panel -> on user's page -> section ‘General information’ -> button ‘More details’ in front of the required wallet. You can of the required deposit/withdrawal and find, by copied ID, the application on the page ‘List of exchanges’.
Successful top-ups of the user's internal wallet are displayed in the user's Personal Area -> "" section.
The history shows any deposits to the internal wallet, for example:
BTC -> Internal currency
Internal currency -> Internal currency (P2P transfer)
Please note that internal wallet top-ups are displayed in the recipient's LC only if the request status is ‘Completed’.
2.1 Top-up
To top up the internal wallet, you need to create a direction to receive the internal currency. For example, ‘USDT TRC20’ - ‘USDT Wallet’. With the help of this direction the client will be able to top up his internal balance.
Video instructions on how to create and set up a referral can be found at this link
The client can top up the internal wallet:
a) On the main page in the exchange block (if in the settings of the direction, the parameter ‘Display on the site’ is enabled). To do this, the user needs to:
When exchanging (to receive the internal currency), enter the email address of the user registered on your site (his own or another user) and successfully perform the exchange.
As soon as the exchange is successful, the user whose email address was specified during the exchange will receive funds to his/her internal balance.
b) In user's personal account -> ‘Wallet’ section -> block with required currency -> ‘Top up’.
2.2 Payment with internal wallet
You need to create a direction in which you can pay with internal currency. For example, ‘USDT Wallet’ - ‘VISA/MC USD’. Thus, the client will be able to exchange for VISA/MC USD using the internal balance.
Withdrawal / payment from the internal wallet can be made by the client:
а) On the main page in the exchange block (if the ‘Display on site’ option is enabled in the direction settings), having previously authorised in the account. To do this, the user needs to:
Select the direction ‘USDT Wallet’ - ‘VISA/MC USD’, fill in the form - agree with the rules and click ‘Start exchange’.
At the stage of payment of the application, the client will see the button ‘Pay from my wallet’. By clicking on it, the client will pay for the request from his/her internal wallet.
The funds will be deducted from the client's internal balance and the request will be paid.
b) In user's personal cabinet -> ‘Wallet’ section -> block with required currency -> ‘Withdraw’.
In case the application requires a refund to the user's balance, the administrator of the exchange service should:
Transfer the request to the status ‘Waiting for processing’.
Click on "" button.
The application will receive the status ‘Refunded’, and the funds will be credited to the balance of the user's internal currency.
2.3 P2P transfers
Create a direction Domestic currency -> Domestic currency. For example, ‘Wallet USD’ -> ‘Wallet USD’.
If the ‘Display on site’ option is enabled in the direction settings, an authorised user will be able to select this direction on the main page in the exchange block and transfer the internal currency to another user.
The user can also make a transfer to another user via LC -> ‘Wallet’ section - click on the block with the required internal currency -> ‘Withdraw’.
3. Static address for deposit
To create an internal wallet with a static address for deposit, you need to create:
Internal currency, e.g. ‘USDT Wallet’ (Instructions can be found in #1.-dobavlenie-vnutrennei-valyuty).
Gateway currency, e.g. ‘USDT TRC20_Gateway’, ‘USDT ERC20_Gateway’, etc.
Direction for depositing the internal ‘USDT wallet’ wallet
Static address for deposit is created using whitebit merchant.
On the whitebit merchant settings page, set the value ‘1’ for the field "Enable Wallet deposit cron" -> click "".
3.1 Creating a gateway currency
Please note that in order not to display ‘Gateway’ in the methods of replenishment it is necessary to specify ‘Gateway’ with a capital letter in the name of the currency-gateway.
XML of currency should be specified in the format ‘standard-xml-currencies_gateway. For example, for the gateway currency ‘USDT TRC20 Gateway’, when specifying XML, select ‘Enter your XML’ and enter "".
In the "" step, select ‘WhiteBit Exchanger’ as the payment acceptance and payout module.
Create a ‘Gateway Currency’ - ‘Domestic Currency’ direction. In our , this is ‘USDT TRC20_Gateway’ - ‘USDT Wallet’. Be sure to enable ‘Auto Exchange’.
From the address bar route_id in the format "65a4997ea88af2ddf68bf1dd". This information will come in handy in the next step.
3.2 Adding a static address for currency
Go to the ‘Internal Currency’ currency settings - ‘Payment Settings’ step - ‘INTERNAL WALLET SYSTEM (STATIC ADDRESS)’ section - click ‘Add wallet’. Next, you need to fill in the fields - click ".
а) Network - name of the network to be displayed to the user and the system. In our example, we specify TRC20.
Please note that if the currency is supported only in one network, it will be enough to specify ‘default’ value in the ‘Network’ field. In this case, the user will be immediately shown the address for deposit.
If the currency is supported in several networks, you need to specify the correct network name (e.g. ‘TRC20’, ‘ERC20’, ‘BEP20’). Several methods (networks) will be displayed for the user.
b) Merchant - you must write ‘whitebit’. For now only whitebit is available. c) RouteId - paste the route_id of the direction ‘Gateway currency’ - ‘Internal currency’ copied in the previous point. In our case, it is ‘USDT TRC20_Gateway’ - ‘USDT TRC20_wallet’.
Eventually, the static address for the deposit for the currency will be added - you need to save the currency settings.
Last updated