Get current fee percentage
GET/truckers/fee/
Retrieves the current applicable fee percentage for carriers.
Operation:
- Queries the latest system configuration (Settings)
- If no configuration exists, uses the default value (6%)
- Returns the value in percentage format (e.g., 6.0 = 6%)
Requirements:
- Authentication via a valid JWT
- Token with 'truckers-fee:read' scope
Usage Example:
curl -X GET https://api.demo.cargoffer.com/truckers/fee/ \
-H Authorization: Bearer {token}
Responses
- 200
- 401
- 500
Rate Information
Unauthorized. Possible causes:
- Token not provided
- Invalid or expired token
- Token missing required scopes
- Authentication failed
Internal Server Error.
This may be due to issues with:
- Database
- System configuration
- Communication with external services