Подтверждение обмена
POST
https://api.crystalpay.io/v3/swap/submit/
Body
Name
Type
Description
auth_login
*
string
Логин кассы
auth_secret
*
string
Секретный ключ кассы
id
*
string
ID обмена
* - обязательные поля
Response
{
"error": false,
"errors": [],
"id": "123456789_ukwlGvUvfP",
"state": "success",
"pair_id": 1,
"amount_type": "source",
"amount": "100",
"source": {
"method": "CARDRUBP2P",
"currency": "RUB",
"amount": "100"
},
"target": {
"method": "USDTTRC",
"currency": "USDT",
"amount": "1.050058"
},
"price": "95.2328",
"created_at": "2024-01-11 11:05:11",
"expired_at": "2024-01-11 11:10:11",
"final_at": "2024-01-11 11:06:11"
}
Last updated