Update fee range
Update an existing fee range. Every field is replaced by what the body carries, so a field the body omits is cleared — read the range first and send back the values that are to stay, `sender_share_percent` included.
Authorization
bearerAuth In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PUT "https://example.com/v1/tariffs/ranges/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"tariff_id": "d82b8db6-f412-4b9c-8c5e-6a0221035c86",
"range_start": 0,
"range_end": 0,
"fixed_fee": 0,
"percent_fee": 0,
"method": "fixed",
"min_fee": 0,
"max_fee": 0,
"sender_share_percent": "50",
"media": "string",
"asset": "string",
"from_channel": "string",
"to_channel": "string",
"transaction_type": "string",
"valid_from": "2019-08-24T14:15:22Z",
"valid_to": "2019-08-24T14:15:22Z",
"active": true
}