Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
employeeId
string<uuid>
required
month
integer
required
Required range: 1 <= x <= 12
year
integer | null
required
grossPay
number | null
default:0
deductions
number | null
default:0
netPay
number | null
default:0
currency
string
default:USD
status
enum<string>
default:pending
Available options:
pending,
processed,
paid,
cancelled
paidAt
string
notes
string

Response

201 - application/json

Success

data
object
required