The Change API
Данные заявки
Получение данных конкретной заявки
get
https://api.thechange.ltd/orders/{id}
Заголовки
Поле | Тип | Описание |
---|---|---|
X-API-KEY | String | Ваш ключ API |
Параметры пути
Field | Type | Description |
---|---|---|
id | String | Order id |
Успешный ответ
HTTP/1.1 200 OK
{
"id": "S0Rr3fV3aWEv",
"send": "BTC",
"receive": "ETH",
"sendNetwork": "BTC",
"receiveNetwork": "ETH",
"sendAmount": "0.15",
"receiveAmount": "4.0506936",
"estimatedSendAmount": "0.15",
"estimatedReceiveAmount": "4.0506936",
"sendAddress": "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
"sendTag": null,
"receiveAddress": "0x0000000000000000000000000000000000000000",
"receiveTag": null,
"status": "Awaiting Deposit",
"hashIn": null,
"hashOut": null,
"networkFee": "0",
"earned": "0",
"createdAt": 1643036313520,
"updatedAt": 1643036313520
}