Indonesian Overtime Pay
Overtime pay under PP 35/2021, for a working day or a rest day.
POST /api/v1/overtime-pay- API version
- v1
- Output schema
- 1
The endpoint path is always /v1. The schema number below tracks this tool's output shape and changes independently.
Create a free account →Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
| wage | number | no | 5000000 |
| hours | number | no | 2 |
| day | workday | rest-day-6 | rest-day-6-short | rest-day-5 | no | workday |
Request
curl -X POST https://sinikoding.dev/api/v1/overtime-pay \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"wage":5000000,"hours":2,"day":"workday"}'
Returns
"output": { "kind": "table", "columns": ["…"], "rows": [["…"]] }
Calls a same-origin sandbox endpoint, not /api/v1. No key needed, capped at 15 requests a minute.
Request
curl -X POST https://sinikoding.dev/api/v1/overtime-pay \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"wage":"5000000","hours":"2","day":"workday"}'
Response
Send a request to see the response.