ML
Оценка прибыли банка
Internal. Проксируется backend → ml:8005/ml/profit. profit = predicted_GMV × interchange_rate − min(cashback, budget).
post/api/v1/ml/profit
Request
- Base URL: http://158.160.83.199:8000
- URL: http://158.160.83.199:8000/api/v1/ml/profit
- Auth: HTTP bearer
Request body
Example request
{
"categories": [
{
"rate_range": {
"min_permille": 50,
"max_permille": 50
},
"remaining_kopeks": 123450
}
],
"budgets": {
"global_remaining_kopeks": 123450
},
"interchange_rate": 0.015
}Response
Прибыль
Example response
{
"profit_rub": 42.5
}Changes
No recorded changes to this operation across all 1 revision of this API.