ERC20 Call Back

The ERC20 Callback is specifically designed for handling ERC20 token transactions, such as USDT. Notifications are sent only when the address times out or when a transaction reaches 12 confirmations. If the received USDT amount differs from the required amount, it will be recalculated. The address will time out after 1 hour.

Transaction Found with 12 Confirmations

{
    "statusCode": 200,
    "merchant_id": "a56e0-0a10c-73015-9f330",
    "hash": "o3OsLGIMX3KCRGO4plWNhBJqRAiLDU2/L5i+ymIlcliBVWJ/ca6OSmdTb7UAylXQgfpjXZT5ZUC6faYS2aNaQQ==",
    "data": {
        "id": "123123123123",
        "symbol": "USDT",
        "address": "0x0E595b185E323Fa5019E8D73B2F7A3D0f089b582",
        "block": 7677026,
        "txid": "0x73cedead30e3949d0867986f7049923417dd42ca32872aaece85c41703927773",
        "confirmation": 12,
        "balance": 124.6261,
        "usd_balance": 125,
        "timestamp": 1586350781,
        "risk_level": 1
    }
}

Response Parameters

Parameter Name
Type
Explanation

id

string

Order number

symbol

string

Currency type (e.g., 'USDT')

address

string

Address

block

string

Block number

txid

string

Blockchain transaction identifier

confirmation

number

Number of confirmations

balance

decimal

Amount received

usd_balance

decimal

Amount in USD

timestamp

number

Timestamp

risk_level

number

0, pending 1 low, 2 high, 3 medium, 4 severe

Address timeout

 {
    "statusCode": 10011,
    "merchant_id": "a56e0-0a10c-73015-9f330",
    "hash": "BxmwfJDRPI8QX5a1EvWU5+iyfRxKsyo9nJL+ZeCpQPHeyRLvlAq9lRGrDLslIDIK5iLh0jXVXndiHZyeL4R28A==",
    "data": {
        "address": "0xC723d774363394de659EaA70a1DE7d40A50b90C4",
        "msg": "Address timeout",
        "timestamp": 1586350652
    }
}

Last updated