Get Transaction By externalReference
Request URL:
/v1/transaction/by-reference
Method:
POST
Supported Symbol
TRON
Parameter:
Parameter name
Required
Type
Explain
merchant_id
Yes
string
hash
Yes
string
data
Yes
object
—symbol
Yes
string
tron
—timestamp
Yes
number
—externalReference
No
string
a-z, 0-9, length 12-18
Request example
{
"merchant_id": "9cc5c-d243a-9f952-66b92",
"hash": "sm2uliyCbmCP0ISZw/Cm41qO3jbww7VdoH27MLWfrcDHY7IfiEPIC72VCovIlEfmeQAI3wFrKoZiflbCJKpFOA==",
"data": {
"symbol": "tron",
"timestamp": 1582886573,
"externalReference" : "dfdaj281812222"
}
}
Return example
{
"statusCode": 200,
"data": [{
"symbol": "usdt",
"address": "TEAKZq78tzkwFkD4AvcHyGWSnDEAMVZqjw",
"block": 43239477,
"txid": "13227bba77bf8b525f002ec4ba5e74f7d4cf8145744eddff370f80c2d6eb5fd5",
"balance": "2",
"usd_balance": "2.0006"
}]
}
Last updated