Withdrawals 2.0
Auto-withdrawals 2.0 allow you to make withdrawals from payout and collect addresses.
Opportunities:
direct withdrawal
withdrawal between networks
withdrawal with swap coins
Address selection
The most appropriate address is selected for the operation
Example of address selection:
You have several addresses
Coin | Network | Balance |
---|---|---|
USDT | tron | 100 |
USDT | ethereum | 100 |
BNB | bsc | 100 |
You want to withdraw 10 USDT tron
Direct withdrawal. The USDT tron address will be taken since you already have an address with this coin on this network, and there is enough money on it
You want to withdraw 10 BNB bsc
Direct withdrawal. The BNB bsc address will be taken since you already have an address with this coin on this network, and there is enough money on it
You want to withdraw 10 USDT bsc
Withdrawal between networks. The USDT tron address will be taken since you don't have a suitable address
You want to withdraw 1 BTC bitcoin
Withdrawal with swap coins. The USDT tron address will be taken since you don't have a suitable address
Please note
Operations withdrawal between networks and withdrawal with swap coins work only with token addresses (USDT, USDC) Addresses of native coins will be taken only for direct withdrawal
The address is taken from all PAY_OUT (payouts) and COLLECT (collecting) addresses. We are looking for an address with a balance covering the requested amount and with the lowest network fee. Priority of operations: direct withdrawal, withdrawal between networks, withdrawal with swap coins.
Commissions
During the operation, the tariff will be charged depending on the type of operation
Type of operation | Tariff |
---|---|
Direct withdrawal | Withdrawal from pay-out |
Withdrawal between networks | Blockchain bridge API |
Withdrawal with swap coins | Swap API |
Operations withdrawal between networks, withdrawal with swap coins are carried out through service provider, the network commission for sending coins to the provider is compensated by the service
The service fee for the operation is always taken from the advance balance
The network fee for the withdrawal from the provider is charged from the amount if the outgoing native coins, from the advance balance if the outgoing coin is a token
The feeInAmount
parameter
feeInAmount
parameterThis parameter allows you to specify that the network fee for sending coins from the provider to the destination address it will be taken from the amount (the user will receive an amount less than the specified amount of the network fee)
If the outgoing coin is native, and the parameter
feeInAmount=false
is specified, then the network commission will be added to the amount so that the user receives the specified amount
Description of fields
In response to the request, you will receive a body with the following fields
Name | Type | Description |
---|---|---|
|
| Operation ID |
|
| Organization ID |
|
| Type |
|
| Status |
|
| Rejection message |
|
| The risk level of the end address |
|
| ID of the outgoing address |
|
| Outgoing address |
|
| Destination address |
|
| Outgoing amount |
|
| Outgoing amount in USD |
|
| Amount after the operation |
|
| Amount after the operation in USD |
|
| The amount that will be sent to the destination address |
|
| The amount that will be sent to the destination address in USD |
|
| Swap rate |
|
| Network fee for sending to the provider |
|
| Network fee for sending to the provider in USD |
|
| The source of the network's fee charge for sending from the provider to the destination address |
|
| Network fee for sending from the provider to the destination address |
|
| Network fee for sending from the provider to the destination address in USD |
|
| Service fee for the operation |
|
| URL for sending the webhook |
|
| Hash of the transaction of sending coins to the destination address |
|
| Date of creation |
|
| Date of last update |
The type
field
Name | Description |
---|---|
| Withdrawal |
| Withdrawal between networks |
| Withdrawal with swap coin |
The status
field
Name | Description |
---|---|
| In processing |
| In process of sending to the destination address |
| Completed successfully |
| Rejected by the system |
| Processing error |
The blockchainFeeToSource
field
Name | Description |
---|---|
| Advance balance |
| Amount |
Example of the response body
Webhook
When the operation status is changed, a webhook will be sent to the specified URL
Example of a webhook body
Last updated