initiukyghv
This commit is contained in:
@@ -885,6 +885,22 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"appCommission": {
|
||||
"type": "object",
|
||||
"nullable": true,
|
||||
"description": "Наша app-комиссия 0.7% (в токене + USDT). Информативно; собирается отдельной /app-fee tx. Считается из details.currencyIn. Есть и в /relay/quote.",
|
||||
"properties": {
|
||||
"ratePercent": { "type": "number", "example": 0.7 },
|
||||
"inToken": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"symbol": { "type": "string", "nullable": true, "example": "USDT" },
|
||||
"amount": { "type": "string", "nullable": true, "example": "0.7", "description": "0.7% во входном токене" }
|
||||
}
|
||||
},
|
||||
"usd": { "type": "number", "nullable": true, "example": 0.7, "description": "та же 0.7% в USDT (≈USD)" }
|
||||
}
|
||||
},
|
||||
"rate": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
@@ -2862,7 +2878,7 @@
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Quote с steps[], fees, details, breakdown"
|
||||
"description": "Quote с steps[], fees, details, breakdown + appCommission (наша 0.7% в токене+USDT, информативно — считается из details.currencyIn)"
|
||||
},
|
||||
"502": {
|
||||
"description": "Relay upstream error (приложен upstream JSON для деталей)"
|
||||
@@ -3921,7 +3937,7 @@
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "LiFi quote + _source field (near|best)"
|
||||
"description": "LiFi quote + _source (near|best) + appCommission (наша 0.7% в токене + USDT; информативно, считается из action.fromToken/estimate.fromAmountUSD; сбор — атомарно в /bridge/execute). Пример appCommission: { ratePercent: 0.7, inToken: { symbol: \"USDT\", amount: \"0.7\" }, usd: 0.7 }"
|
||||
},
|
||||
"400": {
|
||||
"description": "Missing required params"
|
||||
|
||||
Reference in New Issue
Block a user