SmartGare
API referenceEndpoints

Declare a fee kind

Adds a station-specific fee kind without requiring a product release. **Required permission:** `referential.fee-kind:write`

POST/referential/v1/fee-kinds

Adds a station-specific fee kind without requiring a product release.

Required permission: referential.fee-kind:write

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*DeclareFeeKindRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/referential/v1/fee-kinds" \  -H "Content-Type: application/json" \  -d '{    "code": "string",    "label": "string",    "station_id": "string"  }'
{  "code": "string",  "created_at": "2019-08-24T14:15:22Z",  "id": "string",  "label": "string",  "retired_at": "2019-08-24T14:15:22Z",  "retired_by": "string",  "station_id": "string",  "status": "ACTIVE",  "updated_at": "2019-08-24T14:15:22Z"}