getInfo

Returns all information about transaction

GET

/trades/getInfo


Headers

Name

Value

Content-Type

application/json

Y_API_KEY

Public API Key

Signature

HMAC SHA256 of Body


Body

Name

Type

Description

uniq_id

string

Unique id of trade


Response


Partner commission

The commission for a completed trade (status 3) is calculated in the background and appears within a few minutes after the exchange is finished. Until the calculation is done, commission_amount is 0 — rely on commission_calculated. Both fields are returned only for status 3.

Name

Type

Description

commission_calculated

boolean

Whether the commission calculation is finished. false — the commission is still being calculated and commission_amount is not meaningful yet; true — the calculation is done and the value is final.

commission_amount

number

Partner commission in USDT credited to the balance. Meaningful only when commission_calculated is true.


Payout address

If needChangeAddress is true, the payout address was rejected and the trade is waiting for a new one — send it with changeAddress.


Example