Create a custom earning type
POST {{baseUrl}}/v1/companies/:company_id/earning_types
Create a custom earning type.
If an inactive earning type exists with the same name, this will reactivate it instead of creating a new one.
scope: payrolls:write
Request Body
{"name"=>"<string>"}
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
| Content-Type | string | ||
| Accept | string | 
RESPONSES
status: Created
{"name":"Gym Membership Stipend","uuid":"f4dc8972-8830-4c07-b623-349a04b040d7"}