Deposit Events
Last updated
Was this helpful?
Last updated
Was this helpful?
Once the system detects a deposit, a job will call the customer's callback URL with the . The system retries this operation for one day with three minutes intervals until the customer's end responds with a successful 2xx HTTP status code (200,201,202,203,204). Our team has meticulously designed and implemented a robust architecture to ensure that our esteemed clients are promptly notified about the status of their deposits.
Every deposit event originates from one of the following IP addresses: 18.132.254.104, 18.170.187.186. The customers can assume that the callbacks originate from our system if they arrive at their end from these IP addresses.
Our system signs the deposit event object with the customer's HMAC secret and sends the signature hash with the x-payload-hash header. So the customers can check the integrity of these requests by comparing the x-payload-hash with the one they calculated upon receiving the deposit information.
objectType
STRING Customers can use this field to create their object hierarchy. All objects sent by the system will have this field. This field can consist of a single value for deposit events.
userId
STRING
The id of the user who makes the deposit.
userName
STRING
The name of the user who makes the deposit.
date
NUMBER
Epoch time of the deposit.
blockChainCurrency
STRING
The blockchain currency of the deposit. It can be BTC, LTC, USDT_TRON, DOGE, TRON, XRP, or ETH.
blockChainTxId
STRING
The blockchain transaction hash of the deposit.
blockChainAmount
NUMBER
The blockchain amount of the deposit.
convertedAmount
ARRAY OF OBJECTS The system promises a fixed rate if it detects a deposit within an existing deposit tracking session. In such a case, the system performs cryptocurrency to fiat conversion considering the session start time.
conversionTime
NUMBER The cryptocurrency to fiat conversion epoch time.
paymentStatus
OBJECT Customers can use this field to track deposit status. In some cases, users may overpay or underpay; when this happens, the payment status changes to overpaid or underpaid respectively. When the actual payment in dollars is between the minimum and maximum of the session, the payment status becomes correct. The possible values for the payment status field are Overpaid, Undepaid, or Correct.
from
STRING This parameter is the FROM address of the deposit.
to
STRING This parameter is the TO address of the deposit.
We use a distributed cloud-based queue to notify users of deposit events. To prevent duplicate messages, our system takes all necessary precautions. However, duplicate records can still occur in microservices, especially in a distributed message broker environment. The responsibility for dealing with duplicate records lies with both parties. Both our system and the customers share this responsibility. A combination of userId and blockChainTxId uniquely identifies each deposit event object. Customers can differentiate between duplicate messages by examining the values of these two fields. If multiple messages are received with the same values, it is safe to ignore the incoming duplicates.