# Manager preset fees

## Returns the list of preset fees of the manager.

> The preset fees are sorted by creation date, with the most recent preset fee appearing first.\<br /> Only the preset fees of the associated manager are returned.\
>

OpenAPI:

```json
{"openapi":"3.1.0","info":{"title":"Rialto Manager API","version":"1.0.0"},"servers":[{"url":"https://api.rialtobridge.xyz/api/manager/v1","description":"Main (production) server for the Rialto Manager API"},{"url":"https://staging.api.rialtobridge.xyz/api/manager/v1","description":"Test (staging) server for the Rialto Manager API"},{"url":"http://localhost:3002/api/manager/v1","description":"Development server for the Rialto Manager API"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"type":"apiKey","name":"RIALTO_API_KEY","in":"header"}}},"paths":{"/preset-fees":{"get":{"summary":"Returns the list of preset fees of the manager.","description":"The preset fees are sorted by creation date, with the most recent preset fee appearing first.<br /> Only the preset fees of the associated manager are returned.\n","operationId":"getManagerPresetFees","tags":["Manager preset fees"],"responses":{"200":{"description":"A JSON array of preset fees.","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier of the preset fee."},"feeDirection":{"type":"string","description":"The type of the fee. Possible values are:\n  - OFFRAMP: The fee only concerns off-ramping of blockchain asset to fiat currency,\n  - ONRAMP: The fee only concerns on-ramping of fiat currency to blockchain asset.\n  - ONOFFRAMP: The fee concerns both on-ramping and off-ramping.\n","enum":["OFFRAMP","ONRAMP","ONOFFRAMP"]},"fiatFeeGroup":{"type":"string","description":"The fiat fee group of the preset fee. See [the list of supported](https://docs.rialtobridge.xyz/concepts) fiat fee groups."},"blockchainFeeGroup":{"type":"string","description":"The blockchain fee group of the preset fee. See [the list of supported](https://docs.rialtobridge.xyz/concepts) blockchain fee groups."},"configuration":{"type":"object","description":"The configuration of the preset fee.","oneOf":[{"type":"object","description":"The same fee is applied to all transactions.","properties":{"type":{"type":"string","enum":["FLAT"]},"fee":{"type":"number","format":"uint32","description":"The fee in BPS (basis points) applied to any transaction for this path.<br />. The value is always positive.\n"},"fixedFee":{"type":"object","additionalProperties":{"type":"string"},"description":"A fixed fee amount denominated in origin currency applied to any transaction for this path.<br />. The property is an object for which keys are currencies or assets, and values are the applied fixed fee.<br />. Fixed fees are always positive.\n"}}},{"type":"object","description":"The fee is computed based on the monthly volume of the transactions for this path. The reference date is using the UTC timezone.","properties":{"type":{"type":"string","enum":["MONTHLY_VOLUME"]},"fixedFee":{"type":"object","additionalProperties":{"type":"string"},"description":"A fixed fee amount denominated in origin currency applied to any transaction for this path.<br />. The property is an object for which keys are currencies or assets, and values are the applied fixed fee.<br />. Fixed fees are always positive.\n"},"intermediaryLimits":{"type":"array","items":{"type":"object","properties":{"to":{"type":"number","format":"float","description":"The upper limit for this range of monthly volume.<br /> The value is always positive. Only two decimal places are allowed.\n"},"fee":{"type":"number","format":"uint32","description":"The fee in BPS (basis points) applied in this range.<br /> The value is always positive.\n"}}}},"upperLimitFee":{"type":"number","format":"uint32","description":"The fee in BPS (basis points) applied to any transaction for this path above the last range.<br /> The value is always positive.\n"}}},{"type":"object","description":"The fee is computed based on the daily volume of the transactions for this path. The reference date is using the UTC timezone.","properties":{"type":{"type":"string","enum":["DAILY_VOLUME"]},"intermediaryLimits":{"type":"array","items":{"type":"object","properties":{"to":{"type":"number","format":"float","description":"The upper limit for this range of monthly volume.<br /> The value is always positive. Only two decimal places are allowed.\n"},"fee":{"type":"number","format":"uint32","description":"The fee in BPS (basis points) applied in this range.<br /> The value is always positive.\n"}}}},"upperLimitFee":{"type":"number","format":"uint32","description":"The fee in BPS (basis points) applied to any transaction for this path above the last range.<br /> The value is always positive.\n"}}}]},"createdAt":{"type":"string","format":"date-time","description":"The creation date of the preset fee."}}}}}}},"401":{"description":"Invalid API key"},"500":{"description":"An unexpected error occurred."}}}}}}
```

## Returns a preset fee of the manager by ID.

> Returns a preset fee by its unique identifier.\<br /> Only match a preset fee of the manager.\
>

OpenAPI:

```json
{"openapi":"3.1.0","info":{"title":"Rialto Manager API","version":"1.0.0"},"servers":[{"url":"https://api.rialtobridge.xyz/api/manager/v1","description":"Main (production) server for the Rialto Manager API"},{"url":"https://staging.api.rialtobridge.xyz/api/manager/v1","description":"Test (staging) server for the Rialto Manager API"},{"url":"http://localhost:3002/api/manager/v1","description":"Development server for the Rialto Manager API"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"type":"apiKey","name":"RIALTO_API_KEY","in":"header"}}},"paths":{"/preset-fees/{presetFeeId}":{"get":{"summary":"Returns a preset fee of the manager by ID.","description":"Returns a preset fee by its unique identifier.<br /> Only match a preset fee of the manager.\n","operationId":"getManagerPresetFeeById","parameters":[{"name":"presetFeeId","in":"path","required":true,"description":"The unique identifier of the preset fee.","schema":{"type":"string","format":"uuid"}}],"tags":["Manager preset fees"],"responses":{"200":{"description":"A preset fee.","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier of the preset fee."},"feeDirection":{"type":"string","description":"The type of the fee. Possible values are:\n  - OFFRAMP: The fee only concerns off-ramping of blockchain asset to fiat currency,\n  - ONRAMP: The fee only concerns on-ramping of fiat currency to blockchain asset.\n  - ONOFFRAMP: The fee concerns both on-ramping and off-ramping.\n","enum":["OFFRAMP","ONRAMP","ONOFFRAMP"]},"fiatFeeGroup":{"type":"string","description":"The fiat fee group of the preset fee. See [the list of supported](https://docs.rialtobridge.xyz/concepts) fiat fee groups."},"blockchainFeeGroup":{"type":"string","description":"The blockchain fee group of the preset fee. See [the list of supported](https://docs.rialtobridge.xyz/concepts) blockchain fee groups."},"configuration":{"type":"object","description":"The configuration of the preset fee.","oneOf":[{"type":"object","description":"The same fee is applied to all transactions.","properties":{"type":{"type":"string","enum":["FLAT"]},"fee":{"type":"number","format":"uint32","description":"The fee in BPS (basis points) applied to any transaction for this path.<br />. The value is always positive.\n"},"fixedFee":{"type":"object","additionalProperties":{"type":"string"},"description":"A fixed fee amount denominated in origin currency applied to any transaction for this path.<br />. The property is an object for which keys are currencies or assets, and values are the applied fixed fee.<br />. Fixed fees are always positive.\n"}}},{"type":"object","description":"The fee is computed based on the monthly volume of the transactions for this path. The reference date is using the UTC timezone.","properties":{"type":{"type":"string","enum":["MONTHLY_VOLUME"]},"fixedFee":{"type":"object","additionalProperties":{"type":"string"},"description":"A fixed fee amount denominated in origin currency applied to any transaction for this path.<br />. The property is an object for which keys are currencies or assets, and values are the applied fixed fee.<br />. Fixed fees are always positive.\n"},"intermediaryLimits":{"type":"array","items":{"type":"object","properties":{"to":{"type":"number","format":"float","description":"The upper limit for this range of monthly volume.<br /> The value is always positive. Only two decimal places are allowed.\n"},"fee":{"type":"number","format":"uint32","description":"The fee in BPS (basis points) applied in this range.<br /> The value is always positive.\n"}}}},"upperLimitFee":{"type":"number","format":"uint32","description":"The fee in BPS (basis points) applied to any transaction for this path above the last range.<br /> The value is always positive.\n"}}},{"type":"object","description":"The fee is computed based on the daily volume of the transactions for this path. The reference date is using the UTC timezone.","properties":{"type":{"type":"string","enum":["DAILY_VOLUME"]},"intermediaryLimits":{"type":"array","items":{"type":"object","properties":{"to":{"type":"number","format":"float","description":"The upper limit for this range of monthly volume.<br /> The value is always positive. Only two decimal places are allowed.\n"},"fee":{"type":"number","format":"uint32","description":"The fee in BPS (basis points) applied in this range.<br /> The value is always positive.\n"}}}},"upperLimitFee":{"type":"number","format":"uint32","description":"The fee in BPS (basis points) applied to any transaction for this path above the last range.<br /> The value is always positive.\n"}}}]},"createdAt":{"type":"string","format":"date-time","description":"The creation date of the preset fee."}}}}}},"401":{"description":"Invalid API key"},"404":{"description":"Preset fee not found."},"500":{"description":"An unexpected error occurred."}}}}}}
```
