Skip to main content

Deposits

A deposit is a transaction made by the user to a shift, in order to receive the equivalent amount in the coin chosen by user.

Minimum and Maximum Deposit Range

The Minimum Deposit Range has a default value of 3 USD and is being determined after incorporating the network fees. The Maximum Deposit Range is always set by SideShift.ai and varies from coin to coin.

For more detailed information to help if the amount sent is outside the deposit range, please check out:

Determining the Minimum Deposit Range

Here's how we can calculate the Minimum Deposit Range assuming the network fee is 20 USD:

Minimum Deposit = (1 / 0.2) * network fee
Minimum Deposit = (1 / 0.2) * 20
Minimum Deposit = 100

In this scenario, we compare the calculated value of 100 USD to the default minimum deposit, assuming a default minimum deposit of 3 USD, to determine the Minimum Deposit Range. The Minimum Deposit Range is the higher of these two values, which in this case is 100 USD.

Deposit status

StatusNameRemarks
waitingWaiting for depositNo deposit detected for the shift
pendingDetectedSideShift.ai's has detected the deposit and is waiting for 1 block confirmation for majority of the coins and 2 confirmations for Litecoin, Dash, Doge. The rate is locked-in
processingConfirmedThe deposit has been confirmed in the blockchain and is being processed by SideShift.ai
reviewUnder human reviewThe deposit cannot be automatically processed. After human review it can be settled or refunded.
settlingSettlement in progressSideShift.ai has created the transaction which settles the deposit and it's waiting for 1 confirmation.
settledSettlement completedSettlement transaction has received 1 block confirmation
refundQueued for refundUser is required to enter a refund address on https://sideshift.ai/orders/SHIFT_ID or via the /refund-address endpoint, unless pre-defined in one of the /shifts endpoints.
refundingRefund in progressRefund transaction created, waiting for 1 confirmation into the blockchain.
refundedRefund completedRefund transaction has received 1 block confirmation.
expiredShift expiredThe created shift has reached the end of its validity period without receiving any deposits.
multipleMultiple deposits detectedUse the deposits array in the endpoint response for data about each deposit

Handling Multiple Deposits

Fixed Shifts

Only the first valid deposit is settled. Any additional deposits that are received after the first deposit are refunded to the user.

Variable Shifts

The shift can receive and process multiple deposits individually. Deposits are not merged; each one is handled based on its own specific conditions and the prevailing market rates at the time of processing.

note

It is not desirable for users to make multiple deposits to the same shift, and integrators should avoid encouraging this behavior.

Deposits within EVM networks

For supported EVM networks, SideShift.ai uses a deposit address, which is a smart contract for tokens, for each created shift. When a balance is detected on this contract, the system performs a sweep operation. This operation sends the funds from the deposit address to SideShift.ai's main address. The sweeper transaction is then detected as a "deposit".

Occassionally, this sweeper transaction doesn't get broadcasted to the network and leads to another attempt to sweep the funds from the deposit address. In this case, another deposit will be created with pending status that will be processed, while the first deposit will remain in pending status.

Deposit Issues

Sometimes deposits will not be automatically processed for various reasons as summarized in the table below. The issue field will have a value when status is review or refund. If status is multiple and one of the deposits are in review or refund status, this deposit object will have an issue field.

IssueRemarksResolution
amount over maxUser sent over the maximum amount.Processed or refund after human review
amount under minUser sent below the minimum amount.Processed or refund after human review
refund requiredThe shift will be refunded after a refund address is providedRefund after an address is provided
incorrect amountUser sent the incorrect amount for a fixed rate shift.Processed or refund after human review
order expiredThe shift has already expired when SideShift.ai detected the depositProcessed or refund after human review
max 1 depositFixed rate shifts can have maximum one depositRefund after an address is provided
too many depositsMore than 5 deposits have been made to a variable rate shiftRefund after an address is provided
reviewShift is under human review and will be processed or refundedProcessed or refund after human review
coin unavailableEither the deposit or settle method is currently not available for shifts.Refund after human review
rate driftThe rate changed too much between the time the quote was created and the deposit was detected.Processed or refund after human review
duplicateThe deposit is a duplicate of another deposit.Refund after human review
low effective rateThe effective rate is too low as the network fees would consume too high % of the shift valueRefund after an address is provided

Deposit Rejection Rules

Below Minimum Rejection

Applies to: Variable rate shifts

Rule: Deposits below the minimum amount might be settled if the coin for settlement has low network fees. If the network fees are high (e.g., BTC), the deposit will remain rejected.

Incorrect Amount Rejection

Applies to: Fixed rate shifts

Rule: Deposits with an incorrect amount will be auto-refunded if the coin for refund has low network fees and the refund address has been set. Otherwise, the refund address will be requested. If the network fees are high, the deposit will remain rejected for review. Incorrect amount deposits with a slightly different value might be settled.