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.
2. Use of internal currency
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.
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
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 ".
Eventually, the static address for the deposit for the currency will be added - you need to save the currency settings.
Last updated