POST/ create
| Route | {root}/v4/user-allowance/create | 
| Request type | BODY | 
| User level | SUPER USER | 
| Requires authentication | Yes | 
| Response type | Single | 
Parameters
| Name | Type | Nullable? | Required? | Min. | Max. | Nest | Custom | 
|---|---|---|---|---|---|---|---|
| user_id | [INT32] | REQUIRED | 0 | 2147483647 | - | - | |
| start_date | DATE | REQUIRED | - | - | |||
| opening | MINUTE(INT32) | REQUIRED | -2147483648 | 2147483647 | - | - | |
| remaining | MINUTE(INT32) | REQUIRED | -2147483648 | 2147483647 | - | - | |
| carryover_opening | MINUTE(INT32) | REQUIRED | -2147483648 | 2147483647 | - | - | |
| carryover_remaining | MINUTE(INT32) | REQUIRED | -2147483648 | 2147483647 | - | - | |
| locked | BOOLEAN | OPTIONAL | - | - | 
Sample cURL
curl --location --request POST "{{ROOT}}user-allowance/create/" \
-H "Authorization: Bearer {{BEARER_TOKEN}}" \
-H "app-id:{{APP_ID}}" \
-H "Content-Type: application/json" \
-H "Accept-Encoding: gzip" \
-H "accept: */*" \
--data '{"user_id": "123456","locked": false}'
                                    
                                Sample response
[
{
"object_name":"user_allowance_id",
"type":"Int32",
"is_nullable":false,
"nest":null,
"custom":null
"note":
}
]