Record Staff Salary Payment
Records a salary payment already made to a staff member. It records an entry and moves no money; an online payout is a different flow. Shared rules: see Writing data. Needs Payroll on your plan.
- After a timeout or failure, check
GET /payroll/paymentfor the same staff member and dates before sending again. - To correct an entry, use Update Staff Salary Payment. There is no delete through the API; delete it in the SalaryBox app.
salarybox_idis an active staff member of the company.dateis the day it was paid. It isYYYY-MM-DDand not after the staff member’s local today.monthis required,YYYY-MM: the salary being paid. It cannot be a future month. A finalised month is allowed, since salaries are usually paid after finalising.payment_modeis optional:CASH,CHEQUE,DEBIT_CARD,IMPS,NEFT,NET_BANKING,RTGSorUPI. It defaults toCASH.amountis a JSON number from 0.01 to 10000000 with up to 2 decimals.notesis optional, at max 500 characters, trimmed.- The response
dataalso hasfrom_dateandto_date, the first and last day ofmonth. - The staff member gets an SMS as well as the usual in-app notification.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
salarybox_id
SalaryBox ID of an active staff member.
date
YYYY-MM-DD. The day it was paid. Not after the staff member’s local today.
month
YYYY-MM. The salary being paid. Not a future month. A finalised month is allowed.
amount
Up to 2 decimals. Must be a JSON number.
payment_mode
Defaults to CASH.
notes
Response
The salary payment was recorded.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
