CorebanqCorebanq Developer Docs
Tariffsv1Fee Ranges

Create fee range

Create a new fee range

POST/v1/tariffs/ranges

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/tariffs/ranges" \  -H "Content-Type: application/json" \  -d '{    "tariff_id": "d82b8db6-f412-4b9c-8c5e-6a0221035c86",    "range_start": 0,    "range_end": 0,    "method": "fixed"  }'
{
  "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,
  "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
}